Skip to content

pyemscripten_2026_0 (fixed whl tag) - #2

Merged
fzumstein merged 1 commit into
mainfrom
pyemscripten
Apr 11, 2026
Merged

fzumstein merged 1 commit into
mainfrom
pyemscripten

Conversation

@fzumstein

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 11, 2026 20:31
@fzumstein
fzumstein merged commit 27dffd4 into main Apr 11, 2026
3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub Actions build workflow to ensure the produced wasm wheel is consistently retagged with the intended Emscripten/Pyodide platform tag, aligning the artifact naming with the target runtime expectations.

Changes:

  • Adds a platform_tag field to the workflow matrix (with a commented example for older Pyodide).
  • Retags the generated wheel unconditionally using the matrix-provided platform_tag instead of conditional logic tied to Pyodide version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +187 to +189
python3 -m venv /tmp/wheel-retag-env
/tmp/wheel-retag-env/bin/pip install -q "wheel<0.45"
/tmp/wheel-retag-env/bin/wheel tags \

Copilot AI Apr 11, 2026

Copy link

Choose a reason for hiding this comment

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

The workflow already installs wheel<0.45 in the main Python environment (see the "Install maturin + wheel" step). Creating a separate venv and re-installing wheel here is redundant and adds extra runtime/complexity; consider reusing the existing environment and invoking python -m wheel tags ... directly (or otherwise documenting why isolation is required).

Suggested change
python3 -m venv /tmp/wheel-retag-env
/tmp/wheel-retag-env/bin/pip install -q "wheel<0.45"
/tmp/wheel-retag-env/bin/wheel tags \
python3 -m wheel tags \

Copilot uses AI. Check for mistakes.
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.

2 participants