--install-options in requirements.txt are being applied to the wrong packages #5795
Labels
auto-locked
Outdated issues that have been locked by automation
C: requirement file
Using `requirements.txt`
state: needs discussion
This needs some more discussion
Environment
Description
I have the following in requirements.txt:
django-pyodbc-azure==1.11.12.1
rcssmin==1.0.6 --install-option="--without-c-extensions"
rjsmin==1.0.12 --install-option="--without-c-extensions"
on pip 18.0, this will not install, because the django-pyodbc-azure line fails with "Could not find a version that satisfies the requirement"
If I remove the 2 packages with the --install-options options, then django-pyodbc-azure installs fine straight away. I can then restore the 2 packages with --install-options and they install fine as well.
Expected behavior
--install-options should only apply to the line in requirements.txt with the option, not to other lines
How to Reproduce
See description
The text was updated successfully, but these errors were encountered: