[no ci] Enhance build workflow with custom cryptography wheels

Added conditional installation for custom cryptography wheels on macOS and Windows ARM64.
This commit is contained in:
Jay Lee
2026-06-27 15:23:10 -04:00
committed by GitHub
parent 6e296e0f2d
commit e4af5e6126

View File

@@ -538,6 +538,10 @@ jobs:
# https://github.com/pyca/cryptography/issues/14293
gh release download --repo "jay0lee/cryptography-wheels" --pattern "*win_arm64.whl" --clobber
"$PYTHON" -m pip install cryptography-*.whl
elif [[ "$RUNNER_OS" == "macOS" && "$RUNNER_ARCH" == "x86_64" ]]; then
# custom cryptography wheel for macos x86_64 since it's no longer standard
gh release download --repo "jay0lee/cryptography-wheels" --pattern "*macosx_15_0_x86_64.whl" --clobber
"$PYTHON" -m pip install cryptography-*.whl
fi
"$PYTHON" -m pip install ..[yubikey]