Skip to content

[Python 2 has been deprecated] - Formalise Python support policy #2251

@felix-hilden

Description

@felix-hilden

Status update

November 1st, 2021 @ 10:36AM EST by @ichard26

We've deprecated Python 2 support starting with version 21.10b0. Assuming things go as planned the support will be dropped sometime in January of 2022 along side the first stable release of Black.


From the discussions in #2247. The new FAQ (once merged) contains information on the supported Python versions. @ichard26 mentioned that it would be nice to have such documentation elsewhere in the docs too.

As discussed, the support plan seems to essentially be: "support whatever CPython versions are currently not EOL'd". This is for running Black. Then another question is formatting files, which is currently also done for 2.7.

  • Should the Python version support of Black be considered identical to CPython official support?
  • Does file formatting follow that, or do we intend to support older versions too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: maintenanceRelated to project maintenance, e.g. CI, testing, policy changes, releasesS: needs discussionNeeds further hashing out before ready for implementation (on desirability, feasibility, etc.)T: documentationImprovements to the docs (e.g. new topic, correction, etc)help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions