Skip to content

fix(ci): align python-version with requires-python, add renovate and lock guards - #26

Merged
timhls merged 1 commit into
mainfrom
fix/python-version-locks
Aug 16, 2026
Merged

fix(ci): align python-version with requires-python, add renovate and lock guards#26
timhls merged 1 commit into
mainfrom
fix/python-version-locks

Conversation

@timhls

@timhls timhls commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Problem

  1. .python-version pinned 3.11 while requires-python = ==3.14.7uv sync --dev fails in CI before any check runs (main red for last 3 runs)
  2. Renovate opened chore(deps): Update dependency rich to v15 #25 (rich→15) which is unsatisfiable with python-semantic-release 10.6.1 — same conflict as t212-cli#26/chore(deps): Lock file maintenance #28
  3. ruff 0.16.3 expanded default rules → 99 errors (main CI would stay red after fix 1)

Fix

  • .python-version → 3.14.7
  • Add .github/renovate.json: automerge minor/patch + hold rich <15
  • CI: uv lock --check after install to catch lock drift
  • Pin [tool.ruff.lint] select = [E4, E7, E9, F, I] + autofix 32 import-order violations

Closes #25 (recurring rich PR now suppressed by config)

Validation

Local: uv lock --check ✅ · ruff ✅ · format ✅ · mypy ✅ · pytest 20/20 ✅

…lock guards

.python-version pinned 3.11 while requires-python is ==3.14.7, so
uv sync failed in CI before any check could run (main red since the
dependency batch merge).

- Pin .python-version to 3.14.7 to match requires-python
- Add Renovate config: automerge minor/patch, hold rich<15
  (python-semantic-release 10 requires rich<15, same conflict as
  t212-cli; closes the recurring rich-15 PR)
- Add uv lock --check to CI to catch lockfile drift
- Pin [tool.ruff.lint] select (E4/E7/E9/F/I) and autofix 32
  import-order violations from ruff 0.16.3 expanded defaults

Validated locally: uv lock --check, ruff, format, mypy clean;
20 tests pass
Copilot AI lite review requested due to automatic review settings August 16, 2026 08:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@timhls
timhls merged commit 58646af into main Aug 16, 2026
2 checks passed
@timhls
timhls deleted the fix/python-version-locks branch August 16, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants