From 39ab5a411f559675c5de5d2ecfa7df095573d337 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Thu, 3 Oct 2024 10:53:57 +0200 Subject: [PATCH 1/4] Document the suported stdlib versions Closes: #12716 --- CONTRIBUTING.md | 4 +++- README.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0a1fe77a06d7..255190a5695d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -117,7 +117,9 @@ hard-linked extension modules, and the builtins. The `VERSIONS` file lists the versions of Python where the module is available. We accept changes for future versions of Python after the first beta for that -version was released. +version was released. We will drop active support for a Python version three +months after it reaches [end-of-life](https://devguide.python.org/versions/). +After six months, we will remove the stubs for that version. ### Third-party library stubs diff --git a/README.md b/README.md index 9f35705d6c02..9776813d07ea 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ the project the stubs are for, but instead report them here to typeshed.** Further documentation on stub files, typeshed, and Python's typing system in general, can also be found at https://typing.readthedocs.io/en/latest/. -Typeshed supports Python versions 3.8 and up. +Typeshed supports Python versions 3.8 to 3.13. ## Using From 51da01aac6ed820eb19156c78c76a23d1726fbf8 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Thu, 10 Oct 2024 12:57:01 +0200 Subject: [PATCH 2/4] Update wording --- CONTRIBUTING.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 255190a5695d..36aef4f4655a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -117,9 +117,11 @@ hard-linked extension modules, and the builtins. The `VERSIONS` file lists the versions of Python where the module is available. We accept changes for future versions of Python after the first beta for that -version was released. We will drop active support for a Python version three -months after it reaches [end-of-life](https://devguide.python.org/versions/). -After six months, we will remove the stubs for that version. +version was released. We drop support for a Python version two to three months +after it reaches [end-of-life](https://devguide.python.org/versions/). This +means that we will no longer actively test the stubs against that version. +After five to six months, we will remove the stubs for that version and start +to use features not supported by that version. ### Third-party library stubs From cae8faed2e2bd7528fe3aa5ee4793e31356329f1 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Thu, 10 Oct 2024 13:00:38 +0200 Subject: [PATCH 3/4] Update CONTRIBUTING.md Co-authored-by: Alex Waygood --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 36aef4f4655a..c4d742ee939f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -121,7 +121,7 @@ version was released. We drop support for a Python version two to three months after it reaches [end-of-life](https://devguide.python.org/versions/). This means that we will no longer actively test the stubs against that version. After five to six months, we will remove the stubs for that version and start -to use features not supported by that version. +to use syntax and typing features not supported by that version. ### Third-party library stubs From b4a16f823cd9f818b8e415830cbd1613ab28ba4d Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 11 Oct 2024 13:45:42 +0200 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c4d742ee939f..bc80bac4ddf0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -117,10 +117,10 @@ hard-linked extension modules, and the builtins. The `VERSIONS` file lists the versions of Python where the module is available. We accept changes for future versions of Python after the first beta for that -version was released. We drop support for a Python version two to three months +version was released. We drop support for a Python version three months after it reaches [end-of-life](https://devguide.python.org/versions/). This means that we will no longer actively test the stubs against that version. -After five to six months, we will remove the stubs for that version and start +After six months, we will remove the stubs for that version and start to use syntax and typing features not supported by that version. ### Third-party library stubs