Bump the locked versions of eight dev and test dependencies - #3449
Merged
Conversation
Refreshes only uv.lock; the declared ranges in pyproject.toml are unchanged, so this affects CI and contributor environments, not what users install. - cryptography 46.0.7 -> 50.0.0 - pillow 12.1.1 -> 12.3.0 - pyjwt 2.10.1 -> 2.13.0 - pytest 8.4.2 -> 9.1.1 - python-dotenv 1.1.1 -> 1.2.3 - python-multipart 0.0.22 -> 0.0.32 - starlette 0.49.1 -> 1.6.0 - urllib3 2.6.3 -> 2.7.0 These are the pins Dependabot currently has open alerts against. The individual Dependabot PRs for them were closed unmerged, which leaves Dependabot treating each target version as already handled, so they are bumped here by hand with `uv lock --upgrade-package`. Starlette 1.x makes `Request` generic over its state type, so one test handler now parametrizes its `ServerRequestContext` annotation instead of narrowing `ctx.request` from `Any` with `isinstance`, which pyright reports as `Request[Unknown]`.
maxisbey
marked this pull request as ready for review
September 4, 2026 23:31
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.
Refreshes
uv.lockfor the eight packages Dependabot currently has open alerts against. Only the lockfile moves; the declared ranges inpyproject.tomlare unchanged, so this affects CI and contributor environments rather than what users install.Motivation and Context
The individual Dependabot PRs for these (#3109–#3116, #3140, #3253) were closed unmerged, and Dependabot treats a closed PR as "already exists" for that target version, so it will not re-propose them. The monthly grouped
python-packagesupdate has also never produced a PR (separate config issue, to be handled on its own). Bumping by hand withuv lock --upgrade-packageclears the backlog and lets Dependabot retire the stale PRs.Out of scope:
datamodel-code-generatoris exact-pinned in thecodegengroup, so its alerts need a deliberate pin bump plus regenerating the surface types.Starlette 1.x makes
Requestgeneric over its state type; one test handler now parametrizes itsServerRequestContextannotation so pyright seesRequest[State]instead ofRequest[Unknown]after theisinstancenarrow.How Has This Been Tested?
./scripts/test(5916 passed, 100% coverage, strict-no-cover clean),uv run --frozen pyright(0 errors),pre-commit run --all-files, anduv lock --checkall pass locally on 3.13. The 3.10–3.14 × Windows matrix is left to CI.Breaking Changes
None.
Types of changes
Checklist
help wanted, or I'm a maintainer)AI Disclaimer