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

NETRC environment variable support #748

Open
atheriel opened this issue Feb 28, 2025 · 0 comments
Open

NETRC environment variable support #748

atheriel opened this issue Feb 28, 2025 · 0 comments

Comments

@atheriel
Copy link

atheriel commented Feb 28, 2025

The new repository auth feature supports reading credentials from .netrc files. It can sometimes be useful to point tools to a file other than ~/.netrc, and both pip and uv support a NETRC environment variable for doing this:

Note that NETRC is not a universal standard (I believe it originates from the GNU project, though .netrc itself is much older), and some major tools don't support it, including:

On balance, I think this still points towards our supporting it, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant