Demonstrate an issue with pip-tools where using backtracking resolver and
constrained requirements leads to inconsistent output for via
comments.
9142bf4
adds the 2 requirements input files8035ad9
generatesrequirements.txt
fromrequirements.in
by runningpip-compile --resolver=backtracking requirements.in
9d2c503
generates the not yet existingrequirements-dev.txt
fromrequirements-dev.in
by runningpip-compile --resolver=backtracking requirements-dev.in
798d51a
updates the existingrequirements-dev.txt
fromrequirements-dev.in
by runningpip-compile --resolver=backtracking requirements-dev.in
again
The first time requirements-dev.txt
is generated, via
comments correctly indicate that anyio
, idna
and sniffio
are constrained by requirements.txt
, but when re-running the command with an already existing requirements-dev.txt
file, the references to requirements.txt
are removed.