Skip to content

Drop Python 2 support #291

@and-semakin

Description

@and-semakin

Python 2 has reached its EOL about 1.5 years ago. Even AWS Lambda is going to deprecate their Python 2 runtime soon. Supporting this old version of Python prevents using modern language features, for example, PEP-484 inline type hints (not those comments).

You can go the same way as guys from Pallets Project did and use the python_requires package metadata. It will allow you to release the next version without Python 2 support (let's say 6.0.0), but Python 2 users will still be able to download and use the latest available version with Python 2 support (let's say 5.1.5).

Is there any plan of dropping Python 2? What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions