-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
What's the problem this feature will solve?
I was reading through the pip documentation for .netrc
support and it doesn't appear to mention if there is any support for the NETRC
environment variable.
It does say the .netrc
support comes from requests
and the stdlib netrc
module but there is no documentation for NETRC
environment variable in either the stdlib netrc docs or requests docs.
I did find a pull request in requests psf/requests#5643 which implements support for NETRC
environment variable so I'm guessing that it also applies to pip?
Describe the solution you'd like
I would like to see the pip docs clarify whether or not the NETRC
environment variable is supported for the pip netrc authentication.
Alternative Solutions
I can submit a PR to update pip docs if this NETRC
support is clarified.
Additional context
The only documentation reference I can find anywhere mentioning NETRC
is in the ftp
documentation linked from the pip docs at https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html but obviously that doesn't apply to anything python-related.
Code of Conduct
- I agree to follow the PSF Code of Conduct.