Skip to content

chore(deps-dev): update dev tooling and GitHub Actions - #433

Merged
kinghrothgar merged 1 commit into
mainfrom
VOL-1837/dependency-updates
Nov 18, 2026
Merged

kinghrothgar merged 1 commit into
mainfrom
VOL-1837/dependency-updates

Conversation

@kinghrothgar

@kinghrothgar kinghrothgar commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Tracking

VOL-1837

Why

Routine dependency updates. This folds the open Dependabot updates into one change so the toolchain moves together, since several of them fail CI on their own.

Supersedes #432, #423, #416 and #410. It does not include #431 or #417; see below.

Summary

  • Dev tooling: ruff 0.16.10 → 0.17.5 (with required-version), mypy 2.4.0 → 2.4.1, pyrefly 1.3.2 → 1.4.1, basedpyright 1.40.1 → 1.40.2 (including the package-types tox pin), pytest 9.1.1 → 9.2.0, hypothesis 6.168.3 → 6.170.15, poethepoet 0.48.0 → 0.49.0, pytest-asyncio 1.4.0 → 1.5.0, coverage 7.16.2 → 7.17.3, tox 4.64.7 → 4.67.13, mutmut 3.8.0 → 3.8.1.
  • Lockfile: virtualenv 21.14.12 → 21.15.8 (newer than fix(deps): bump virtualenv from 21.14.12 to 21.14.13 #410's 21.14.13, which tox 4.67 pulls in), python-discovery 1.6.1 → 1.9.6, and anyio 4.14.2 → 4.16.0. Anyio's pytest plugin imported CallSpec2, which pytest 9.2 deprecates; with filterwarnings = error the suite fails to start. Anyio 4.16 fixes the import. The lockfile was written with uv 0.12.17, the version CI pins. The Dependabot branches used a newer lock revision, which uv sync --locked rejected.
  • GitHub Actions: setup-python v7.1.0, setup-uv v10.3.3, upload-artifact v7.0.2, download-artifact v8.0.2, gh-action-pypi-publish v1.14.3, create-github-app-token v3.3.0, all still pinned by SHA.
  • Quality policy: maintainers/quality-policy.lock.json records the new ruff required-version and basedpyright tox pin, and its digest is updated in scripts/check_quality_policy.py.
  • Ruff 0.17 shared-clock-mock: the FallbackClock tests patched time.monotonic and time.time for the whole process. FallbackClock now takes its two clocks as arguments, defaulting to time.monotonic and time.time, and the tests pass fakes in directly. Runtime behavior is unchanged.
  • Pyrefly 1.4: pyrefly could no longer solve RuntimeBatch[T] in DurableContext.parallel because _branch returned object. That made mutmut's type-check pass fail for every module. _branch now returns Callable[[RuntimeContext], T] | object; nothing else changes.

Left out

  • openapi-python-client 0.30.0 (#431): 0.30 changes generated clients from httpx to httpx2. The regenerated _generated/client.py and types.py import httpx2, but the SDK's runtime dependency is httpx (deliberately capped), and the custom endpoint templates and handwritten transports also use httpx. Taking it means either moving the SDK's runtime HTTP stack to httpx2 (new runtime dependencies httpx2, httpcore2 and truststore, which also changes TLS trust-store behavior) or keeping template overrides for client.py/types.py. Either is a design decision, not a routine update, so it stays on 0.29.1 here.
  • centrifuge-python 0.7.0 (#417): 0.7 rewrites the client's subscription internals. With it, 10 realtime tests fail. Examples: removing a channel during a disconnect no longer raises, pausing during readiness now raises SubscriptionUnsubscribedError instead of the SDK's interruption error, and cancelled unsubscribes leave in-flight commands. maintainers/realtime-compatibility.md also requires a maintainer review before any range widening, plus live shared realtime acceptance. The range stays >=0.6.0,<0.7.0.

Verification

  • uv run --locked poe checks (uv 0.12.17) passes: policy, audit, generated-client freshness, ruff lint and format, mypy, basedpyright, 3007 tests, 100% line and branch coverage, package build and installed-package checks, and the tox package environments.
  • MUTATION_MODULE=volcano_sdk._lock_guard poe mutation and MUTATION_MODULE=volcano_sdk.durable_authoring poe mutation pass with no survivors. CI runs the full mutation matrix.
  • scripts/generate_openapi.py with openapi-python-client 0.29.1 regenerates the client with no diff.

Cross-language impact

Classification: none (dev tooling, CI pins, and internal refactors with no behavior change).

  • Requirement IDs and affected behavior: none.
  • JavaScript / Python / Ruby companion PRs, or why each is unaffected: none needed. Only Python dev dependencies, CI workflow pins and internal type/test seams change; the public API, wire contract and runtime dependency ranges do not.
  • Canonical scenarios, bindings and active/staged copies: unchanged.
  • Public examples updated in each affected language: none; no user-facing behavior changes, so no volcano-docs PR.
  • Native checks and shared acceptance evidence (with tested revisions): native checks above. No shared acceptance run is needed because runtime behavior and runtime dependencies are unchanged.

Follow the contributor workflow. Tooling checks and dry runs
are not live acceptance. Record a reason for each item that does not apply.

Update ruff to 0.17.5, the uv-development group (mypy, pyrefly,
basedpyright, pytest, hypothesis, poethepoet, pytest-asyncio, coverage,
tox, mutmut), virtualenv, anyio and the pinned GitHub Actions.

Ruff 0.17 flags global clock patches in tests, so FallbackClock now
takes its clocks as arguments. Pyrefly 1.4 cannot solve the batch type
of parallel() from an untyped branch list, so _branch names its result
type. Anyio 4.16 drops a pytest 9.2 deprecated import.
@kinghrothgar
kinghrothgar requested a review from a team as a code owner November 18, 2026 15:46
@github-actions

Copy link
Copy Markdown

AI review: no P0-P2 findings

Reviewed efbee98. Run log

Bumps the dev toolchain (ruff 0.17.5, pyrefly 1.4.1, basedpyright 1.40.2, pytest 9.2.0, tox 4.67.13 and others), the lockfile, and the SHA-pinned GitHub Actions. It also makes two small internal changes so the new tools pass: FallbackClock now takes its two clock functions as arguments, and _branch now has a return type that matches the engine protocol. Risk is low. Runtime defaults keep the same clock behavior, the _branch change only affects types, and the policy lock changes nothing beyond the version pins.

Not checked: The AI review read the diff, the code, and the PR's text; it ran no tests or builds and read nothing outside this repository.

  • Whether each new action SHA (setup-python, setup-uv, artifact actions, pypi-publish, create-github-app-token) is the official upstream commit for its tagged version.
  • Whether the new LOCK_SHA256 in scripts/check_quality_policy.py matches the SHA-256 of the updated maintainers/quality-policy.lock.json; only running the policy check confirms it.
  • Whether ruff 0.17.5, pyrefly 1.4.1 and the full mutation matrix pass in CI at this head, which the description reports but this review could not run.
  • Confirm the updated toolchain passes the Python 3.11–3.14 CI jobs and full mutation matrix.

Human review: not needed

@tkkhq tkkhq left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Verified the policy digest and action tags. Python 3.11–3.14 and the mutation gate passed.

@kinghrothgar
kinghrothgar added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 217544f Nov 18, 2026
103 checks passed
@kinghrothgar
kinghrothgar deleted the VOL-1837/dependency-updates branch November 18, 2026 17:57
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.

3 participants