uv icon indicating copy to clipboard operation
uv copied to clipboard

Support _netrc files for windows

Open jurkov opened this issue 9 months ago • 3 comments

Uv does need a .netrc file on Windows. Unfortunately, pip needs a _netfile on Windows. Uv should also use a _netfile on Windows.

This Issue is similar to #1405, but it's different.

Source: https://stackoverflow.com/questions/6031214/git-how-to-use-netrc-file-on-windows-to-save-user-and-password

jurkov avatar May 02 '24 13:05 jurkov

Can you share some more about this? We're just using the rust-netrc crate which should look in your home directory as described?

https://docs.rs/rust-netrc/latest/src/netrc/lib.rs.html#60-71

zanieb avatar May 02 '24 13:05 zanieb

Ah the title vs the issue confused me, you're saying we need to support _netfile? You can use the NETRC variable to point to an arbitrary file path.

zanieb avatar May 02 '24 13:05 zanieb

Well, I created an issue at https://github.com/gribouille/netrc/issues/1 as well.

jurkov avatar May 02 '24 13:05 jurkov