-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 on January 1, 2020 #3642
Comments
Why not now? It's not as if py2 users lose access to pillow. they're just stuck with an old version. |
I would imagine that dropping Python 2 support is a large enough step to warrant a major version change. So I suggest that Pillow 7.0.0 be the January 1st 2020 release, making Pillow 6 the last series to support Python 2. If so, it would be good to make note of this in the upcoming Pillow 6.0.0 release. |
For visibility, here's a PR to add Pillow to https://python3statement.org: |
For anyone following this issue, the next release of Pillow, 6.2.0, will be the last release to support Python 2. |
Python 2 only issues, to be closed if not fixed before 6.2.0 (2019-10-01): We can add others here or label with "Python 2-only". |
Pillow 6.2.0 has now been released, the last Pillow minor series to support Python 2.7. |
Updated stats. Since January, the Python 2 downloads have continued to drop, from 40% to 27%.
Date range: 2019-11-01 - 2019-11-30 Source:
Date range: 2019-11-01 - 2019-11-30 Source: |
Wouldn't it be logical to make the last Py2 release after 2.7.18 comes out? a few months later... |
CPython 2.7 release schedule:
https://www.python.org/dev/peps/pep-0373/ All CPython 2.7 core development will stop on 1st January when it enters "code freeze", except for release blockers. Basically, mid-April is the most convenient time for the 2.7 release manager to make the release, who wants it to coincide with PyCon US. Similarly, we will stop 2.7 development on 1st January. However, we make quarterly releases, so are ready for a 1st January release, and also a 1st April release. The last Pillow 6.2 release will always be available for people using 2.7 after 1st January. |
Out of all the downloads... |
I believe the ship has sailed, and Python 2.7 compatibility has been removed from Master. There is still the option for security updates on the last 6.2.x release branch, but the time for new features working with 2.7 has passed. |
FWIW, there is a security release for the 6.2.x series planned for today (#4328) that supports python 2.7. I anticipate that should there be other similar issues, there will likely be a backport to that branch. |
Thanks @radarhere and @python-pillow/pillow-team !! |
Pillow 7 has been also been released, without support for Python 2.7. |
Python 2.7 reaches EOL on 2020-01-01.
This will obviously be a bigger change than dropping other minor versions, so it's a good idea to start thinking about how to proceed and to communicate that sooner rather than later.
Looking at Pillow's PyPI stats, Python 3 accounts for 60% of downloads and is increasing.
Here's the pip installs for pillow from PyPI for January 2019:
Source:
pypistats python_major --last-month pillow
Source:
pypistats python_minor --last-month pillow
Pip has started warning that Python 2 support will be dropped in a future version and a number of other projects have pledged to drop it no later than 2020. The latest Django 2.x has already dropped it and:
What should Pillow do?
Ping @python-pillow/pillow-team and anyone else interested!
The text was updated successfully, but these errors were encountered: