Using Poetry behind a company proxy
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
I would have different ideas for everyone who wants to use poetry through a company proxy-server:
- Check the proxy settings in the
pip.inisettings and use them - If the poetry secondary source is true and the primary (pypi) throws an https error use the secondary
- Add the proxy settings to the global poetry config
If there is no other solution yet and if it is also desired by others, I would try to add that myself. Thanks for any reply.
PS: I had already started a discussion on the subject, if that is more appropriate. Link
Issue Analytics
- State:
- Created 3 years ago
- Reactions:13
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Using Poetry behind a company proxy - Bountysource
Check the proxy settings in the pip.ini settings and use them; If the poetry secondary source is true and the primary (pypi) throws...
Read more >pip behind a company proxy - workaround? - Stack Overflow
Unzip it; Go into the folder with setup.py; type in python setup.py install (if not stated otherwise in the installation instructions).
Read more >Requests behind corporate proxies in Python - Plotly
Plotly uses the requests module to communicate with the Plotly server. You can configure proxies by setting the environment variables HTTP_PROXY and ...
Read more >How to Use Pip with a Proxy Server - ActiveState
Click to install and use PIP with a Proxy server for security and privacy. Understand the alternative way to secure pip use.
Read more >should I disable proxy detection? - WordPress.org
Even if your site isn't using a service like CloudFlare or StackPath, your site may be behind a proxy that your hosting company...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Duplicate #1632. Please refrain from directly pinging project contributors in the future. It’s unnecessary as those who are interested will get notifications for every issue, and inconsiderate to those who have opted out of notifications for every single issue.
That’s not a solution, that’s a workaround 😦 Poetry should use the pip configuration. Absolute worst case, it should have global configuration of its own, but I can’t find any in https://python-poetry.org/docs/configuration/. Changing the checked in pyproject.toml of e.g. an open-source project you’re working on simply isn’t an option.