Skip to content

Deprecation: subprocess based build dependency installation & PIP_CONSTRAINT for build dependencies #13787

@ichard26

Description

@ichard26

The PIP_CONSTRAINT environment variable affecting build dependencies is deprecated and slated for removal in pip 26.1.

In addition, there is an alternative installation flow for build dependencies - inprocess-build-deps which will install build dependencies in the same main pip install/wheel/whatever process. It's currently experimental, gated by inprocess-build-deps, but I'd like to enable it by default in a future pip release. Perhaps pip 26.1 or 26.2? This feature depends on --build-constraint FWIW.

Once both are fully desupported, we can remove a bunch of janky code. These issues will also be resolved:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions