actions: revert uv usage for 2 week dep delay
Some checks failed
Build and test GAM / build (false, build, 1, Build Intel Ubuntu Jammy, ubuntu-22.04) (push) Has been cancelled
Build and test GAM / build (false, build, 10, Build x86_64 macOS 15, macos-15-intel) (push) Has been cancelled
Build and test GAM / build (false, build, 11, Build x86_64 macOS 26, macos-26-intel) (push) Has been cancelled
Build and test GAM / build (false, build, 12, Build Arm MacOS 26, macos-26) (push) Has been cancelled
Build and test GAM / build (false, build, 13, Build Intel Windows, windows-2025-vs2026) (push) Has been cancelled
Build and test GAM / build (false, build, 14, Build Arm Windows, windows-11-arm) (push) Has been cancelled
Build and test GAM / build (false, build, 2, Build Intel Ubuntu Noble, ubuntu-24.04) (push) Has been cancelled
Build and test GAM / build (false, build, 3, Build Arm Ubuntu Noble, ubuntu-24.04-arm) (push) Has been cancelled
Build and test GAM / build (false, build, 4, Build Arm Ubuntu Jammy, ubuntu-22.04-arm) (push) Has been cancelled
Build and test GAM / build (false, build, 5, Build Intel StaticX Legacy, ubuntu-22.04, yes) (push) Has been cancelled
Build and test GAM / build (false, build, 6, Build Arm StaticX Legacy, ubuntu-22.04-arm, yes) (push) Has been cancelled
Build and test GAM / build (false, build, 8, Build Arm MacOS 14, macos-14) (push) Has been cancelled
Build and test GAM / build (false, build, 9, Build Arm MacOS 15, macos-15) (push) Has been cancelled
Build and test GAM / build (false, test, 15, Test Python 3.10, ubuntu-24.04, 3.10) (push) Has been cancelled
Build and test GAM / build (false, test, 16, Test Python 3.11, ubuntu-24.04, 3.11) (push) Has been cancelled
Build and test GAM / build (false, test, 17, Test Python 3.12, ubuntu-24.04, 3.12) (push) Has been cancelled
Build and test GAM / build (false, test, 18, Test Python 3.13, ubuntu-24.04, 3.13) (push) Has been cancelled
Build and test GAM / build (false, test, 19, Test Python 3.15-dev, ubuntu-24.04, 3.15-dev) (push) Has been cancelled
Build and test GAM / build (true, test, 20, Test Python 3.14 freethread, ubuntu-24.04, 3.14) (push) Has been cancelled
Build and test GAM / publish (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Check for Google Root CA Updates / check-certs (push) Has been cancelled
Quarantined Dependency Upgrade / upgrade-dependencies (push) Has been cancelled

Replaced 'uv' with 'pip' for package installations in the build workflow.
This commit is contained in:
Jay Lee
2026-05-15 16:19:18 -04:00
committed by GitHub
parent 425286482f
commit a06348c1c5

View File

@@ -515,16 +515,14 @@ jobs:
curl -o get-pip.py https://bootstrap.pypa.io/get-pip.py
"$PYTHON" get-pip.py
"$PYTHON" -m venv .venv
"$PYTHON" -m pip install uv
if [[ "$RUNNER_OS" == "Windows" ]]; then
# pyscard seems to build outside venv but not in it.
# build it so it's cached.
"$PYTHON" -m uv pip install --upgrade pyscard --exclude-newer "$DEPS_CUTOFF"
"$PYTHON" -m pip install --upgrade pyscard
export PYTHON="${GITHUB_WORKSPACE}/.venv/scripts/python.exe"
else
export PYTHON="${GITHUB_WORKSPACE}/.venv/bin/python3"
fi
"$PYTHON" -m pip install uv
echo "PYTHON=${PYTHON}" >> $GITHUB_ENV
if [[ "$ACTIONS_GOAL" == "test" ]]; then
export gam="${PYTHON} gam.py"
@@ -553,17 +551,14 @@ jobs:
gh release download --repo "jay0lee/cryptography-wheels" --pattern "*win_arm64.whl" --clobber
"$PYTHON" -m pip install cryptography-*.whl
fi
#"$PYTHON" -m pip install -vvv --upgrade ..[yubikey]
# use uv sync to keep us 2 weeks delayed on dependencies
cd ..
"$PYTHON" -m uv sync --extra yubikey
"$PYTHON" -m pip install -vvv --upgrade ..[yubikey]
- name: Install PyInstaller
if: matrix.goal == 'build'
run: |
# Install latest version of PyInstaller *that's 2 weeks old*
# Calculate the exact timestamp for 14 days ago
"$PYTHON" -m uv pip install --upgrade pyinstaller --exclude-newer "$DEPS_CUTOFF"
"$PYTHON" -m pip install --upgrade pyinstaller
- name: Build GAM with PyInstaller
if: matrix.goal != 'test'
@@ -629,9 +624,9 @@ jobs:
sudo apt-get -qq --yes update
# arm64 needs to build a wheel and needs scons to build
sudo apt-get -qq --yes install scons
"$PYTHON" -m uv pip install --upgrade patchelf-wrapper --exclude-newer "$DEPS_CUTOFF"
"$PYTHON" -m uv pip install --upgrade typing_extensions --exclude-newer "$DEPS_CUTOFF"
"$PYTHON" -m uv pip install --upgrade staticx --exclude-newer "$DEPS_CUTOFF"
"$PYTHON" -m pip install --upgrade patchelf-wrapper
"$PYTHON" -m pip install --upgrade typing_extensions
"$PYTHON" -m pip install --upgrade staticx
- name: Make StaticX GAM build
if: matrix.staticx == 'yes'