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

Drop support for end-of-life Pythons #164

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

Drop support for end-of-life Pythons #164

wants to merge 1 commit into from

Conversation

jdufresne
Copy link

Python 2.6 and 3.3 are end-of-life. They are no longer receiving bug fixes, including for security issues. Python 2.6 went EOL on 2013-10-29 and Python 3.3 on 2017-09-29. For additional details on supported Python versions, see:

Active branches: https://devguide.python.org/#status-of-python-branches
End-of-life branches: https://devguide.python.org/devcycle/#end-of-life-branches

Removing support for EOL Pythons will reduce testing and maintenance resources. For example, can begin moving towards a unified Python 2/3 version of pyinotify, reducing massive duplication.

Using pypinfo, here are the download statistic for the last 30 days, showing very low numbers for EOL Pythons.

$ pypinfo --percent --markdown pyinotify pyversion
python_version percent download_count
2.7 64.70% 190,361
3.5 28.04% 82,493
3.6 4.68% 13,763
3.4 1.69% 4,973
3.7 0.56% 1,633
2.6 0.27% 790
3.3 0.07% 202
None 0.00% 3
Total 294,218

Changes:

  • Can assume functools.reduce always exists
  • Can assume ctypes always exists
  • Can assume glob.iglob always exists
  • Use modern exception handling format (more forward compatible)
  • Can use context managers
  • Can use octal literal syntax

Python 2.6 and 3.3 are end-of-life. They are no longer receiving bug
fixes, including for security issues. Python 2.6 went EOL on 2013-10-29
and Python 3.3 on 2017-09-29. For additional details on supported Python
versions, see:

Active branches: https://devguide.python.org/#status-of-python-branches
End-of-life branches: https://devguide.python.org/devcycle/#end-of-life-branches

Removing support for EOL Pythons will reduce testing and maintenance
resources. For example, can begin moving towards a unified Python 2/3
version of pyinotify, reducing massive duplication.

Using pypinfo, here are the download statistic for the last 30 days,
showing very low numbers for EOL Pythons.

$ pypinfo --percent --markdown pyinotify pyversion

| python_version | percent | download_count |
| -------------- | ------: | -------------: |
| 2.7            |  64.70% |        190,361 |
| 3.5            |  28.04% |         82,493 |
| 3.6            |   4.68% |         13,763 |
| 3.4            |   1.69% |          4,973 |
| 3.7            |   0.56% |          1,633 |
| 2.6            |   0.27% |            790 |
| 3.3            |   0.07% |            202 |
| None           |   0.00% |              3 |
| Total          |         |        294,218 |

Changes:

- Can assume functools.reduce always exists
- Can assume ctypes always exists
- Can assume glob.iglob always exists
- Use modern exception handling format (more forward compatible)
- Can use context managers
- Can use octal literal syntax
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.

1 participant