Skip to content

Update Dependencies Sep 18 (auto) - #35

Open
maread99 wants to merge 1 commit into
mainfrom
claude/lucid-ptolemy-6pa1ox
Open

maread99 wants to merge 1 commit into
mainfrom
claude/lucid-ptolemy-6pa1ox

Conversation

@maread99

@maread99 maread99 commented Sep 18, 2026

Copy link
Copy Markdown
Owner

Generated by Claude.

Summary

Routine dependency update, per the dependencies-management skill.

  • Updated uv (0.8.17 → 0.12.16) and ran uv lock --upgrade, uv export and uv sync --inexact to bring uv.lock / requirements.txt / the environment up to date.
  • Bumped GitHub Actions pins: actions/checkout v6 → v7, actions/setup-python v6 → v7, astral-sh/setup-uv v8.1.0 → v10.1.0 (in both build-test.yml and release.yml).
  • Bumped pre-commit hook pin: ruff-pre-commit v0.15.11 → v0.16.8 (pre-commit-hooks was already at the latest v6.0.0).

Bug fix found along the way

.pre-commit-config.yaml had a YAML structuring bug: the ruff-pre-commit repo entry was missing its leading -, so it merged into the pre-commit-hooks entry as duplicate keys instead of starting a new list item. This silently dropped the check-yaml, end-of-file-fixer and trailing-whitespace hooks — only ruff-check/ruff-format were ever actually running. Fixed the list structure, which caused those hooks to run for the first time and fix pre-existing missing-final-newline / trailing-whitespace issues across several repo files (.claude/settings.json, workflow files, .gitignore, AGENTS.md, LICENSE.txt, pyproject.toml, pytest.ini).

Revisions to support the new dependency versions

The ruff-pre-commit bump pulled in newly-stabilized ruff rules that fired repo-wide once the hook was actually enforced:

  • CPY001 (missing copyright notice) and PLR0917 (too many positional arguments) — added to ruff.toml's ignore list, since the project doesn't use per-file copyright headers and already wilfully ignores the equivalent PLR0913.
  • RUF036 (None not at the end of a type union) — fixed by reordering a Union in a test fixture (tests/test_valimp.py), which is a purely cosmetic change with no effect on valimp's own union-validation logic (order-independent). Updated the one test that asserted on that hint's error-message text to match the new order.
  • The newer ruff-pre-commit also now formats Python code fences embedded in Markdown (README.md), which reformatted the README's example code blocks.

Notes

  • mypy src/valimp/ reports 12 pre-existing errors unrelated to this dependency update (confirmed identical before and after, via git stash) — left untouched as out of scope for this PR.
  • Full local test suite (uv run pytest -v) passes: 36/36.
  • pre-commit run --all-files passes cleanly.

Test plan

  • uv run pytest -v — 36 passed
  • uv run pre-commit run --all-files — all hooks pass
  • CI matrix — all 7 checks (pre-commit + 6-way build/test matrix) green

🤖 Generated with Claude Code

https://claude.ai/code/session_01PLjDw8y1qHjbiLdyYZhLoH

Updates the lock file, GitHub Actions versions (actions/checkout,
actions/setup-python, astral-sh/setup-uv) and pre-commit hook
revisions (ruff-pre-commit) to their latest releases.

Fixes a YAML structuring bug in .pre-commit-config.yaml where the
ruff-pre-commit repo entry was merged into the pre-commit-hooks
entry (missing a leading `-`), silently disabling the check-yaml,
end-of-file-fixer and trailing-whitespace hooks. With the bug fixed
and the hooks running, applies the resulting end-of-file and
trailing-whitespace fixes across the repo.

Adds PLR0917 and CPY001 to the ruff ignore list: newly-stabilized
rules pulled in by the ruff-pre-commit bump that duplicate an
existing wilful ignore (PLR0913) or don't match project convention
(no per-file copyright headers). Reorders a Union type hint in a
test fixture to satisfy RUF036 and updates the one test asserting
on that hint's error-message ordering.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PLjDw8y1qHjbiLdyYZhLoH
@maread99 maread99 added dependencies Pull requests that update a dependency file agents Coding agent context labels Sep 18, 2026 — with Claude

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Coding agent context dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants