Skip to content

Per requirements --config-settings #11325

Closed
@sbidoul

Description

@sbidoul

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: build logicStuff related to metadata generation / wheel generationtype: feature requestRequest for a new feature

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions