Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
17dbe958
Commit
17dbe958
authored
Jun 06, 2011
by
Éric Araujo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rephrase the section about spec versioning
parent
20d9ba0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
20 deletions
+19
-20
Doc/packaging/setupcfg.rst
Doc/packaging/setupcfg.rst
+19
-20
No files found.
Doc/packaging/setupcfg.rst
View file @
17dbe958
...
@@ -777,37 +777,36 @@ An extension field starts with ``X-``. Example::
...
@@ -777,37 +777,36 @@ An extension field starts with ``X-``. Example::
Changes in the specification
Changes in the specification
============================
============================
The version
scheme for this specification is **MAJOR.MINOR**.
The version
ing scheme for this specification is **MAJOR.MINOR**. Changes in the
Changes in the specification will increment the version
.
specification will cause the version number to be updated
.
- minor version changes (1.x): backwards compatible
Changes to the minor number reflect backwards-compatible changes:
- new fields and sections (both optional and mandatory) can be added
- New fields and sections (optional or mandatory) can be added.
- optional fields can be removed
- Optional fields can be removed.
- major channges (2.X): backwards-incompatible
The major number will be incremented for backwards-incompatible changes:
- mandatory fields/sections are removed
- Mandatory fields or sections are removed.
- fields change their meaning
- Fields change their meaning.
As a consequence, a tool written to consume 1.X (say, X=5) has these
As a consequence, a tool written to consume 1.5 has these properties:
properties:
- reading 1.Y, Y<X (e.g. 1.1) is possible, since the tool knows what
- Can read 1.1, 1.2 and all versions < 1.5, since the tool knows what
optional fields weren't there
optional fields weren't there.
- reading 1.Y, Y>X is also possible. The tool will just ignore the new
fields (even if they are mandatory in that version)
If optional fields were removed, the tool will just consider them absent.
- reading 2.X is not possible; the tool should refuse to interpret
the file.
A tool written to produce 1.X should have these properties:
.. XXX clarify
- it will write all mandatory fields
- Can also read 1.6 and other 1.x versions: The tool will just ignore fields it
- it may write optional fields
doesn't know about, even if they are mandatory in the new version. If
optional fields were removed, the tool will just consider them absent.
- Cannot read 2.x and should refuse to interpret such files.
A tool written to produce 1.x should have these properties:
- Writes all mandatory fields.
- May write optional fields.
Acknowledgments
Acknowledgments
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment