@@ -71,34 +71,32 @@ jobs:
7171 name : Build ${{ matrix.target }}
7272 needs : verify-version
7373 runs-on : ${{ matrix.runner }}
74- container : ${{ matrix.container }}
7574 strategy :
7675 fail-fast : false
7776 matrix :
7877 include :
78+ # Linux builds use ubuntu-22.04 (glibc 2.35) rather than a manylinux
79+ # container: manylinux ships a static CPython without libpython*.so,
80+ # which PyInstaller cannot embed. The glibc-2.35 floor still covers
81+ # Ubuntu 22.04+, Debian 12+, RHEL 9+, and all current modern distros.
7982 - target : linux-amd64
80- runner : ubuntu-latest
81- container : quay.io/pypa/manylinux_2_28_x86_64
83+ runner : ubuntu-22.04
8284 ext : ' '
8385 archive : tar.gz
8486 - target : linux-arm64
85- runner : ubuntu-24.04-arm
86- container : quay.io/pypa/manylinux_2_28_aarch64
87+ runner : ubuntu-22.04-arm
8788 ext : ' '
8889 archive : tar.gz
8990 - target : darwin-amd64
9091 runner : macos-13
91- container : ' '
9292 ext : ' '
9393 archive : tar.gz
9494 - target : darwin-arm64
9595 runner : macos-latest
96- container : ' '
9796 ext : ' '
9897 archive : tar.gz
9998 - target : windows-amd64
10099 runner : windows-latest
101- container : ' '
102100 ext : ' .exe'
103101 archive : zip
104102
@@ -108,25 +106,7 @@ jobs:
108106 ref : ${{ needs.verify-version.outputs.tag }}
109107 fetch-depth : 0 # setuptools-scm needs full history + tags
110108
111- # Inside the manylinux container the workspace is owned by a different
112- # UID than root, so git refuses to read it ("dubious ownership") and
113- # setuptools-scm version resolution fails during pip install.
114- - name : Mark workspace as safe for git (container)
115- if : matrix.container != ''
116- shell : bash
117- run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
118-
119- # manylinux images ship multiple Pythons under /opt/python; expose one.
120- - name : Configure Python (manylinux container)
121- if : matrix.container != ''
122- shell : bash
123- run : |
124- PY=/opt/python/cp311-cp311/bin
125- echo "$PY" >> "$GITHUB_PATH"
126- "$PY/python" -m pip install --upgrade pip
127-
128- - name : Setup Python (host runner)
129- if : matrix.container == ''
109+ - name : Setup Python
130110 uses : actions/setup-python@v5
131111 with :
132112 python-version : ${{ env.PYTHON_VERSION }}
0 commit comments