Force reinstall pyscard in build workflow

This commit is contained in:
Jay Lee
2025-10-31 12:04:08 -04:00
committed by GitHub
parent 2ac6e361f0
commit 6d07329e21

View File

@@ -488,7 +488,7 @@ jobs:
if [[ "$RUNNER_OS" == "Windows" ]]; then
# pyscard seems to build outside venv but not in it.
# build it so it's cached.
"$PYTHON" -m pip install --upgrade pyscard
"$PYTHON" -m pip install --upgrade --force-reinstall pyscard
export PYTHON="${GITHUB_WORKSPACE}/venv/scripts/python.exe"
else
export PYTHON="${GITHUB_WORKSPACE}/venv/bin/python3"