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

Proxy settings not forwarded to subprocess #13098

Closed
1 task done
motaatmo opened this issue Dec 2, 2024 · 1 comment
Closed
1 task done

Proxy settings not forwarded to subprocess #13098

motaatmo opened this issue Dec 2, 2024 · 1 comment
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior

Comments

@motaatmo
Copy link

motaatmo commented Dec 2, 2024

Description

I'm behind a corporate firewall with a http proxy. Starting pip with the --proxy and --trusted-host flags usually works, but it failed when trying to install PyQt5. Verbose logs showed that some connections could not be initiated, it said that a subprocess failed. Hoping that the subprocess might be pip itself I created a global pip.ini file with exactly the same settings I used on the command line, and it worked. Therefore, the proxy settings somehow got lost within pip.

Expected behavior

No response

pip version

24.3.1

Python version

3,13

OS

Windows

How to Reproduce

Try to install PyQt5 behind a proxy

Output

No response

Code of Conduct

@motaatmo motaatmo added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Dec 2, 2024
@notatallshaw
Copy link
Member

Thanks for reporting, this is a known issue, see: #6018

As pip is a volunteer project it requires someone to create a PR and maintainers to olunteer time to review and accept. In this case someone only recently created a PR: #13075

@notatallshaw notatallshaw closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants