Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support _netrc files for windows #3338

Open
jurkov opened this issue May 2, 2024 · 3 comments
Open

Support _netrc files for windows #3338

jurkov opened this issue May 2, 2024 · 3 comments
Labels
upstream An upstream dependency is involved windows Specific to the Windows platform

Comments

@jurkov
Copy link

jurkov commented May 2, 2024

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

@zanieb
Copy link
Member

zanieb commented May 2, 2024

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
Copy link
Member

zanieb commented May 2, 2024

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.

@jurkov
Copy link
Author

jurkov commented May 2, 2024

Well, I created an issue at gribouille/netrc#1 as well.

@charliermarsh charliermarsh added the upstream An upstream dependency is involved label May 2, 2024
@konstin konstin added the windows Specific to the Windows platform label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream An upstream dependency is involved windows Specific to the Windows platform
Projects
None yet
Development

No branches or pull requests

4 participants