-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify definition of "minor" vs "major" release #105844
Comments
I don't follow; I cannot not find any version inconsistencies on https://docs.python.org/3/c-api/stable.html. As far as I can see, minor version is used consistently there. The FAQ is slightly inconsistent, though. Perhaps PEP-602 also needs an update1. Footnotes
|
…ythonGH-105851) (cherry picked from commit 0bffe1a) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
…ythonGH-105851) (cherry picked from commit 0bffe1a) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Yeah I just meant it was confusing to me when looking across multiple places. In particular the announcement of new releases got me used to thinking of them as "major". Thanks for the updates! |
* main: pythongh-104799: PEP 695 backward compatibility for ast.unparse (python#105846) pythongh-105834: Add tests for calling `issubclass()` between two protocols (python#105835) CI: Remove docs build from Azure Pipelines (python#105823) pythongh-105844: Consistently use 'minor version' for X.Y versions (python#105851) Fix inaccuracies in "Assorted Topics" section of "Defining Extension Types" tutorial (python#104969) pythongh-105433: Add `pickle` tests for PEP695 (python#105443) bpo-44530: Document the change in MAKE_FUNCTION behavior (python#93189) pythonGH-103124: Multiline statement support for pdb (pythonGH-103125) pythonGH-105588: Add missing error checks to some obj2ast_* converters (pythonGH-105589)
See @CAM-Gerlach's review of python/peps#3174 (python/peps#3174 (review)). I see now that my docs update could be made even clearer, by using the established release naming convention used in the devguide. 3.11 and 3.12 are feature releases, not minor releases. |
Documentation
I noticed this in a discussion but it was off-topic there. Either I'm misreading things, but it seems like the definition of major and minor release is inconsistent in the documentation. See this page (bold mine):
Here, the
11
in3.11
is referred to as a minor release: the API can change when that changes, but within such a release it should be stable.In other parts of Python documentation, most notably python.org, 3.11 (or 3.10, etc) is referred to as a "major release".
The FAQ is less than clear on this (again bold mine):
Most of the time this is not a big concern but particularly for statements about long-term compatibility (like the C API page above) I think this is rather confusing.
Linked PRs
The text was updated successfully, but these errors were encountered: