From 84b2af44b69351671e3cb760607f403f16854210 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Mon, 21 Nov 2022 20:42:18 +0000 Subject: [PATCH] gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664) (cherry picked from commit 49e554dbafc87245c1364ae00ad064a96f5cb995) Co-authored-by: Steve Dower --- .../next/Windows/2022-11-21-19-50-18.gh-issue-98629.tMmB_B.rst | 1 + PCbuild/pythoncore.vcxproj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Windows/2022-11-21-19-50-18.gh-issue-98629.tMmB_B.rst diff --git a/Misc/NEWS.d/next/Windows/2022-11-21-19-50-18.gh-issue-98629.tMmB_B.rst b/Misc/NEWS.d/next/Windows/2022-11-21-19-50-18.gh-issue-98629.tMmB_B.rst new file mode 100644 index 00000000000000..46cbf998eb2001 --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2022-11-21-19-50-18.gh-issue-98629.tMmB_B.rst @@ -0,0 +1 @@ +Fix initialization of :data:`sys.version` and ``sys._git`` on Windows diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index a38040159e1fc8..078cc597a129f8 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -585,7 +585,7 @@ - + GITVERSION="$(GitVersion)";GITTAG="$(GitTag)";GITBRANCH="$(GitBranch)";%(PreprocessorDefinitions)