From 6e296e0f2d07a730b863f3bf86e585b6bd974ada Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Sat, 27 Jun 2026 15:16:07 -0400 Subject: [PATCH] Clean up build.yml by removing ykman hack Removed workaround for ykman cryptography dependency. --- .github/workflows/build.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa600e1a..3a9cfca1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -539,14 +539,6 @@ jobs: gh release download --repo "jay0lee/cryptography-wheels" --pattern "*win_arm64.whl" --clobber "$PYTHON" -m pip install cryptography-*.whl fi - - # HACK HACK HACK - # force ykman to accept cryptography 49+. Can be removed - # once ykman upgrades to cryptograhy 49. - "$PYTHON" -m pip install yubikey-manager==5.9.1 --no-deps - # 2. Patch the ykman METADATA file to strip the cryptography constraint - "$PYTHON" -c 'import re; from importlib.metadata import distribution as d; p=[f.locate() for f in d("yubikey-manager").files if f.name=="METADATA"][0]; c=open(p).read(); open(p,"w").write(re.sub(r"(Requires-Dist:\s*cryptography)[^;\n]*", r"\1", c))' - "$PYTHON" -m pip install ..[yubikey] - name: Install PyInstaller