question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Private repositories / extra-index-url

See original GitHub issue

I 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:closed
  • Created a year ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ofekcommented, Apr 29, 2022

Oh, Hatch just calls pip so everything it supports will work e.g. pip.conf, env vars

1reaction
ofekcommented, Aug 12, 2022
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found