-
Notifications
You must be signed in to change notification settings - Fork 899
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
Can't find public pypi package when using extra-index-url #2159
Comments
I believe the description of #2083 should clarify things — we will not discover package versions across multiple indexes so if any version of a package is present in your extra index URL then it will not be read from the public index. |
I've digged a little bit into this because I was not sure it was the same issue, because I knew sqlalchemy did not exist in our private repository. It might be related to how our private pypi server works:
official repo:
I guess the issue is on our private pypi server and we should return a 404 even though there is no package version available |
Hello, I've tried adding
uv
to our Dockerfile on my company's project but I'm facing the following issue, which is not raised when using a normalpip install -r requirements.txt
. I have reduced the reproducibility of the issue as much as possible.The problem appears when trying to install
sqlalchemy~=2.0.27
with a custom --extra-index-url. In my case, the extra-index-url is a private pip repository for internal stuff. I have tried with other packages such asalembic~=1.13.1
and have the same issue.Consider the 4 following commands:
pip install SQLAlchemy~=2.0.27
-> OKuv -v pip install SQLAlchemy~=2.0.27
-> OKpip install --extra-index-url https://xxxxxxx/ SQLAlchemy~=2.0.27
-> OKuv -v pip install --extra-index-url https://xxxxxxx/ SQLAlchemy~=2.0.27
-> FailsI could not find a way to create a dummy pypi server locally and try with it.
Verbose logs of the failing install:
The text was updated successfully, but these errors were encountered: