Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for end-of-life Python versions #200

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

waldyrious
Copy link
Contributor

This is a re-sumbission of #194, which was closed due to the author deleting the fork.

The following version of Python are EOL. They are no longer receiving
bug fixes including for security issues. The following table at the
following link shows branch status with dates:
https://devguide.python.org/devcycle/#end-of-life-branches

By removing EOL Pythons, the code can take advantage of new features and
syntax. Such straightforward fixes have been applied using the tool
pyupgrade:
https://github.com/asottile/pyupgrade

Adopting new syntax will also allow for additional future improvements
such as adding type annotations.

Using pypinfo, we can see that that there are no Python 2 users through
PyPI:

python_version percent download_count
3.10 30.43% 7
3.8 26.09% 6
3.6 21.74% 5
3.9 17.39% 4
3.7 4.35% 1
Total 23

The following version of Python are EOL. They are no longer receiving
bug fixes including for security issues. The following table at the
following link shows branch status with dates:
https://devguide.python.org/devcycle/#end-of-life-branches

By removing EOL Pythons, the code can take advantage of new features and
syntax. Such straightforward fixes have been applied using the tool
pyupgrade:
https://github.com/asottile/pyupgrade

Adopting new syntax will also allow for additional future improvements
such as adding type annotations.

Using pypinfo, we can see that that there are no Python 2 users through
PyPI:

| python_version | percent | download_count |
| -------------- | ------: | -------------: |
| 3.10           |  30.43% |              7 |
| 3.8            |  26.09% |              6 |
| 3.6            |  21.74% |              5 |
| 3.9            |  17.39% |              4 |
| 3.7            |   4.35% |              1 |
| Total          |         |             23 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants