astral-sh / uv

An extremely fast Python package and project manager, written in Rust.
https://docs.astral.sh/uv
Apache License 2.0
19.98k stars 592 forks source link

Windows _netrc not recognized for pip auth #6809

Open corby opened 2 weeks ago

corby commented 2 weeks ago

I cross compile a python application with lots of C libraries. uv works fine on *nix based platforms, but on Windows the ~/.netrc file is called ~/_netrc (who knows why)

Copying the ~/_netrc to ~/.netrc fixed uv. Can we have uv scan for ~/.netrc and fall back to ~/_netrc on windows platform?

zanieb commented 2 weeks ago

Hm I presumed support was added when they did upstream https://github.com/gribouille/netrc/issues/1 but maybe not. We should follow-up here.