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 Python 2.6 and 3.0-3.4 #33

Merged
merged 5 commits into from
Feb 16, 2020
Merged

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Dec 4, 2018

Python 2.6 and 3.0-3.2 are EOL and no longer receiving security updates (or any updates) from the core Python team.

Version Release date Supported until
2.6 2008-10-01 2013-10-29
3.0 2008-12-03 2009-06-27
3.1 2009-06-27 2012-04-09
3.2 2011-02-20 2016-02-27

Source: https://en.wikipedia.org/wiki/CPython#Version_history

They're also little used. Here's the pip installs for humanfriendly from PyPI for November 2018:

category percent downloads
3.6 71.82% 794,039
2.7 14.47% 159,943
3.5 10.15% 112,226
3.7 2.25% 24,878
3.4 0.98% 10,820
null 0.20% 2,223
2.6 0.13% 1,410
3.3 0.01% 74
3.8 0.00% 3
Total 1,105,616

Source: pypistats python_minor --last-month humanfriendly

This also fixes some Flake8 errors, upgrades Python syntax with pyupgrade, and adds python_requires to help pip install the relevant package for the running Python.

@coveralls
Copy link

coveralls commented Dec 4, 2018

Coverage Status

Coverage increased (+0.1%) to 95.111% when pulling 3030450 on hugovk:rm-eol into 03d1db4 on xolox:master.

@hugovk hugovk mentioned this pull request Feb 2, 2019
@and-semakin
Copy link

Should be merged 👍

@hugovk hugovk changed the title Drop support for Python 2.6 and 3.0-3.2 Drop support for Python 2.6 and 3.0-3.4 Jul 4, 2019
@hugovk
Copy link
Contributor Author

hugovk commented Jul 4, 2019

Updated to drop support for Python 3.4, EOL since 2019-03-16.

Here's the pip installs for June 2019:

category percent downloads
3.6 36.64% 344,300
3.7 32.63% 306,597
2.7 22.07% 207,388
3.5 7.71% 72,425
3.4 0.48% 4,470
null 0.41% 3,825
2.6 0.06% 576
3.8 0.01% 53
3.3 0.00% 13
Total 939,647

Source: pypistats python_minor humanfriendly --last-month # pip install pypistats

xolox added a commit that referenced this pull request Feb 16, 2020
@xolox xolox merged commit 3030450 into xolox:master Feb 16, 2020
@xolox
Copy link
Owner

xolox commented Feb 16, 2020

This has been merged, thanks Hugo!

@hugovk hugovk deleted the rm-eol branch February 16, 2020 06:37
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.

4 participants