You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a package in a private repository and you add it as an extra-index-url, the resolver will throw conflict errors
uv pip compile requirements.txt
× No solution found when resolving dependencies:
╰─▶ Because only the following versions of mypkg are available:
mypkg<1.0.0rc6
mypkg>=1.1.dev0
and you require mypkg>=1.0.0rc6,<1.1.dev0, we can conclude that the requirements are unsatisfiable.
In my case pypi had 1 yanked version (0.0.0a1) and all valid versions are in the private repo.
This behaviour is contrary to pip because it can still find requirements in the extra-index-url.
workaround that works:
set pypi as extra-index-url
set private repo as index-url
The command you invoked: uv pip compile requirements.txt
The current uv platform: Ubuntu 22.04.1
The current uv version: 0.1.11
The text was updated successfully, but these errors were encountered:
If you have a package in a private repository and you add it as an extra-index-url, the resolver will throw conflict errors
In my case pypi had 1 yanked version (0.0.0a1) and all valid versions are in the private repo.
This behaviour is contrary to
pip
because it can still find requirements in the extra-index-url.workaround that works:
The text was updated successfully, but these errors were encountered: