Skip to content

Update all dependencies to latest; fix safety check - #204

Merged
jantman merged 1 commit into
mainfrom
dependency-updates-2026-11
Nov 20, 2026
Merged

jantman merged 1 commit into
mainfrom
dependency-updates-2026-11

Conversation

@jantman

@jantman jantman commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Updates every dependency to its latest release and fixes the failing safety session.

Safety failure

pip-audit flagged:

  • virtualenv 21.5.1 (CI tool pin in .github/workflows/constraints.txt): PYSEC-2026-4011..4014, 4372..4387, CVE-2026-113714/113717, fixed through 21.14.10 → now 21.15.9
  • werkzeug 3.1.8: PYSEC-2026-4312 → now 3.1.9 (floor raised to ^3.1.9)

Updates

  • CI constraints: pip 26.3, nox 2026.10.20, poetry 2.5.1, virtualenv 21.15.9
  • Actions: actions/setup-python v7, MishaKav/pytest-coverage-comment v1.13.1 (all other actions were already on their latest major)
  • pyproject caret floors raised so the latest releases resolve: filelock ^4, quart ^0.23, quart-schema ^0.25, prometheus-client ^0.26, python-dateutil ^4, urllib3 ^2.8, aiohttp ^3.14.5, msgpack ^1.2.4; poetry update for the rest
  • pre-commit hooks: black 26.10.1, flake8 7.5.0, pyupgrade v3.22.0, isort 9.0.2 (latest stable; autoupdate picked a 10.0 beta), pyproject-fmt v2.31.2, validate-pyproject v0.27. Their auto-fixes are included (pyupgrade [x for x in y] → [*y]; pyproject-fmt sorts dependency keys)
  • docs/requirements.txt: sphinx 9.2.0 (the old 9.1.0 pin conflicted with the updated lock), sphinx-jsonschema 1.20.1, sphinxcontrib-openapi 0.10.0

Only three packages are still behind latest: cachecontrol, findpython and pkginfo. Poetry 2.5.1 itself caps them (dev-only, transitive).

Supersedes Dependabot PRs

#172 mypy, #173 python-discovery, #174 dulwich, #175 librt, #176 charset-normalizer, #177 setup-python, #181 aiohttp, #185 pip, #188 nox, #195 pytest-coverage-comment, #199 poetry, #200 virtualenv. Every target is met or exceeded.

Testing

Locally, all of pre-commit, safety, mypy, tests, typeguard and docs pass on Python 3.13.

🤖 Generated with Claude Code

The safety (pip-audit) session was failing on virtualenv 21.5.1 (CI tool
pin, many PYSEC/CVE advisories fixed through 21.14.10) and werkzeug 3.1.8
(PYSEC-2026-4312, fixed in 3.1.9).

- CI tool constraints: pip 26.3, nox 2026.10.20, poetry 2.5.1,
  virtualenv 21.15.9
- Actions: setup-python v7, pytest-coverage-comment v1.13.1
- pyproject: raise caret floors so the latest releases resolve
  (filelock ^4, quart ^0.23, quart-schema ^0.25, prometheus-client
  ^0.26, python-dateutil ^4, werkzeug ^3.1.9, urllib3 ^2.8, aiohttp
  ^3.14.5, msgpack ^1.2.4); poetry update for everything else
- pre-commit hooks: black 26.10.1, flake8 7.5.0, pyupgrade v3.22.0,
  isort 9.0.2, pyproject-fmt v2.31.2, validate-pyproject v0.27; apply
  their auto-fixes (pyupgrade list unpacking, pyproject-fmt key sort)
- docs/requirements.txt: sphinx 9.2.0 (matching the lock, which broke
  the docs session), sphinx-jsonschema 1.20.1, sphinxcontrib-openapi
  0.10.0

Supersedes Dependabot PRs #172-#177, #181, #185, #188, #195, #199, #200.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@github-actions github-actions Bot 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.

Claude Code review
From Claude, via the Claude PR Review workflow -- hence github-actions[bot].

Dependency/CI/pre-commit update that fixes the failing safety session (virtualenv, werkzeug), with trivial pyupgrade list-unpacking changes. No bugs or CLAUDE.md violations found.

No issues found. Checked for bugs and CLAUDE.md compliance.


🔎 10s · 5 turns · $0.1225 · run log

@github-actions

Copy link
Copy Markdown

Coverage

Coverage Report
FileStmtsMissBranchBrPartCoverMissing
src/dm_mac
   __init__.py75060100% 
   cli_utils.py15000100% 
   neon_fob_adder.py2321560593%78->79, 79, 116–117, 124, 208->205, 269->270, 270, 333–334, 341, 364–367, 440->445, 454–456, 551->549
   neongetter.py211154398%308->309, 309, 412->416, 492->494
   slack_handler.py2200560100% 
   utils.py25040100% 
   webhook.py620100100% 
src/dm_mac/models
   __init__.py0000100% 
   api_schemas.py49000100% 
   machine.py648152141696%670->671, 671, 677->exit, 750->751, 751, 799->801, 1110->1111, 1111–1113, 1176->1178, 1228->1229, 1229–1238, 1401->exit
   users.py1030320100% 
src/dm_mac/views
   __init__.py0000100% 
   api.py41000100% 
   machine.py1030120100% 
   prometheus.py132012199%67->69
TOTAL1916314602598% 
Tests Skipped Failures Errors Time
348 0 💤 0 ❌ 0 🔥 20.175s ⏱️

@jantman
jantman merged commit 19a8e60 into main Nov 20, 2026
17 checks passed
@jantman
jantman deleted the dependency-updates-2026-11 branch November 20, 2026 23:34
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.

1 participant