Skip to content

chore(deps): consolidated dependency and security maintenance - #116

Merged
jsugg merged 7 commits into
mainfrom
chore/deps-maintenance-2026-11
Nov 10, 2026
Merged

jsugg merged 7 commits into
mainfrom
chore/deps-maintenance-2026-11

Conversation

@jsugg

@jsugg jsugg commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Summary

Consolidated dependency maintenance. Supersedes the open Dependabot PRs below (one CI cycle instead of serial rebases under strict required-ci), remediates open Dependabot alerts, and fixes the contract test that broke #109.

All versions honor the 7-day Dependabot cooldown; Dependabot targets that were stale (e.g. mypy 2.3.0) were advanced to the newest compliant release.

Changes (one commit per concern)

  • Security/patch lock bumps: msgpack 1.2.4, certifi 2026.10.23, urllib3 2.8.0, hydra-core 1.3.8, hypothesis 6.170.14, filelock 4.2.7, virtualenv 21.15.2, cryptography 50.0.2, setuptools 84.2.1, black 26.10.1 (floor raised), fsspec 2026.9.0.
  • mypy 2.4.1 (spec + pre-commit mirror, which CI's code-quality actually runs). mypy 2 narrows literal-container membership, so five casts became redundant under warn_redundant_casts; the backend-id check now uses a typed frozenset so pyright narrows identically.
  • Scorecard 2.5.0 + contract fix: test_ci_workflow_contracts.py asserted the exact v2.4.3 tag, so any Dependabot bump of the action failed CI. It now asserts the v2 major, like the CodeQL contract.
  • actions/setup-python v7, actions/cache v6 across workflows (only python-version/path/key/restore-keys inputs are used; none removed).
  • soundfile 0.14.0 (same SoundFile/info/write API; macOS x86_64 wheel available).
  • In-range tooling refresh: coverage, griffe, pre-commit, pyright, pytest, pyupgrade, ruff 0.17.3, types-PyYAML, colored, python-dotenv, tqdm; pre-commit revs aligned with the lock (isort hook had drifted to 6.1.0). griffe 2.4 renders lambda defaults without redundant parentheses; the API snapshot diff is rendering-only (96/96 lines identical after normalization).
  • docs: refreshed docs/ci/dependabot-alert-triage.md.

Supersedes

#115, #113, #112, #111, #109, #108, #106, #96, #92, #91, #88, #87, #79, #77

Not included: #76 (scikit-learn 1.9). 1.8 changes StratifiedGroupKFold(shuffle=True) fold assignment and 1.9 raises ValueError where the quality gate silently falls back to a holdout split, so it changes evaluation behavior and needs its own review.

Validation

Local (Python 3.12): make lock-check, make fmt (no changes), make prepush-check, make type, make type-completeness, make workflow-lint, make ci-contracts (22 passed), make test-cov (1207 passed, 79.97% branch coverage). Manual hardware/platform lanes are dispatched against this branch; results are posted below.

Supersedes Dependabot PRs for msgpack, certifi, urllib3, hydra-core,
hypothesis, filelock, virtualenv, cryptography and setuptools, and
remediates open alerts for black and fsspec. Versions honor the
7-day Dependabot cooldown.
mypy 2 narrows membership checks against literal containers, so five
casts became redundant under warn_redundant_casts. The backend-id check
now tests a typed frozenset so pyright narrows the same way. The
pre-commit mirror moves in lockstep so CI and make type agree.
The workflow contract asserted the exact v2.4.3 patch tag, so every
Dependabot bump of the action failed CI. Assert the v2 major instead,
matching the CodeQL contract.
Bumps coverage, griffe, pre-commit, pyright, pytest, pyupgrade, ruff,
types-PyYAML, colored, python-dotenv and tqdm within existing specs,
and aligns pre-commit hook revs with the lock (isort had drifted to
6.1.0). griffe 2.4 renders lambda defaults without redundant
parentheses, so the public API snapshot is regenerated with no
surface change.
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