summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-09-14 15:59:34 (GMT)
committerGitHub <noreply@github.com>2022-09-14 15:59:34 (GMT)
commitfe4f2f9a6ba1314e3d2767bc9ef46ddfb3b26ac0 (patch)
tree7a4d9d32e178d7432375089d3cf970357f2d672d
parenta0685136dce3efef085476824948ad796a016dbe (diff)
downloadcpython-fe4f2f9a6ba1314e3d2767bc9ef46ddfb3b26ac0.zip
cpython-fe4f2f9a6ba1314e3d2767bc9ef46ddfb3b26ac0.tar.gz
cpython-fe4f2f9a6ba1314e3d2767bc9ef46ddfb3b26ac0.tar.bz2
gh-96729: Ensure installers built with Tools/msi/buildrelease.bat have matching UUIDs with official releases (GH-96755)
(cherry picked from commit 662782e95f97d26bd57b3edc6aaf674e30899f44) Co-authored-by: adang1345 <adang1345@gmail.com>
-rw-r--r--Misc/NEWS.d/next/Build/2022-09-11-14-23-49.gh-issue-96729.W4uBWL.rst2
-rw-r--r--Tools/msi/buildrelease.bat4
2 files changed, 5 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Build/2022-09-11-14-23-49.gh-issue-96729.W4uBWL.rst b/Misc/NEWS.d/next/Build/2022-09-11-14-23-49.gh-issue-96729.W4uBWL.rst
new file mode 100644
index 0000000..b67cd20
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2022-09-11-14-23-49.gh-issue-96729.W4uBWL.rst
@@ -0,0 +1,2 @@
+Ensure that Windows releases built with ``Tools\msi\buildrelease.bat`` are
+upgradable to and from official Python releases.
diff --git a/Tools/msi/buildrelease.bat b/Tools/msi/buildrelease.bat
index ccec4da..839f620 100644
--- a/Tools/msi/buildrelease.bat
+++ b/Tools/msi/buildrelease.bat
@@ -12,7 +12,9 @@ rem
rem The following substitutions will be applied to the release URI:
rem Variable Description Example
rem {arch} architecture amd64, win32
-set RELEASE_URI=https://www.python.org/{arch}
+rem Do not change the scheme to https. Otherwise, releases built with this
+rem script will not be upgradable to/from official releases of Python.
+set RELEASE_URI=http://www.python.org/{arch}
rem This is the URL that will be used to download installation files.
rem The files available from the default URL *will* conflict with your