From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 21 Nov 2022 21:13:52 +0000 (-0800) Subject: gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664) X-Git-Tag: v3.11.1~69 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d5f4ba17480c1f883a0822c90af25d2ec9bf7ed;p=thirdparty%2FPython%2Fcpython.git gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664) (cherry picked from commit 49e554dbafc87245c1364ae00ad064a96f5cb995) Co-authored-by: Steve Dower --- 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 000000000000..46cbf998eb20 --- /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 a38040159e1f..078cc597a129 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -585,7 +585,7 @@ - + GITVERSION="$(GitVersion)";GITTAG="$(GitTag)";GITBRANCH="$(GitBranch)";%(PreprocessorDefinitions)