Skip to content

Add a new Pyodide version 314.0.5 - #7046

Open
ryanking13 wants to merge 1 commit into
mainfrom
gyeongjae/pyodide-314.0.5
Open

Add a new Pyodide version 314.0.5#7046
ryanking13 wants to merge 1 commit into
mainfrom
gyeongjae/pyodide-314.0.5

Conversation

@ryanking13

@ryanking13 ryanking13 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Adds a new Pyodide version 314.0.5.

314.0.5 includes a fix related to the stack switching, and since we already released 314.0.4 to public, this introduces a new compat flag python_workers_20260817 to enable 314.0.5.

@ryanking13
ryanking13 requested review from a team as code owners August 18, 2026 14:14
@ask-bonk

ask-bonk Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Model not found: cloudflare-ai-gateway/anthropic/claude-opus-4-6. Did you mean: anthropic/claude-opus-4.5, anthropic/claude-opus-4.6, anthropic/claude-opus-4.7?

github run

@ask-bonk

ask-bonk Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

@ryanking13 Bonk workflow failed. Check the logs for details.

View workflow run · To retry, trigger Bonk again.

Comment thread build/python_metadata.bzl
Comment on lines +230 to +234
DEFAULT_PYTHON_TEST_FLAGS = [
entry["flag"]
for entry in BUNDLE_VERSION_INFO.values()
if entry.get("test_by_default") != False
]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Previously we ran tests for all Pyodide versions, but since 314.0.5 are basically equal to 314.0.4, and since 314.0.4 will not be enabled by default, I introduced test_by_default key to skip testing 314.0.4 in CI by default.

@ryanking13
ryanking13 force-pushed the gyeongjae/pyodide-314.0.5 branch from 4f2a277 to 19c349c Compare August 18, 2026 14:23
@codspeed-hq

codspeed-hq Bot commented Aug 18, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 2.81%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
❌ 2 regressed benchmarks
✅ 69 untouched benchmarks
⏩ 129 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
request[RegExpBenchmark] 4.1 ms 4.5 ms -8.82%
simpleStringBody[Response] 22.5 µs 24.6 µs -8.58%
bm_Promise_Fib10 20.3 µs 18.5 µs +10.12%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing gyeongjae/pyodide-314.0.5 (19c349c) with main (479771c)

Open in CodSpeed

Footnotes

  1. 129 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@ryanking13
ryanking13 force-pushed the gyeongjae/pyodide-314.0.5 branch from 19c349c to 1e472a2 Compare August 19, 2026 04:41

@petebacondarwin petebacondarwin 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.

Not sure why wrangler team was tagged for this but approving to unblock.

pythonWorkers20260610 @179 :Bool
$compatEnableFlag("python_workers_20260610")
$compatDisableFlag("no_python_workers_20260610")
$impliedByAfterDate(name = "pythonWorkers", date = "2026-08-25")

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.

I guess this is not a breaking change as we have not hit this date yet?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yeah, that version had an issue, so we want to drop it. I guess it is okay because that date is not reached yet.

@ryanking13

Copy link
Copy Markdown
Contributor Author

Not sure why wrangler team was tagged for this but approving to unblock.

I think it is because wrangler team is a code owner of GHA workflows and this PR updates one workflow.

@dom96 dom96 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.

Looks good.

Be sure to update workers-py with this too (since it defines the enable dates and compat flag names for 3.14).

pythonWorkers20260817 @187 :Bool
$compatEnableFlag("python_workers_20260817")
$compatDisableFlag("no_python_workers_20260817")
$experimental

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.

shall we give this one a default enable date immediately?

return loop.run_until_complete(foo)
finally:
loop.close()
asyncio.set_event_loop(previous_loop)

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.

Nice, thanks for adding this test!

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