From b63e3ac734167d3050cfadecfa906a635bb6825e Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 29 Aug 2024 07:03:42 -0400 Subject: [PATCH] Ensure build dependencies are pinned in wheel builder --- .github/workflows/wheel-builder.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 8224a8a308e7..db036b965f43 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -135,7 +135,7 @@ jobs: source .venv/bin/activate OPENSSL_DIR="/opt/pyca/cryptography/openssl" \ OPENSSL_STATIC=1 \ - .venv/bin/python -m pip wheel -v --no-deps $PY_LIMITED_API cryptograph*.tar.gz -w dist/ + .venv/bin/python -m pip wheel -c ${{ env.BUILD_REQUIREMENTS_PATH }} -v --no-deps $PY_LIMITED_API cryptograph*.tar.gz -w dist/ mv dist/cryptography*.whl tmpwheelhouse env: RUSTUP_HOME: /root/.rustup @@ -256,7 +256,7 @@ jobs: source venv/bin/activate OPENSSL_DIR="$(readlink -f ../openssl-macos-universal2/)" \ OPENSSL_STATIC=1 \ - venv/bin/python -m pip wheel -v --no-deps $PY_LIMITED_API cryptograph*.tar.gz -w dist/ + venv/bin/python -m pip wheel -c ${{ env.BUILD_REQUIREMENTS_PATH }} -v --no-deps $PY_LIMITED_API cryptograph*.tar.gz -w dist/ mv dist/cryptography*.whl wheelhouse env: MACOSX_DEPLOYMENT_TARGET: ${{ matrix.PYTHON.DEPLOYMENT_TARGET }} @@ -346,7 +346,7 @@ jobs: PY_LIMITED_API="--config-settings=build-args=--features=pyo3/abi3-${{ matrix.PYTHON.ABI_VERSION }} --no-build-isolation" fi - python -m pip wheel -v --no-deps cryptography*.tar.gz $PY_LIMITED_API -w dist/ + python -m pip wheel -c ${{ env.BUILD_REQUIREMENTS_PATH }} -v --no-deps cryptography*.tar.gz $PY_LIMITED_API -w dist/ mv dist/cryptography*.whl wheelhouse/ shell: bash - run: pip install -f wheelhouse --no-index cryptography