-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
state: awaiting PRFeature discussed, PR is neededFeature discussed, PR is neededtype: feature requestRequest for a new featureRequest for a new feature
Description
What's the problem this feature will solve?
Prevent builds from running when all required build dependencies are not present.
Describe the solution you'd like
pip fails to build with a descriptive message when a build dependency is missing, providing a nicer user experience (IMHO).
Alternative Solutions
- Use python-build which does exactly that.
- Manually parse pyproject.toml + generate egg info, get additional build requires and validate those are in the environment.
Additional context
I see the pip docs on --no-build-isolation state "Build dependencies specified by PEP 518 must be already installed if this option is used.". I was wondering whether pip would like to mimic the behaviour that python-build has on --no-isolation(Fail nicely if build dependencies are not present) and if so I'm happy to try and push a patch.
Related: #6718
Metadata
Metadata
Assignees
Labels
state: awaiting PRFeature discussed, PR is neededFeature discussed, PR is neededtype: feature requestRequest for a new featureRequest for a new feature