Skip to content

Drop support for Python 2 on January 1, 2020 #3642

@hugovk

Description

@hugovk

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.

image

Here's the pip installs for pillow from PyPI for January 2019:

category percent downloads
3 59.17% 3,138,659
2 40.03% 2,123,506
null 0.79% 42,021
Total 5,304,186

Source: pypistats python_major --last-month pillow

category percent downloads
2.7 40.01% 2,122,431
3.6 34.54% 1,832,073
3.5 11.78% 625,070
3.7 10.00% 530,448
3.4 2.75% 146,034
null 0.79% 42,021
3.3 0.08% 4,215
2.6 0.02% 1,075
3.8 0.01% 753
3.2 0.00% 66
Total 5,304,186

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:

Django 1.11 is the last version to support Python 2.7. Support for Python 2.7 and Django 1.11 ends in 2020.

What should Pillow do?

Ping @python-pillow/pillow-team and anyone else interested!

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeprecationFeature that will be removed in the futureQuestion

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions