ELundby45 · GitHub

Bug report

Bug description:

PCbuild/find_python.bat currently defaults NUGET_URL to:

https://aka.ms/nugetclidl

This appears to no longer resolve to a valid nuget.exe download. As a result, Windows builds that rely on find_python.bat to bootstrap nuget.exe may fail before Python can be installed from NuGet.

Relevant CPython code:

@if "%_Py_NUGET_URL%"=="" (set _Py_NUGET_URL=https://aka.ms/nugetclidl)
@powershell.exe -Command Invoke-WebRequest %_Py_NUGET_URL% -OutFile '%_Py_NUGET%'

Reproducer showing that the url now redirects to bing.com

curl -vI https://aka.ms/nugetclidl
...
< HTTP/1.1 302 Moved Temporarily
HTTP/1.1 302 Moved Temporarily
< Server: Kestrel
Server: Kestrel
< Location: https://www.bing.com?ref=aka&shorturl=nugetclidl
Location: https://www.bing.com?ref=aka&shorturl=nugetclidl

CPython versions tested on:

3.15

Operating systems tested on:

Windows

Linked PRs

Read the original on github.com ↗