← Back to Pull requests

MAINT: add 'dev' dependency group, add uv-sync CI check #894

Closed
unknown closed this pull request without merging on Sep 13, 2026 13:20 UTC
View on GitHub
unknown unknown commented on Sep 11, 2026 01:45 UTC
Author

This PR helps development with uv. There is an issue with uv sync in this project:

$ uv sync
Using CPython 3.14.2
Creating virtual environment at: .venv
  × No solution found when resolving dependencies for split (markers: python_full_version == '3.9.*' and sys_platform != 'ios'):
  ╰─▶ Because the requested Python version (>=3.9) does not satisfy Python>=3.10 and sphinx>=8.1.0,<=8.1.3 depends on Python>=3.10, we can conclude that
      sphinx>=8.1.0,<=8.1.3 cannot be used.
      And because only the following versions of sphinx are available:
          sphinx<=8.1.0
          sphinx==8.1.1
          sphinx==8.1.2
          sphinx==8.1.3
          sphinx>8.2.dev0
      we can conclude that sphinx>=8.1.0,<8.2.dev0 cannot be used.
      And because meson-python:docs depends on sphinx>=8.1.0,<8.2.dev0 and your project requires meson-python:docs, we can conclude that your project's requirements
      are unsatisfiable.

hint: While the active Python version is 3.14, the resolution failed for other Python versions supported by your project. Consider limiting your project's supported Python versions using `requires-python`.
hint: The `requires-python` value (>=3.9) includes Python versions that are not supported by your dependencies (e.g., sphinx>=8.1.0,<=8.1.3 only supports >=3.10). Consider using a more restrictive `requires-python` value (like >=3.10).

The incompatibility with sphinx ~= 8.1.0 is resolved by requiring this dependency to require Python >= 3.10. (An alternative fix is to drop Python 3.9 from this project, but I'm not here to suggest that right now). This means that an older version of sphinx is selected for Python 3.9 users that want to build docs (probably not anyone).

This PR also adds a "dev" dependency group, with pre-commit and including everything in the "test" group (but not "docs"). Uv automatically includes "dev", which is handy when running uv sync. Or with a venv, pip install --group dev will install all the development dependencies.

Lastly, ignore all *.lock files (e.g. uv.lock, pixi.lock, and others).

Diff: 290 lines (+217 / -73) across 3 files Reviewer: dnicolodi Review duration: 3574m
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 290 lines diff across 3 files
0.40
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
56%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.339
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #894"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 56.8% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 39.9% (MEDIUM) · Higher = larger blast radius
39.9%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 56.8% · Lower = rushed or shallow review
56.8%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 17.2% · Safe to merge
17.2%