Skip to content

Commit 0a4ff62

Browse files
committed
fix: use split pip install to avoid QPK version conflicts
1 parent 0126aab commit 0a4ff62

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,13 @@ jobs:
5959
run: |
6060
set -euo pipefail
6161
python -m pip install --upgrade pip
62-
python -m pip install -r requirements.txt
62+
python -m pip install --upgrade pip
63+
# Install non-git packages first to avoid cross-package dependency conflicts
64+
grep -vE "^\s*(#|$)|git\+" requirements.txt | xargs -r python -m pip install
65+
# Install git-based packages individually with --no-deps
66+
grep 'git+' requirements.txt | while IFS= read -r pkg; do
67+
[ -n "$pkg" ] && python -m pip install --no-deps "$pkg"
68+
done
6369
python -m pip install pytest pytest-cov ruff
6470
6571
- name: Smoke import pinned shared packages

0 commit comments

Comments
 (0)