@@ -51,16 +51,17 @@ jobs:
5151
5252 - name : Build + auditwheel
5353 run : |
54+ # manylinux2014_aarch64:latest dropped cp37 after CentOS7 EOL (Jun 2024).
55+ # Pin to last dated tag confirmed to include cp37-cp37m.
5456 podman run --rm --platform linux/arm64 \
5557 -v ${{ github.workspace }}:/io \
56- quay.io/pypa/manylinux2014_aarch64:latest \
58+ quay.io/pypa/manylinux2014_aarch64:2022-07-17-51324db \
5759 /bin/bash -c "
58- # python-build-standalone has no py3.7 aarch64 build.
59- # manylinux2014_aarch64 ships a native aarch64 cp37 at a known path.
60+ set -e
6061 PY=/opt/python/cp37-cp37m/bin/python3
61- \$PY -m pip install build --quiet &&
62- cd /io &&
63- \$PY -m build --wheel --outdir /io/dist-raw/ &&
62+ \$PY -m pip install build --quiet
63+ cd /io
64+ \$PY -m build --wheel --outdir /io/dist-raw/
6465 auditwheel repair /io/dist-raw/*.whl -w /io/dist/
6566 "
6667
9697 name : wheel-linux-x86_64-musl
9798 path : dist/*.whl
9899
99- # ── Linux aarch64 musllinux (cp37-abi3) ────────────────────────────── ───
100+ # ── Linux aarch64 musllinux (cp38+ only — musllinux never shipped cp37) ───
100101 build-linux-aarch64-musl :
101102 name : " linux aarch64 musl"
102103 runs-on : [self-hosted, Linux, X64]
@@ -107,16 +108,19 @@ jobs:
107108
108109 - name : Build + auditwheel
109110 run : |
111+ # musllinux images never included cp37 — earliest is cp38.
112+ # Use cp38 here; the wheel will still install fine on py37 if your
113+ # package declares python_requires correctly and has no C extensions,
114+ # or ship this as a py38+ musllinux wheel alongside the glibc cp37 one.
110115 podman run --rm --platform linux/arm64 \
111116 -v ${{ github.workspace }}:/io \
112117 quay.io/pypa/musllinux_1_2_aarch64:latest \
113118 /bin/bash -c "
114- # python-build-standalone has no py3.7 aarch64 build.
115- # musllinux_1_2_aarch64 ships a native aarch64 cp37 at a known path.
116- PY=/opt/python/cp37-cp37m/bin/python3
117- \$PY -m pip install build --quiet &&
118- cd /io &&
119- \$PY -m build --wheel --outdir /io/dist-raw/ &&
119+ set -e
120+ PY=/opt/python/cp38-cp38/bin/python3
121+ \$PY -m pip install build --quiet
122+ cd /io
123+ \$PY -m build --wheel --outdir /io/dist-raw/
120124 auditwheel repair /io/dist-raw/*.whl -w /io/dist/
121125 "
122126
0 commit comments