[Python-checkins] bpo-38343: Fixes version handling for nuget packages (GH-16527)
Miss Islington (bot)
webhook-mailer at python.org
Tue Oct 1 20:00:53 EDT 2019
https://github.com/python/cpython/commit/a11df75269b5d47248be617ed02e96c1d1938fd1
commit: a11df75269b5d47248be617ed02e96c1d1938fd1
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-10-01T17:00:49-07:00
summary:
bpo-38343: Fixes version handling for nuget packages (GH-16527)
(cherry picked from commit b9a8b8296cd7be22f8b5bf92af686a788c47c7bf)
Co-authored-by: Steve Dower <steve.dower at python.org>
files:
M PC/layout/support/constants.py
diff --git a/PC/layout/support/constants.py b/PC/layout/support/constants.py
index 88ea410b340ea..d76fa3bbf3b47 100644
--- a/PC/layout/support/constants.py
+++ b/PC/layout/support/constants.py
@@ -10,7 +10,7 @@
VER_MAJOR, VER_MINOR, VER_MICRO, VER_FIELD4 = struct.pack(">i", sys.hexversion)
VER_FIELD3 = VER_MICRO << 8 | VER_FIELD4
-VER_NAME = {"alpha": "a", "beta": "b", "rc": "rc"}.get(
+VER_NAME = {"alpha": "a", "beta": "b", "candidate": "rc"}.get(
sys.version_info.releaselevel, ""
)
VER_SERIAL = sys.version_info.serial if VER_NAME else ""
More information about the Python-checkins
mailing list