From e4af5e6126153825a952344c419ca570d665a4a1 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Sat, 27 Jun 2026 15:23:10 -0400 Subject: [PATCH] [no ci] Enhance build workflow with custom cryptography wheels Added conditional installation for custom cryptography wheels on macOS and Windows ARM64. --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a9cfca1..11ecca12 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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]