Skip to content

Add HTTPS_PROXY support for hatch publish #1908

@seignovert

Description

@seignovert

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!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions