Skip to content

Add --allow-build flag & tool.pywrangler setting#144

Merged
hoodmane merged 1 commit into
cloudflare:mainfrom
hoodmane:allow-build
Jul 8, 2026
Merged

Add --allow-build flag & tool.pywrangler setting#144
hoodmane merged 1 commit into
cloudflare:mainfrom
hoodmane:allow-build

Conversation

@hoodmane

@hoodmane hoodmane commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

By default we pass --no-build because building a binary Pyodide wheel will fail in a confusing way. This makes it annoying to work with local packages though. This adds a --allow-build setting to override.

@hoodmane hoodmane force-pushed the allow-build branch 2 times, most recently from 90fcf69 to 0dbc9b5 Compare July 2, 2026 14:26
Comment thread packages/cli/src/pywrangler/resolve.py Outdated
Comment thread packages/cli/src/pywrangler/resolve.py Outdated
Comment thread packages/cli/tests/test_allow_build.py Outdated
Comment thread packages/cli/tests/test_allow_build.py Outdated
Comment thread packages/cli/tests/test_allow_build.py Outdated

@ryanking13 ryanking13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks. I guess we need a better documentation of these CLI flags, but that can be done in a separate PR.

Comment thread packages/cli/tests/test_cli.py Outdated
By default we pass `--no-build` because building a binary Pyodide wheel will
fail in a confusing way. This makes it annoying to work with local packages
though. This adds a `--allow-build` setting to override.
@hoodmane hoodmane merged commit 19fe5f1 into cloudflare:main Jul 8, 2026
14 checks passed
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.

3 participants