Private repository: declare the address in the pyproject.toml or not? #7371
Unanswered
andrearota
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am new to Poetry. I am running on a corporate network and I am using a Nexus server instance to serve a PyPi group repository, i.e. a PyPi compatible repository that mix internal private packages and public content from PyPi.org (cached).
I don't want Poetry to connect to PyPi.org, as it is not reachable from the internal network, so I set the group repository as default and primary source.
Should I declare the full repository address in the
pyproject.tomlfile, as it follows?Or is there a way to avoid pinning the address in the code and let the user to define the real address of the repository?
From my point of view, I don't like the idea of having addresses hardwired in my descriptors.
Beta Was this translation helpful? Give feedback.
All reactions