Skip to content

Commit 23981a1

Browse files
MementoRCclaude
andcommitted
fix: resolve pixi dependency resolution hanging issue
## Dependency Resolution Fix: - Removed diff-cover from pyproject.toml dependencies (causing hanging) - Modified quality-metrics workflow to install diff-cover separately via pip - Split diff-cover installation into separate step to avoid conflicts ## Verification: - ✅ pixi install -e ci now completes successfully - ✅ ci-install task works correctly - ✅ All CI environments can be installed without hanging This resolves the "Setup pixi" failures that were causing exit code timeouts in CI workflows. diff-cover is still available but installed at runtime. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 45a32db commit 23981a1

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/quality-metrics.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,16 @@ jobs:
6868
.coverage*
6969
pytest-report.json
7070
pytest-report.html
71-
- name: diff-cover (PR only)
71+
- name: Install diff-cover separately (PR only)
7272
if: github.event_name == 'pull_request'
7373
run: |
74-
# Use pixi to run diff-cover
74+
# Install diff-cover separately to avoid dependency resolution issues
75+
pixi run -e ci pip install diff-cover
76+
77+
- name: diff-cover analysis (PR only)
78+
if: github.event_name == 'pull_request'
79+
run: |
80+
# Use pixi environment to run diff-cover
7581
git fetch origin main:refs/remotes/origin/main
7682
pixi run -e ci diff-cover coverage.xml --compare-branch=origin/main --fail-under=40 --html-report diffcover.html --markdown-report diffcover.md --json-report diffcover.json
7783
- name: Upload diff-cover artifacts

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ pip-audit = ">=2.6.0"
116116

117117
# Coverage Tools
118118
coverage = ">=7.0.0"
119-
diff-cover = ">=7.0.0"
119+
# diff-cover = "*" # Install separately in CI workflow due to dependency resolution issues
120120

121121
# ===== LEGACY DEVELOPMENT FEATURES =====
122122
# Keep existing dev feature for specialized tools

0 commit comments

Comments
 (0)