Skip to content

Deprecate call to setup.py install when building a wheel failed for source distributions without pyproject.toml #8368

Closed
@sbidoul

Description

@sbidoul

This is one of a series of deprecations meant to collect feedback on the ultimate goal of always installing source distributions by first building a wheel and then installing from it.

This specific issue is about the case when pip calls setup.py bdist_wheel and that fails.
In that case, pip currently displays the build error and continues installation by attempting a setup.py install.

In a future version, pip will not attempt setup.py install in that case, and fail the installation right away.

Towards #8102

Metadata

Metadata

Assignees

Labels

C: build logicStuff related to metadata generation / wheel generationproject: setuptoolsRelated to setuptoolstype: deprecationRelated to deprecation / removal.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions