Skip to content

Commit 1e003ee

Browse files
authored
Use manylinux-entrypoint script for linux wheel builds (#13253)
See pypa/manylinux#1825 (comment) for an explanation of why we need to use this.
1 parent 42c2d8f commit 1e003ee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/wheel-builder.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,12 @@ jobs:
156156
PY_LIMITED_API="--config-settings=build-args=--features=pyo3/abi3-${{ matrix.PYTHON.ABI_VERSION }}"
157157
fi
158158
159+
# The manylinux-entrypoint script accounts for uname issues, otherwise
160+
# the platform tag on armv7 wheels might be tagged as aarch64 under
161+
# docker running on an arm64 CPU
159162
OPENSSL_DIR="/opt/pyca/cryptography/openssl" \
160163
OPENSSL_STATIC=1 \
161-
uv build --python=/opt/python/${{ matrix.PYTHON.VERSION }}/bin/python --wheel --require-hashes --build-constraint=$BUILD_REQUIREMENTS_PATH $PY_LIMITED_API cryptography*.tar.gz -o tmpwheelhouse/
164+
manylinux-entrypoint uv build --python=/opt/python/${{ matrix.PYTHON.VERSION }}/bin/python --wheel --require-hashes --build-constraint=$BUILD_REQUIREMENTS_PATH $PY_LIMITED_API cryptography*.tar.gz -o tmpwheelhouse/
162165
env:
163166
RUSTUP_HOME: /root/.rustup
164167
- run: auditwheel repair --plat ${{ matrix.MANYLINUX.NAME }} tmpwheelhouse/cryptography*.whl -w wheelhouse/

0 commit comments

Comments
 (0)