Add note about local version segments (#8646)

This commit is contained in:
Zanie Blue
2024-10-28 14:52:40 -05:00
committed by GitHub
parent 7948441121
commit 18c9bc1e70
+3
View File
@@ -1247,6 +1247,9 @@ struct VersionFull {
/// > label”, separated from the public version identifier by a plus.
/// > Local version labels have no specific semantics assigned, but
/// > some syntactic restrictions are imposed.
///
/// Local versions allow multiple segments separated by periods, such as `deadbeef.1.2.3`, see
/// [`LocalSegment`] for details on the semantics.
local: Vec<LocalSegment>,
/// An internal-only segment that does not exist in PEP 440, used to
/// represent the smallest possible version of a release, preceding any