Improve pip installation process in build workflow

Refactor pip installation steps and add cache info commands.
This commit is contained in:
Jay Lee
2025-10-28 18:54:26 -04:00
committed by GitHub
parent c8bfee9544
commit 902da7419d

View File

@@ -508,13 +508,19 @@ jobs:
"$PYTHON" -m pip install --upgrade importlib-metadata
"$PYTHON" -m pip install --upgrade setuptools-scm
"$PYTHON" -m pip install --upgrade packaging
"$PYTHON" -m pip install --upgrade uv
"$PYTHON" -m pip list
- name: Install pip requirements
run: |
"$PYTHON" -m uv pip install git+https://github.com/LudovicRousseau/pyscard.git@dabf0491fc873e4b37be173014908daff4f42ec0
"$PYTHON" -m uv pip install --upgrade ..[yubikey]
echo "before anything..."
"$PYTHON" -m pip list
echo "--info--"
"$PYTHON" -m pip cache info
echo "--list--"
"$PYTHON" -m pip cache list
"$PYTHON" -m pip install --upgrade ..[yubikey]
echo "after everything..."
"$PYTHON" -m pip list
- name: Install PyInstaller
if: matrix.goal == 'build'