File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,23 @@ build tag
134
134
the first item being the initial digits as an ``int ``, and the
135
135
second item being the remainder of the tag as a ``str ``.
136
136
137
+ A common use-case for build numbers is rebuilding a binary
138
+ distribution due to a change in the build environment,
139
+ like when using the manylinux image to build
140
+ distributions using pre-release CPython versions.
141
+
142
+ .. warning ::
143
+
144
+ Build numbers are not a part of the distribution version and thus are difficult
145
+ to reference externally, especially so outside the Python ecosystem of tools and standards.
146
+ A common case where a distribution would need to referenced externally is when
147
+ resolving a security vulnerability.
148
+
149
+ Due to this limitation, new distributions which need to be referenced externally
150
+ **should not ** use build numbers when building the new distribution.
151
+ Instead a **new distribution version ** should be created for such cases.
152
+
153
+
137
154
language implementation and version tag
138
155
E.g. 'py27', 'py2', 'py3'.
139
156
You can’t perform that action at this time.
0 commit comments