Document how to help pip resolve abstract dependencies for private packages
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 167
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 5
Description
Copied over from https://github.com/takluyver/flit/issues/279#issuecomment-678244957:
Maybe private dependencies can be achieved via the find-links or extra-index-url config values (which in pip can be specified in a site-wide pip.conf, as a --conf-name cmdline argument or as a PIP_CONF_NAME env variable):
echo 'requires = ["my-private-pkg"]' >>pyproject.toml
export PIP_FIND_LINKS="https://${USER}:${PASS}@wheels.example.com"
flit install
where
$ curl $PIP_FIND_LINKS
<a href="my_private_pkg-0.4-py3-none-any.whl">my-private-pkg</a>
We should test this and if it works, mention it in the docs. Reference: https://packaging.python.org/guides/hosting-your-own-index/
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by testing the example using pyproject.toml, PIP_FIND_LINKS, and a private wheel link, then compare the behavior with pip's hosting-your-own-index reference. If it works, document the supported configuration and installation flow in the project's documentation; done means the example is verified and the guidance is clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100