chore: upgrade Python to 3.14 and refresh deps to 7-day-safe versions - #400
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade the runtime to the newest stable Python and re-pin all dependencies to the newest versions that satisfy the repo's 7-day supply-chain rule (
exclude-newer = "1 week").Changes
requires-python = ">=3.14", rufftarget-version = "py314", mypypython_version = "3.14". (3.14.8 was released today and is still inside the 7-day window; 3.15 is only at rc2.)uv lockunder the 7-day window, including majors that tests verified: web3 7.16.0 → 8.0.0, openai 2.29.0 → 3.19.2, httpx2 2.3.0 → 2.13.1 (clears PYSEC-2026-3844/3846/3848/3849 + GHSAs from the audit job — the oldidna==3.15pin had been silently blocking that fix), eth-abi 5 → 6, eth-account 0.14, websockets 17.1, rlp 4 → 5, idna 3.20, etc.except ValueError, TypeError:); applied across 23 files. No behavior change — py_compile/ast checks pass on every touched file.actions/checkoutv6 → v7 andastral-sh/setup-uvv7 → v10.2.0 (both real latest tags; note setup-uv has no floatingv10tag).deploy/install.shdefaultPYTHON_VERSION3.12 → 3.14. Deployment/migration steps are handled manually in this session, so no runbook changes.Verification
uv run ruff format --check .anduv run ruff check .— cleanuv run pytest tests/— 1625 passed, 4 skipped, 48 subtests (local-only failures inTestSafeApiQuotawhen a real.envis present are pre-existing on the old lockfile too; CI has no.envand passes)uv run mypy .— only the pre-existing duplicate-mainnamespace error, identical on the old lockfile