pdm export --self
is incompatible with hashes (no --without-hashes
)
#2908
Labels
🐛 bug
Something isn't working
Steps to reproduce
pdm add requests pdm export --self -o requirements.txt
The command creates this file
Actual behavior
Feeding this file into
pip install -r
will create an error, likely due to pypa/pip#4995Expected behavior
I believe a warning should be displayed when
--self
is used without--no-hashes
, as it will create a file which does not work with pip. The same should be done for any VCS or file:// dependencies.The text was updated successfully, but these errors were encountered: