uv pip install --no-deps
fails due to conflicting requirements even though the --no-deps
flag is given
#3183
Labels
bug
Something isn't working
Context
I have a special use case for a client whereby I need to provide some libraries which they install via a
requirements.txt
.The purpose of this file is only to list the libraries I provide (as local paths), and there is another requirements file for the external dependencies.
We work like this because in my company we use git dependencies for our own libraries but our client does not have access to our private git repos.
The install instructions for them are to do a
pip install
for the external dependencies (pulled from PyPI), and then a secondpip install
with the requirements file I provide them. This works fine withpip
, but not withuv pip
because the top-level library depends on the other libraries via git dependencies (specified in apyproject.toml
), but they are also listed in therequirements.txt
. This leads to:even though I provide the
--no-deps
flag. With this flag, it works fine withpip
. So it seems to me like there is some conflict resolution that's taking place for the git dependencies that should not be happening with--no-deps
.Here is the full command I run:
Platform and
uv
versionI am on Linux with
uv 0.1.35
.The text was updated successfully, but these errors were encountered: