-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed as not planned
Labels
C: PEP 517 impactAffected by PEP 517 processingAffected by PEP 517 processingC: requirement fileUsing `requirements.txt`Using `requirements.txt`
Description
Environment
- pip version: 19.1
- Python version: 3.6.7, 2.7.15
- OS: any
Description
Specifying the option --no-use-pep517 in a requirements file results in
ERROR: Invalid requirement: --no-use-pep517 docopt
pip: error: no such option: --no-use-pep517
Expected behavior
Package is installed not using PEP 517
How to Reproduce
- Have this requirements file:
--no-use-pep517 docopt
- Run
pip install -r requirements.txt(removing the option form the file and passing it directly works normal)
Output
pip install -r requirements.txt
Usage: pip [options]
ERROR: Invalid requirement: --no-use-pep517 docopt
pip: error: no such option: --no-use-pep517
This Issue regards specifying --no-use-pep517 inside a single requirement file. It is related to #6433, where it fails when we have nested requirement files and specify the option outside of them, i.e. give it directly as an argument to the pip invocation.
tom-dalton-fanduel, ionelmc and diallobakary4salihkaragoz
Metadata
Metadata
Assignees
Labels
C: PEP 517 impactAffected by PEP 517 processingAffected by PEP 517 processingC: requirement fileUsing `requirements.txt`Using `requirements.txt`