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

Add --config-setting flag to pyodide build command. #4308

Merged
merged 6 commits into from Nov 29, 2023

Conversation

ryanking13
Copy link
Member

@ryanking13 ryanking13 commented Nov 19, 2023

Description

This PR adds --config-setting (-C) flag to pyodide build command, to make it compatible to python -m build.

Previously, we were passing any extra parameters to config-settings. For example, if someone wanted to run a build command like python -m build -C--key=value, they should have to run pyodide build --key=value. But now they can do pyodide build -C--key=value.

For backward compatibility, this PR does not drop the old behavior. So pyodide build --key=value will still work.

Related: numpy/numpy#24603 (comment)

Checklists

@ryanking13 ryanking13 added this to the 0.25.0 milestone Nov 19, 2023
Copy link
Member

@hoodmane hoodmane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ryanking13!

@ryanking13 ryanking13 merged commit 538429e into pyodide:main Nov 29, 2023
37 of 39 checks passed
@ryanking13 ryanking13 deleted the config-settings branch November 29, 2023 10:57
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

2 participants