Per requirements --config-settings · Issue #11325 · pypa/pip (original) (raw)

What's the problem this feature will solve?

Currently we can specify --install-options and --global-options per requirement in requirement files.

These options are on the way to deprecation as they trigger the legacy setup.py install code path.

Towards #8102.

Describe the solution you'd like

Allow --config-settings on requirement lines so they can be passed to the build backend.

Evaluate automatically activating PEP 517 build for requirements with such options.

Alternative Solutions

Do not allow configuring build settings per requirements.

Additional context

#9422 (comment)

Code of Conduct