Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the default build_frontend to be "default" (which is still "pip") #1462

Merged
merged 2 commits into from Apr 14, 2023

Conversation

hoodmane
Copy link
Contributor

@hoodmane hoodmane commented Apr 7, 2023

Instead of using pip as the default, set it to default. This way each platform can choose independently what to do as the default behavior.

This is intended as part of adding Pyodide support #1456. Pyodide cannot use pip as the build frontend. It always uses a modified pypa/build. So if the build_frontend is explicitly set to pip we want to raise an error. But if it's unset, then we should be able to tell and just do what we want.

Instead of using pip as the default, set it to default. This way
each platform can choose independently what to do as the default
behavior.

This is intended as part of adding Pyodide support. Pyodide cannot
use pip as the build frontend. It always uses a modified pypa/build.
So if the build_frontend is explicitly set to pip we want to raise
an error. But if it's unset, then we should be able to tell and just
do what we want.
cibuildwheel/util.py Outdated Show resolved Hide resolved
@joerick joerick merged commit 4a9d2a3 into pypa:main Apr 14, 2023
17 checks passed
@hoodmane hoodmane deleted the default-build-frontend branch April 14, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants