Requirements File Providing global-option to Incorrect Requirements #3830
Labels
auto-locked
Outdated issues that have been locked by automation
type: bug
A confirmed bug or unintended behavior
Description:
A requirements file containing a --global-option passes that option to requirements other than that on which it was specified. This file will therefore fail:
With the error:
What I've Run:
I have created a small repository to reproduce the error:
https://github.com/jayfo/pip-requirements-bug
The current state of the repository is trivial. I have submitted two pull requests.
The pull which lists the global-option requirement first, as above, fails:
https://github.com/jayfo/pip-requirements-bug/pull/2
Swapping the order is enough in this case, as this passes:
https://github.com/jayfo/pip-requirements-bug/pull/1
The text was updated successfully, but these errors were encountered: