Make pip-compile compatible with parse_requirements() from setuptools #1280
Labels
feature
Request for a new feature
setuptools
Related to compiling requirements with `setuptools` build backend
What's the problem this feature will solve?
I'd like
pip-compile
to be compatible withparse_requirements
from setuptools. It doesn't support multiple line continuations in hashes.Describe the solution you'd like
I'd like to add a cli option to generate hashes without line continuations. Would patch with additional cli option be accepted?
Alternative Solutions
sed ':a;N;$!ba;s/\\\n/ /g' requirements.txt
before passing requirements toparse_requirements
.Additional context
pypa/setuptools#2422
The text was updated successfully, but these errors were encountered: