uv: `uv pip insall` on Windows causes "thread '' has overflowed its stack"

Summary

I was benchmarking the following scenario with pip vs. uv: https://discuss.python.org/t/pep-777-how-to-re-invent-the-wheel/67484/238 and I end up getting: “thread ‘<unknown>’ has overflowed its stack” and uv pip fails to install the packages.

Steps to set up

There may be a simpler set up but this is what I found:

  1. Download https://github.com/winpython/winpython/releases/download/13.1.202502222/build_3.13._.0slim__of_23-02-2025_at_10_22.txt.packages_versions.txt as requirements.txt
  2. uv venv -p 3.13
  3. .venv\Scripts\activate
  4. uv pip install pip
  5. pip download -r .\requirements.txt -d packages
  6. uv cache clean

Command that fails

uv pip install -r .\requirements.txt --no-index --find-links .\packages\

Output

thread '<unknown>' has overflowed its stack

“-vvv” logs: https://gist.github.com/notatallshaw/404c6444703e5e2a14e3bd5b9994990a

Platform

Windows 10

Version

uv 0.6.13 (a0f5c7250 2025-04-07)

Python version

Python 3.13.2

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (9 by maintainers)

Commits related to this issue

Most upvoted comments

If you have the chance, could you test #12839?

I tested your current branch and was unable to reproduce the error, whereas I can reproduce the scenario building against main.