Files included relatively in requirements.in
file gets converted to absolute paths
#13055
Closed
1 task done
Labels
resolution: wrong project
Should be reported elsewhere
Description
With the latest release (24.3.1), pip-compile produces requirements.txt file with absolute paths to all the incudeded requirements.in files. This makes it difficult to reuse across different users and different machines.
With 24.2
With 24.3.1
Expected behavior
It should retain the relative paths only to make the generated files reusable.
pip version
24.3.1
Python version
3.12.4
OS
MacOS 15.0.1
How to Reproduce
pip install pip==24.2
pip-compile requirements_dev.in
will produce the content ofrequirements_dev-24.2.txt
withpip install pip==24.3.1
pip-compile requirements_dev.in
will produce the content ofrequirements_dev-24.3.1.txt
withOutput
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: