summary refs log tree commit diff
path: root/doc/languages-frameworks/python.section.md
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2021-12-09 12:20:06 -0800
committerJonathan Ringer <jonringer117@gmail.com>2021-12-09 12:47:53 -0800
commit3709e8aaf2ee28bb2bbe2a7600e09eb7ea998e09 (patch)
treeb5634859953a1abd70cb3762a16816c6ca421469 /doc/languages-frameworks/python.section.md
parentce5d933f411e37024a80af69eca8b180daffc73c (diff)
downloadnixpkgs-3709e8aaf2ee28bb2bbe2a7600e09eb7ea998e09.tar
nixpkgs-3709e8aaf2ee28bb2bbe2a7600e09eb7ea998e09.tar.gz
nixpkgs-3709e8aaf2ee28bb2bbe2a7600e09eb7ea998e09.tar.bz2
nixpkgs-3709e8aaf2ee28bb2bbe2a7600e09eb7ea998e09.tar.lz
nixpkgs-3709e8aaf2ee28bb2bbe2a7600e09eb7ea998e09.tar.xz
nixpkgs-3709e8aaf2ee28bb2bbe2a7600e09eb7ea998e09.tar.zst
nixpkgs-3709e8aaf2ee28bb2bbe2a7600e09eb7ea998e09.zip
docs/python: Add CPython update schedule
Diffstat (limited to 'doc/languages-frameworks/python.section.md')
-rw-r--r--doc/languages-frameworks/python.section.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index 53466921887..500f5fa41f3 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -1632,3 +1632,25 @@ would be:
 ```ShellSession
 $ maintainers/scripts/update-python-libraries --target minor --commit --use-pkgs-prefix pkgs/development/python-modules/**/default.nix
 ```
+
+## CPython Update Schedule
+
+With [PEP 602](https://www.python.org/dev/peps/pep-0602/), CPython now
+follows a yearly release cadence. In nixpkgs, all supported interpreters
+are made available, but only the most recent two
+interpreters package sets are built; this is a compromise between being
+the latest interpreter, and what the majority of the Python packages support.
+
+New CPython interpreters are released in October. Generally, it takes some
+time for the majority of active Python projects to support the latest stable
+interpreter. To help ease the migration for Nixpkgs users
+between Python interpreters the schedule below will be used:
+
+| When | Event |
+| --- | --- |
+| After YY.11 Release | Bump CPython package set window. The latest and previous latest stable should now be built. |
+| After YY.05 Release | Bump default CPython interpreter to latest stable. |
+
+In practice, this means that the Python community will have had a stable interpreter
+for ~2 months before attempting to update the package set. And this will
+allow for ~7 months for Python applications to support the latest interpreter.