pip
pip copied to clipboard
Make proxy parameter override environment proxy
Closes #10685 ref: https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env
~~oh, with trust_env=False
requests would not check .NETRC env.~~
Why test in https://github.com/pypa/pip/pull/10998 would fail with plain url and netrc credentials? im stuck
---url = f"https://USERNAME:PASSWORD@{server.host}:{server.port}/simple"
+++url = f"https://{server.host}:{server.port}/simple"
...
---f"machine {server.host} login wrongusername password wrongpassword"
+++f"machine {server.host} login USERNAME password PASSWORD"
@pradyunsg I think, it would also fix #5378
Hi,
I see this has been approved for a long time, but not merged. Is there a reason this is blocked from merging?
Of course I understand the authors of pip are busy and have a lot to deal with, just wanted to check in case this had got stuck just before the finish line and could be helped over, or if the reason is needing a rebase or something, whether I could help get it over the line.
(I discovered this via the issue it closes, https://github.com/pypa/pip/issues/10685, as resolving this issue would be of considerable help to me).