-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
poetry not respecting index-url in pip.conf #1554
Comments
Hello, you have to tell |
poetry can use our private repo, but it want it to ONLY pull from our private repo |
👍 – this is a common pattern for enterprises. e.g. I do not have access to pypi.org, and requests to it hang indefinitley. |
If you use the latest |
ooo, will try! |
seems to work, however I'm guessing it should still obey pip.conf long term no? |
@thehesiod The fact that Poetry is using |
@sdispater The problem is that in using In order to get rid of that inconsistency, and you still want to (or have to) use But then it becomes even more important that a user can configure poetry on per-user basis and/or system-wide for the nexus-like index url and trusted host setting, ref. #1632 and #1070. |
Agree that we would need a systemwide setting so we prevent some information to reside on our repositories... |
IMHO, ' |
Have a company wide This also resolves a lot of manual overhead for setting repos for each project. As most of the time, I would expect my machine access and only access repoX and repoY. And setting |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name:OSX 10.15.1
Poetry version: 1.0.0b0
Issue
we have a pip.conf file like the following:
if you run pip install numpy, you're restricted to the versions on our server as expected:
running the same command from poetry:
so its going out to pypi.org instead of our repo.
The text was updated successfully, but these errors were encountered: