From 18c9bc1e70d63a812669992d8b73b54935060d32 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 28 Oct 2024 14:52:40 -0500 Subject: [PATCH] Add note about local version segments (#8646) --- crates/uv-pep440/src/version.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/uv-pep440/src/version.rs b/crates/uv-pep440/src/version.rs index 404791dd1..4abf0cf21 100644 --- a/crates/uv-pep440/src/version.rs +++ b/crates/uv-pep440/src/version.rs @@ -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, /// An internal-only segment that does not exist in PEP 440, used to /// represent the smallest possible version of a release, preceding any