Skip to content

Option --no-use-pep517 not supported in requirement files #6438

Open
@con-f-use

Description

@con-f-use

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

  1. Have this requirements file:
--no-use-pep517 docopt
  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions