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

Add HTTPS_PROXY support for hatch publish #1908

Open
seignovert opened this issue Feb 7, 2025 · 0 comments
Open

Add HTTPS_PROXY support for hatch publish #1908

seignovert opened this issue Feb 7, 2025 · 0 comments

Comments

@seignovert
Copy link

Hi,

I'm facing timeout issue on my university gitlab-ci which seems to be related to the proxy configuration not being detected by hatch:

$ echo $HTTPS_PROXY
https://proxy-server.tld:xxxx/

$ hatch publish
...
Error uploading to repository: https://test.pypi.org/legacy/ - [Errno 99] Address not available

When I use the same configuration outside the university (without the proxy) everything works as expected.

This issue does not appear with twine which have HTTPS_PROXY build-in support.

Would it be possible to do the same on hatch publish?
Thanks!

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