Skip to content

⬆️ Refresh dev/docs pins, group dependabot updates#267

Merged
chrisjsewell merged 2 commits into
mainfrom
refresh-dev-pins
Jul 12, 2026
Merged

⬆️ Refresh dev/docs pins, group dependabot updates#267
chrisjsewell merged 2 commits into
mainfrom
refresh-dev-pins

Conversation

@chrisjsewell

@chrisjsewell chrisjsewell commented Jul 12, 2026

Copy link
Copy Markdown
Member

Completes the pin-refresh item of #265 Phase 0 (supersedes the closed dependabot PRs #221/#225/#226/#227):

  • theme extras: furo~=2025.12, pydata-sphinx-theme~=0.20.0, sphinx-rtd-theme~=3.1, sphinx-book-theme~=1.2, sphinx-immaterial~=0.13.9
  • code-style: allow pre-commit v4 (>=3,<5)
  • dependency-groups: sync mypy==2.1.0 / ruff==0.15.20 with the pre-commit revs bumped in [pre-commit.ci] pre-commit autoupdate #262, so tox and pre-commit agree
  • mypy 2.1 fixes (surfaced by the sync — the pre-commit hook in [pre-commit.ci] pre-commit autoupdate #262 only checked changed files, so these were latent): add **kwargs to the two SphinxPostTransform.run overrides to match the supertype signature; targeted type: ignores for the add_directive capture monkeypatch and the dynamic env attribute (all three of the latter are removed entirely by the planned static-asset rework)
  • dependabot: groups config so actions/pip bumps arrive as one PR per ecosystem

Validation at the new pins: tox -e py311 (110 passed), ruff check/ruff format --check, mypy clean, and docs builds green for alabaster/furo/rtd/pydata/sbt. The docs-im build could not be verified in this environment — sphinx-immaterial fetches fonts.google.com metadata at build time and the network here blocks it (confirmed the previous pin 0.12.2 fails identically here, so this is environmental, not a regression) — worth one spot-check on an unrestricted network.

claude added 2 commits July 12, 2026 12:40
- theme extras: furo ~=2025.12, pydata-sphinx-theme ~=0.20.0,
  sphinx-rtd-theme ~=3.1, sphinx-book-theme ~=1.2, sphinx-immaterial ~=0.13.9
- code-style: allow pre-commit v4
- dependency-groups: sync mypy (2.1.0) and ruff (0.15.20) with the
  pre-commit revs bumped in #262
- fix mypy 2.1 errors: add **kwargs to SphinxPostTransform.run overrides,
  targeted type-ignores for the add_directive capture and env attribute
- dependabot: group actions/pip updates into single PRs
Aligns the hook environment with tox -e mypy: without sphinx installed,
the mirror's default --ignore-missing-imports makes Sphinx types Any,
so ignores required by the fully-typed run are reported as unused.
@chrisjsewell chrisjsewell merged commit 7cd9492 into main Jul 12, 2026
23 checks passed
@chrisjsewell chrisjsewell deleted the refresh-dev-pins branch July 12, 2026 12:42
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