Skip to content

Commit e99d27d

Browse files
committed
Merge "Pre-release versioning" into "Valid version numbers"
1 parent b5d2d8d commit e99d27d

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

source/discussions/versioning.rst

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ examples of version numbers:
3131

3232
Projects can use a cycle of pre-releases to support testing by their users
3333
before a final release. In order, the steps are: alpha releases, beta releases,
34-
release candidates, final release.
34+
release candidates, final release. Pip and other modern Python package
35+
installers ignore pre-releases by default when deciding which versions of
36+
dependencies to install, unless explicitly requested (e.g., with
37+
``pip install pkg==1.1a3``).
3538

3639
The purpose of development releases is to support releases made early during a
3740
development cycle, for example, a nightly build, or a build from the latest
@@ -51,6 +54,7 @@ To correct this, the new version numbers should have an explicit epoch, as in
5154
"1!1.0", in order to be treated as more recent than the old version numbers.
5255

5356

57+
5458
Semantic versioning vs. calendar versioning
5559
===========================================
5660

@@ -131,22 +135,6 @@ doesn't otherwise commit to a particular release cadence within the year.
131135

132136

133137

134-
Pre-release versioning
135-
======================
136-
137-
Regardless of the base versioning scheme, pre-releases for a given final release
138-
may be published as:
139-
140-
* Zero or more dev releases, denoted with a ".devN" suffix,
141-
* Zero or more alpha releases, denoted with a "aN" suffix,
142-
* Zero or more beta releases, denoted with a "bN" suffix,
143-
* Zero or more release candidates, denoted with a "rcN" suffix.
144-
145-
Pip and other modern Python package installers ignore pre-releases by default
146-
when deciding which versions of dependencies to install, unless explicitly
147-
requested, e.g., with ``pip install pkg==1.1a3``.
148-
149-
150138
Local version identifiers
151139
=========================
152140

0 commit comments

Comments
 (0)