From ab83d0204fcd16b64fb563da69701fa19145dcb2 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Tue, 28 Oct 2025 19:04:55 -0400 Subject: [PATCH] Add conditional pyscard installation in build workflow Add conditional installation of pyscard from GitHub for non-Windows runners. --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7cb6f970..efdb0140 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -518,6 +518,10 @@ jobs: "$PYTHON" -m pip cache info echo "--list--" "$PYTHON" -m pip cache list + if [[ "$RUNNER_OS" != "Windows" ]]; then + # hack till pyscard wheels are updated + "$PYTHON" -m pip install --upgrade --force-reinstall git+https://github.com/LudovicRousseau/pyscard.git@dabf0491fc873e4b37be173014908daff4f42ec0 + fi "$PYTHON" -m pip install --upgrade ..[yubikey] echo "after everything..." "$PYTHON" -m pip list