Merge pull request #4322 from radarhere/python27

Python 2.7 end of support documentation in changelog and deprecations
This commit is contained in:
Hugo van Kemenade 2019-12-31 14:30:26 +02:00 committed by GitHub
commit fd4bd90c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 13 deletions

View File

@ -5,6 +5,9 @@ Changelog (Pillow)
7.0.0 (unreleased)
------------------
- Drop support for EOL Python 2.7 #4109
[hugovk, radarhere, jdufresne]
- Exif writing fixes: Rational boundaries and signed/unsigned types #3980
[kkopachev, radarhere]
@ -47,9 +50,6 @@ Changelog (Pillow)
- Fix Unicode support for PyPy #4145
[nulano]
- Drop support for EOL Python 2.7 #4109
[hugovk, radarhere, jdufresne]
- Added UnidentifiedImageError #4182
[radarhere, hugovk]

View File

@ -12,16 +12,6 @@ Deprecated features
Below are features which are considered deprecated. Where appropriate,
a ``DeprecationWarning`` is issued.
Python 2.7
~~~~~~~~~~
.. deprecated:: 6.0.0
Python 2.7 reaches end-of-life on 2020-01-01.
Pillow 7.0.0 will be released on 2020-01-01 and will drop support for Python 2.7, making
Pillow 6.x the last series to support Python 2.
ImageCms.CmsProfile attributes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -48,6 +38,14 @@ Removed features
Deprecated features are only removed in major releases after an appropriate
period of deprecation has passed.
Python 2.7
~~~~~~~~~~
*Removed in version 7.0.0.*
Python 2.7 reached end-of-life on 2020-01-01. Pillow 6.x was the last series to
support Python 2.
Image.__del__
~~~~~~~~~~~~~