https://github.com/python/cpython/commit/df7228ce140ecb005d44a0c171ba4d098b3fa67c
commit: df7228ce140ecb005d44a0c171ba4d098b3fa67c
branch: main
author: Steve Dower <[email protected]>
committer: zooba <[email protected]>
date: 2024-09-23T16:27:46+01:00
summary:

gh-124254: Detect freethreaded MSI component when doing an upgrade on Windows 
(GH-124279)

files:
A Misc/NEWS.d/next/Windows/2024-09-20-11-18-50.gh-issue-124254.iPin-L.rst
M Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp

diff --git 
a/Misc/NEWS.d/next/Windows/2024-09-20-11-18-50.gh-issue-124254.iPin-L.rst 
b/Misc/NEWS.d/next/Windows/2024-09-20-11-18-50.gh-issue-124254.iPin-L.rst
new file mode 100644
index 00000000000000..b93e356edb501d
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2024-09-20-11-18-50.gh-issue-124254.iPin-L.rst
@@ -0,0 +1 @@
+Ensures experimental free-threaded binaries remain installed when updating.
diff --git a/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp 
b/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
index 7cddda9b06555d..094ddba4f1ad8f 100644
--- a/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
+++ b/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
@@ -213,6 +213,7 @@ static struct { LPCWSTR regName; LPCWSTR variableName; } 
OPTIONAL_FEATURES[] = {
     { L"Shortcuts", L"Shortcuts" },
     // Include_launcher and AssociateFiles are handled separately and so do
     // not need to be included in this list.
+    { L"freethreaded", L"Include_freethreaded" },
     { nullptr, nullptr }
 };
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to