Private repositories / extra-index-url
See original GitHub issueI didn’t see this anywhere in the docs, but does Hatch support setting private repositories for dependencies and storing the credentials for said repositories? With Poetry they have this setup like this https://python-poetry.org/docs/repositories/#using-a-private-repository.
For pip, there is a file like ~/.config/pip/pip.conf
[global]
extra-index-url = https://user:pass@private.mysite.com/pypi-local/simple
Is anything like this supported by Hatch?
Issue Analytics
- State:
- Created a year ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Installing from private repository using --extra-index-url results ...
1, trying to install from a private repository (in this case, packagecloud) using the --extra-index-url option and a URL with a read token...
Read more >extra-index-url` to install private packages from GitLab CI
I have the following use case: My client develops a closed-source Python library, with dependencies specified in setup.py through setuptools ...
Read more >Pip — extra-index-url, Considered Dangerous | by Matt Kubilus
The pip command will gather available packages from both the standard index-url and the extra-index-url you added for your private repo.
Read more >Repositories | Documentation | Poetry - Python dependency ...
Repositories Poetry supports the use of PyPI and private repositories for discovery of packages as well as for publishing your projects.
Read more >Python Repository - Cloudsmith Help
Cloudsmith provides public & private repositories for Python packages. ... --extra-index-url ensures that pip will have a backup repository should it not ...
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
Oh, Hatch just calls pip so everything it supports will work e.g. pip.conf, env vars
ty https://github.com/pypa/hatch/pull/410