Skip to content

Commit

Permalink
Change Python version support to match CPython
Browse files Browse the repository at this point in the history
Currently, we are supporting Python version until their usage falls
low-enough. This worked well, when we had fewer users and Python's
sliding window moved slower.

We have, however, not used the threshold for the last few Python
releases and our metrics for determining usage levels are not
particularly robust against being overrepresentative of certain usage
patterns (we're seeing this in the current usage numbers).

Aligning with CPython helps ensure that the maintainers of pip aren't
subsidising the cost of EOL Python versions indefinitely.
  • Loading branch information
pradyunsg committed Dec 23, 2023
1 parent e88d39a commit 8212d9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/html/development/release-process.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ issues by pip's maintainers.
Python Support Policy
---------------------

In general, a given Python version is supported until its usage on PyPI falls below 5%.
In general, a given Python version is supported until the end of life for the
corresponding CPython release.
This is at the maintainers' discretion, in case extraordinary circumstances arise.

.. _`Feature Flags`:
Expand Down
1 change: 1 addition & 0 deletions news/12450.process.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Align Python version support with CPython timelines, instead of PyPI usage numbers.

0 comments on commit 8212d9a

Please sign in to comment.