Comments (5)
For now, I would prefer to maintain Python 3.5 compatibility. I do understand that it's officially end of life, but there will still be groups using it because of inertia. I'd like to maintain the compatibility until there's a true need to drop it (e.g., if it were a prerequisite for supporting a newer Python version).
from dunamai.
Actually, #29 just got rid of the dependency in a different way, although there's still a minor issue with it that needs to be investigated before I can make a new release with it.
from dunamai.
Just a quick note that the latest versions of pytest
and mypy
only support py36+. flake8
v4 released this week has also dropped support for python < 3.6.
I ran a quick query on the pypi public dataset https://packaging.python.org/guides/analyzing-pypi-package-downloads/ for dunamai showing downloads over the last 3 months, keeping in mind that the data is not 100% accurate as stated on that packaging webpage.
#standardSQL
SELECT
REGEXP_EXTRACT(details.python, r"[0-9]+\.[0-9]+") AS python_version,
COUNT(*) AS num_downloads,
FROM `bigquery-public-data.pypi.file_downloads`
WHERE
file.project = 'dunamai'
-- Only query the last 3 months of history
AND DATE(timestamp)
BETWEEN DATE_TRUNC(DATE_SUB(CURRENT_DATE(), INTERVAL 3 MONTH), MONTH)
AND CURRENT_DATE()
GROUP BY `python_version`
ORDER BY `num_downloads` DESC
[
{
"python_version": "3.7",
"num_downloads": "160579"
},
{
"python_version": "3.8",
"num_downloads": "105883"
},
{
"python_version": null,
"num_downloads": "49834"
},
{
"python_version": "3.9",
"num_downloads": "30326"
},
{
"python_version": "3.6",
"num_downloads": "4329"
},
{
"python_version": "3.10",
"num_downloads": "1099"
},
{
"python_version": "3.5",
"num_downloads": "214"
},
{
"python_version": "2.7",
"num_downloads": "4"
}
]
and also for the last 30 days
#standardSQL
SELECT
REGEXP_EXTRACT(details.python, r"[0-9]+\.[0-9]+") AS python_version,
COUNT(*) AS num_downloads,
FROM `bigquery-public-data.pypi.file_downloads`
WHERE
file.project = 'dunamai'
-- Only query the last 3 months of history
AND DATE(timestamp)
BETWEEN DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY)
AND CURRENT_DATE()
GROUP BY `python_version`
ORDER BY `num_downloads` DESC
[
{
"python_version": "3.7",
"num_downloads": "37582"
},
{
"python_version": "3.8",
"num_downloads": "33851"
},
{
"python_version": null,
"num_downloads": "16848"
},
{
"python_version": "3.9",
"num_downloads": "10832"
},
{
"python_version": "3.10",
"num_downloads": "1081"
},
{
"python_version": "3.6",
"num_downloads": "1063"
},
{
"python_version": "3.5",
"num_downloads": "101"
}
]
I'm not surprised to see the py36 usage declining too as it will reach EOL in December 2021. It would appear that dunamai is still used on py35, even if only a very small amount.
from dunamai.
No worries. I guess I’ll live with the setuptools dependency for now.
from dunamai.
Ahhh I see. I didn’t think to check older package versions for 3.5 compatibility.
from dunamai.
Related Issues (20)
- Could not properly parse with Version.parse HOT 9
- Possibly misleading vcs check message for git HOT 1
- Style is overwritten which causes validation of format regardless if user passed parameter HOT 15
- 1.16.0: pytest needs `setuptools` HOT 9
- dunamai.Version.from_git() fails if 'v' prefix not set HOT 4
- sdist is missing tests HOT 1
- Wrong version being reported HOT 9
- Bump fails for lazy clone (GitLab CI/CD) with `tag-branch = "master"` HOT 2
- dunamai 1.18.0 silently does not produce version with `--strict` in CI HOT 2
- Git version detection fails if `log.excludeDecoration = refs/tags` set in git config HOT 2
- Support getting versions from VCS at a specified directory HOT 2
- Visual Studio Code Workspace Settings file is missing ending `}` HOT 1
- calver versioning HOT 1
- Remove python dependency upper bound HOT 1
- `test__version__from_fossil` fails without home HOT 6
- bump behavior different in command line and python API HOT 4
- "RuntimeError: Unable to detect version control system" HOT 3
- Add option for detecting only changed files as dirty HOT 1
- Confusing behavior (bug?) v0.0.0 fallback code does not work if there are *any* tags in the repo HOT 1
- Inconsistent distance for non-matching tags HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dunamai.