Skip to content

ci: pin numpy-cp312 to cvc.6, its last JS-exceptions wasm bundle, until JX2 - #1445

Closed
transfix wants to merge 1 commit into
masterfrom
ci/pin-numpy-cvc6
Closed

transfix wants to merge 1 commit into
masterfrom
ci/pin-numpy-cvc6

Conversation

@transfix

Copy link
Copy Markdown
Owner

Master's ariglx-web is red, and that's a required check. numpy-cp312 2.4.6+cvc.7 was published for wasm and wasm-mt on 2026-11-21 at 23:43Z (cy-pca/cvcpkg#633, for JX2's #1409) and is built with -fwasm-exceptions. libcvc on master still links ariglx with Emscripten's JS exceptions, so every ariglx-web job since then fails to link bin/ariglx.js:

wasm-ld: error: .../numpy/_core/_multiarray_umath.cpython-312-wasm32-emscripten.so: undefined symbol: __cpp_exception

__wasm_lpad_context and _Unwind_CallPersonality are undefined too, in _pocketfft_umath as well. This is the two-way break that .github/scripts/pin-wasm-pre-jx1.sh (#1360) exists for. The numpy pin should have landed before the publish.

The fix

The pin script now puts numpy-cp312 cvc.6 back. That's the last JS-exceptions bundle on both columns, the one ariglx-web linked through #1417. It's one entry in PINS and a comment, cherry-picked from the ID4 session's commit 4fb5a72 on #1441. That commit checked the pin locally on wasm and wasm-mt: with cvc.7 installed, 2 of numpy's 19 extensions import __cpp_exception. After the script runs, the lockfile says cvc.6 and none do.

#1441 carries the identical change, so whichever merges second merges cleanly. #1409 (JX2) deletes the script and its calls, and it links cvc.7.

This PR's own ariglx-web jobs are the check.

…il JX2

numpy-cp312 2.4.6+cvc.7 was published for wasm and wasm-mt on 2026-11-21 (23:43Z), built with
-fwasm-exceptions for JX2 (#1409). libcvc still links ariglx with Emscripten's JS exceptions, so
every ariglx-web job that has installed it since fails to link bin/ariglx.js:

  wasm-ld: error: .../numpy/_core/_multiarray_umath.cpython-312-wasm32-emscripten.so:
    undefined symbol: __cpp_exception (also __wasm_lpad_context, _Unwind_CallPersonality)

pin-wasm-pre-jx1.sh now puts cvc.6 back, as it does for the JX1 bundles. cvc.6 is the bundle
#1417's ariglx-web jobs linked on both columns. Checked locally on wasm and wasm-mt: with cvc.7
installed, 2 of numpy's 19 extensions import __cpp_exception; after the script, the lockfile
says cvc.6 and none do. JX2 deletes the script and its calls.
transfix added a commit that referenced this pull request Nov 22, 2026
JX2 deletes .github/scripts/pin-wasm-pre-jx1.sh, where 7090d8e (cherry-picked
from #1445) pinned numpy-cp312 to cvc.6. With JX2's wasm exceptions, master
links cvc.7, so the pin is moot: the deletion is taken.
@transfix

Copy link
Copy Markdown
Owner Author

Closing: #1409 (JX2) merged to master as d6b0bb8 and moved libcvc's wasm build to wasm exceptions, which matches numpy-cp312 2.4.6+cvc.7. It also deleted .github/scripts/pin-wasm-pre-jx1.sh along with every call to it, so this pin is no longer needed and now conflicts with master.

@transfix transfix closed this Nov 22, 2026
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.

1 participant