pip/src/pip/_internal
Pradyun Gedam 611e9253ff
Filter out build requirements that require an extra to be used
There is no mechanism provided for build requirements to have extras.

It should be acceptable to enforce that any "optional" packages
that are supposed to be conditionally installed based on the presence of
an extra should not be installed in a build environment.
2022-05-12 01:04:11 +01:00
..
cli Merge pull request #11059 from pfmoore/config_settings 2022-04-29 12:58:32 +01:00
commands Merge pull request #11059 from pfmoore/config_settings 2022-04-29 12:58:32 +01:00
distributions Validate build deps when `--no-build-isolation` is passed (#10886) 2022-02-18 14:58:40 +00:00
index More structured link evaluation result 2022-03-10 20:41:26 +08:00
locations Replace Iterator[T] with Generator[T,None, None] (#11007) 2022-04-09 16:11:58 +01:00
metadata Enable importlib.metadata backend on Python 3.11 2022-05-10 13:34:43 -04:00
models Remove resolved_revision from DirectUrl VcsInfo 2022-04-18 13:56:22 +02:00
network Replace Iterator[T] with Generator[T,None, None] (#11007) 2022-04-09 16:11:58 +01:00
operations Replace Iterator[T] with Generator[T,None, None] (#11007) 2022-04-09 16:11:58 +01:00
req Merge pull request #11085 from pypa/revert-10962-fix-hashes 2022-05-09 08:38:51 +01:00
resolution Revert "Filter available distributions using hash declarations from constraints files (#10962)" 2022-05-03 17:50:21 +01:00
utils Revert "Filter available distributions using hash declarations from constraints files (#10962)" 2022-05-03 17:50:21 +01:00
vcs Merge pull request #10795 from pradyunsg/better-subprocess-errors 2022-01-27 07:09:18 +00:00
__init__.py Merge pull request #9450 from minrk/custom-log-level 2021-06-11 19:05:56 +08:00
build_env.py Filter out build requirements that require an extra to be used 2022-05-12 01:04:11 +01:00
cache.py Reformat the codebase, with black 2021-08-20 13:37:49 +01:00
configuration.py provide a better error message for "pip config get index-url" 2022-04-29 22:51:16 -05:00
exceptions.py Drop the doctype check (#10906) 2022-02-27 12:39:06 +00:00
main.py Move many type comments to annotations 2021-08-10 07:12:32 -07:00
pyproject.py Fallback to pyproject.toml-based builds if setuptools cannot be imported (#10717) 2022-04-23 15:56:59 +01:00
self_outdated_check.py Use `python -m pip` for the upgrade prompt on Windows 2022-04-23 12:30:43 +01:00
wheel_builder.py Require every `call_subprocess` call-site to pass `command_desc` 2022-01-25 01:38:22 +00:00