Skip to content

fix(ci): bundle the C++ runtime in the Linux wheels (auditwheel); version 0.9.7 - #12

Merged
jcschaff merged 3 commits into
masterfrom
fix/linux-wheel-auditwheel
Oct 24, 2026
Merged

jcschaff merged 3 commits into
masterfrom
fix/linux-wheel-auditwheel

Conversation

@jcschaff

Copy link
Copy Markdown
Member

Problem. pyvcell-odesolver 0.9.6's Linux wheels don't load on a stock Linux:

OSError: libc++.so.1: cannot open shared object file: No such file or directory

libIDAWin.so links clang's libc++.so.1, libc++abi.so.1 and libunwind.so.1. The Linux job retagged the wheel manylinux_2_28_* by hand (wheel tags --platform-tag) instead of running auditwheel repair, so those libraries were never bundled. The release archives don't have this problem, because package_linux.sh bundles them. pyvcell's simulate_ode tests fail on ubuntu runners for this reason (virtualcell/pyvcell#65).

Changes

  • Linux job: builds the wheel into dist/, tags it linux_<arch>, then runs auditwheel repair --plat manylinux_2_28_<arch>. It finds the three libraries in clang's resource tree, the same lookup as package_linux.sh, and auditwheel show prints the result.
  • New verify-wheels job: installs each Linux wheel into a fresh venv on clean runners (ubuntu-24.04, ubuntu-24.04-arm, rockylinux:8 for glibc 2.28). It calls version() and solves tests/reference/cvode_simple.cvodeInput, comparing against the reference output. publish-to-pypi now needs it.
  • Version 0.9.7.

Not tested locally. Docker ran out of disk pulling the fvsolver build image, so this PR's CD run is the first test.

🤖 Generated with Claude Code

jcschaff and others added 3 commits October 24, 2026 01:50
…r); version 0.9.7

The Linux wheels were hand-retagged manylinux_2_28 without auditwheel, so libIDAWin.so's libc++, libc++abi
and libunwind were never bundled and pyvcell_odesolver fails to load on a stock Linux (libc++.so.1: cannot open
shared object file). The new verify-wheels job installs each Linux wheel on clean runners and solves a reference
input.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
libc++ needs libatomic.so.1, which auditwheel leaves to the system, and a minimal Rocky 8 does not have it
(verify-wheels on rockylinux:8: libatomic.so.1: cannot open shared object file).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ired wheel put it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jcschaff
jcschaff merged commit 5f5558e into master Oct 24, 2026
22 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.

1 participant