Skip to content

Commit a11df75

Browse files
bpo-38343: Fixes version handling for nuget packages (GH-16527)
(cherry picked from commit b9a8b82) Co-authored-by: Steve Dower <[email protected]>
1 parent c4976a6 commit a11df75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PC/layout/support/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
VER_MAJOR, VER_MINOR, VER_MICRO, VER_FIELD4 = struct.pack(">i", sys.hexversion)
1212
VER_FIELD3 = VER_MICRO << 8 | VER_FIELD4
13-
VER_NAME = {"alpha": "a", "beta": "b", "rc": "rc"}.get(
13+
VER_NAME = {"alpha": "a", "beta": "b", "candidate": "rc"}.get(
1414
sys.version_info.releaselevel, ""
1515
)
1616
VER_SERIAL = sys.version_info.serial if VER_NAME else ""

0 commit comments

Comments
 (0)