Skip to content

Commit 1c704e7

Browse files
committed
CI: relax binary-only install
1 parent 5088f4b commit 1c704e7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/pr-checks.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@ jobs:
5555
python -m pip cache purge || true
5656
rm -rf ~/.cache/pip ~/.cache/uv ~/.cache/uv-build || true
5757
uv cache clean || true
58-
# compile deterministic requirements with hashes
58+
# compile deterministic requirements
5959
uv pip compile pyproject.toml -o requirements.txt --universal --all-extras
60-
# install from compiled requirements, prefer wheels to avoid building from source
61-
python -m pip install --only-binary=:all: -r requirements.txt -q --no-cache-dir
60+
# install psutil explicitly, prefer wheel but allow source fallback if needed
61+
python -m pip install --only-binary=:all: psutil==5.9.8 -q --no-cache-dir || python -m pip install psutil==5.9.8 -q --no-cache-dir
62+
# install from compiled requirements, prefer wheels but allow source builds when necessary
63+
python -m pip install -r requirements.txt -q --no-cache-dir --prefer-binary
6264
echo "Dependencies installed."
6365
6466
# --- Ruff Formatting & Linting --- #

0 commit comments

Comments
 (0)