Skip to content

fix(release): build Linux binaries on native runners, drop manylinux#3

Merged
Sodawyx merged 1 commit intomainfrom
fix/release-linux-native-runners
Apr 21, 2026
Merged

fix(release): build Linux binaries on native runners, drop manylinux#3
Sodawyx merged 1 commit intomainfrom
fix/release-linux-native-runners

Conversation

@Sodawyx
Copy link
Copy Markdown
Contributor

@Sodawyx Sodawyx commented Apr 21, 2026

manylinux_2_28 ships CPython built without --enable-shared (no libpython3.11.so), which PyInstaller needs to embed into its bootloader -- so the build aborted with "Python was built without a shared library". manylinux is designed for producing wheels, not frozen apps.

Switch the linux-amd64 / linux-arm64 targets to ubuntu-22.04 / ubuntu-22.04-arm runners and rely on actions/setup-python, which provides a shared-libpython CPython. The glibc 2.35 floor still covers Ubuntu 22.04+, Debian 12+, RHEL 9+, and all current modern distros.

This also makes the previous safe.directory workaround moot (no more root-owned container vs runner-UID workspace), so the container-specific steps are removed.

manylinux_2_28 ships CPython built without --enable-shared (no
libpython3.11.so), which PyInstaller needs to embed into its bootloader
-- so the build aborted with "Python was built without a shared
library". manylinux is designed for producing wheels, not frozen apps.

Switch the linux-amd64 / linux-arm64 targets to ubuntu-22.04 /
ubuntu-22.04-arm runners and rely on actions/setup-python, which
provides a shared-libpython CPython. The glibc 2.35 floor still covers
Ubuntu 22.04+, Debian 12+, RHEL 9+, and all current modern distros.

This also makes the previous safe.directory workaround moot (no more
root-owned container vs runner-UID workspace), so the
container-specific steps are removed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Signed-off-by: Sodawyx <sodawyx@126.com>
@Sodawyx Sodawyx merged commit 346dbf8 into main Apr 21, 2026
15 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