Hello,
via tox with tox-uv, I got different environment packges as compared to tox without tox-uv.
This can be reproduced out of tox and summarized to the following situation:
- package
A depends on B
- the last release of
A on PyPI is 2.X.Y which depends on B==1
- the development version of
A in git depends on B==2
requirements.txt (generated with uv pip compile) contains:
- in a fresh environment
- first,
uv pip install -r requirements.txt installs:
A==2.X.Y.dev219+g852ddbeb
B==2
- then,
uv pip install 'A>=2' installs
- with
pip, the last command does not update A and B in the environment.
Is this intended?
If yes, is there a workaround to get the same behavior as pip?
Hello,
via
toxwithtox-uv, I got different environment packges as compared totoxwithouttox-uv.This can be reproduced out of
toxand summarized to the following situation:Adepends onBAon PyPI is2.X.Ywhich depends onB==1Ain git depends onB==2requirements.txt(generated withuv pip compile) contains:A @ git+https://...B==2uv pip install -r requirements.txtinstalls:A==2.X.Y.dev219+g852ddbebB==2uv pip install 'A>=2'installsA==2.X.YB==1pip, the last command does not updateAandBin the environment.Is this intended?
If yes, is there a workaround to get the same behavior as
pip?