Skip to content

PCbuild/find_python.bat uses broken aka.ms/nugetclidl URL for downloading nuget.exe #153438

Description

@ELundby45

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

Activity

  1. hugovk commented on Jul 9, 2026

    @hugovk
    Member

    Ideally Microsoft can fix the https://aka.ms/nugetclidl URL, otherwise we should change it.

    Let's ask @zooba.

  2. zooba commented on Jul 9, 2026

    @zooba
    Member

    I guess it got cleaned up at some point (fairly recently, I go through that download path often enough that I know it worked earlier this week). There have been a lot of personnel changes at Microsoft recently, so I guess it ended up with no actual owner.

    According to https://learn.microsoft.com/en-us/nuget/install-nuget-client-tools?tabs=windows#nugetexe-cli, the URL is https://dist.nuget.org/win-x86-commandline/latest/nuget.exe. This is the page that the aka link came from, so someone was ahead of the breakage.

  3. ELundby45 commented on Jul 9, 2026

    @ELundby45
    Author

    I can confirm it was working just two days ago.

  4. added 4 commits that reference this issue on Jul 10, 2026
  5. added a commit that references this issue on Jul 11, 2026
  6. added a commit that references this issue on Aug 4, 2026
  7. added 2 commits that reference this issue on Aug 10, 2026
  8. marked Windows CI fails on 3.10 #155447 as a duplicate of this issue on Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowsbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions