PIP_INDEX_URL behavior #4078
Unanswered
ericfrederich
asked this question in
Q&A
Replies: 1 comment
-
Check this issue. Currently it's easiest to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to get the behavior of PIP_INDEX_URL using only environment variables?
For instance, on an internal CI build on a machine with no internet access with pip I can access our internal PyPI mirror/cache by doing the following:
Trying to do the same with a poetry based project I run into issues. I can set the username and password like the following, but how do I tell poetry to use the internal server?
As described in Install dependencies from a private repository.
pyproject.toml
not in~/.config/pypoetry/config.toml
[[tool.poetry.source]]`` with
nameand
url` keysDoes this mean it's not something that can be configured with environment variables alone?
Beta Was this translation helpful? Give feedback.
All reactions