-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
auto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behaviorA confirmed bug or unintended behavior
Description
- Pip version: 10
- Python version: 3.6
- Operating system: Arch Linux
Description:
For the same underlying reasons as #5230, extras in build requirements are simply ignored.
Steps to reproduce:
> rm -rf sample_project
> mkdir sample_project
> printf 'import setuptools; setuptools.setup(name="sample_project", version="0.1")\n' >sample_project/setup.py
> printf '[build-system]\nrequires = ["wheel", "setuptools", "requires_simple_extra[extra]"]\n' >sample_project/pyproject.toml
> rm -rf tmp && PYTHONPATH=$PWD/src python -m pip install -t tmp -f tests/data/packages/ ./sample_project
Looking in links: tests/data/packages/
Processing ./sample_project
Installing build dependencies ... done
Building wheels for collected packages: sample-project
Running setup.py bdist_wheel for sample-project ... done
Stored in directory: /tmp/pip-ephem-wheel-cache-y9t4gjis/wheels/f1/39/94/a966d73011f6634dd4d5546764ef9d85816b44b36f176032a5
Successfully built sample-project
Installing collected packages: sample-project
Successfully installed sample-project-0.1
The last command should fail because tests/data/packages
does not contain a wheel for simple==1.0
.
Metadata
Metadata
Assignees
Labels
auto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behaviorA confirmed bug or unintended behavior