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

How to handle pip deps from a private source? #187

Open
anabiman opened this issue Aug 26, 2024 · 1 comment
Open

How to handle pip deps from a private source? #187

anabiman opened this issue Aug 26, 2024 · 1 comment

Comments

@anabiman
Copy link

I am currently using poetry to pull python pkgs from a private index (see section of my pyproject.toml file below).

[[tool.poetry.source]]
name = "private-channel"
url = "utl-private-index"
priority = "explicit"

[tool.poetry.dev-dependencies]
pip_pkg = {version = ">=x.x.x", source ="private-channel"

I configure poetry with a private access token so it can have access to the private channel. How can I do something similar with unidep?

@basnijholt
Copy link
Owner

Currently, unidep only supports setuptools and hatchling, and you can use their respective features to access packages from a private channel.

Poetry unfortunately, is not as flexible wrt plugins and therefore cannot be integrated easily. I started working on this in #78, however, ran into a couple of hard blockers.

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

4 participants
@anabiman @basnijholt and others