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

session.install("foo") doesn't honor [[tool.poetry.source]] #497

Closed
kentmartin73 opened this issue Oct 20, 2021 · 3 comments
Closed

session.install("foo") doesn't honor [[tool.poetry.source]] #497

kentmartin73 opened this issue Oct 20, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@kentmartin73
Copy link

Hi,

We're using internal PyPi repos, and, when using session.install("foo"), the repos defined in [[tool.poetry.source]] are ignored.

Short of reading pyproject.toml and constructing/writing a pip.conf before doing any session.installs, is there another obvious way forward? If not, would this fit better into nox-poetry itself?

@kentmartin73
Copy link
Author

On further thought, when authentication to the repo is needed, even constructing a pip.conf wouldn't do it completely as Poetry has a multitude of credentials back ends

@cjolowicz
Copy link
Owner

This has come up before, see #397 and #398.

Can you configure your CI to provide PIP_INDEX_URL and credentials?

I'd also be happy to accept a PR that preserves the exported index URL from Poetry.

@cjolowicz cjolowicz added the enhancement New feature or request label Nov 15, 2021
@cjolowicz
Copy link
Owner

Duplicate of #398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants