Skip to content

chore(deps): update python dependencies (patch) - #6085

Merged
dan-petty merged 2 commits into
mainfrom
renovate/patch-python-dependencies
Nov 17, 2026
Merged

dan-petty merged 2 commits into
mainfrom
renovate/patch-python-dependencies

Conversation

@dan-petty-renovate

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
ast-grep-cli (source, changelog) ==0.51.2 → ==0.51.3 age confidence
diff-cover ==11.0.1 → ==11.0.2 age confidence
fastapi (changelog) ==0.162.5 → ==0.162.7 age confidence
httpcore2 (changelog) ==2.16.0 → ==2.16.2 age confidence
httpx2 (changelog) ==2.16.0 → ==2.16.2 age confidence
lizard (source) ==1.26.0 → ==1.26.1 age confidence
pydantic-settings (changelog) ==2.16.2 → ==2.16.3 age confidence
syrupy ==7.0.0 → ==7.0.2 age confidence
ty (changelog) ==0.0.101 → ==0.0.104 age confidence
types-pyyaml (changelog) ==6.0.12.20261111 → ==6.0.12.20261113 age confidence

Release Notes

ast-grep/ast-grep (ast-grep-cli)

v0.51.3

Compare Source

  • feat(cli): load built-in outline rules from project config #2978
  • fix(cli): replace npm binaries atomically in postinstall #3083
  • chore(deps): update rust crate inquire to v0.9.5 #3097
  • fix(config): allow range rule with only one column on a single line #3091
  • Revert "chore(deps): update dependency node to v26 (#​3069)" #3095
  • chore(deps): update dependency python to 3.15 #2996
  • chore(deps): update rust crate tree-sitter-scala to v0.26.13 #3086
  • chore(deps): update dependency @​ast-grep/napi to v0.51.2 #3089
  • chore(deps): update rust crate libloading to v0.9.1 #3093
  • ci(pyo3): build Python 3.15 wheels on Linux and Windows #3094
  • chore(deps): update rust crate napi to v3.16.2 #3087
  • chore(deps): update rust crate napi-derive to v3.7.1 #3088
  • chore(npm): require Node.js 20 or later 4fd48c5
  • fix: bump pyo3 version c7e005c
Bachmann1234/diff-cover (diff-cover)

v11.0.2: Version 11.0.2

Compare Source

What's Changed

New Contributors

Full Changelog: Bachmann1234/diff_cover@v11.0.1...v11.0.2

fastapi/fastapi (fastapi)

v0.162.7

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Fixes
Internal

v0.162.6

Compare Source

FastAPI includes an official skill that helps coding agents use new features and recommended patterns for your installed version. Install it with uvx library-skills in your project. See Develop with AI.

Breaking Changes
pydantic/httpx2 (httpcore2)

v2.16.2

Compare Source

🩹 Type aliases evaluate at runtime again

httpx2 and httpcore2 2.16.2 are a patch release with one fix. You will notice it if your code, or a library you depend on, uses the aliases in httpx2._types inside a runtime typing construct. On 2.16.1, import mistralai.client failed on Python 3.11 to 3.13.

pip install --upgrade httpx2==2.16.2
  • Optional[QueryParamTypes] and QueryParamTypes | None work again (#​1346). In 2.16.1 URLTypes, QueryParamTypes, HeaderTypes, CookieTypes, TimeoutTypes, ProxyTypes and AuthTypes were strings. Optional[...] raised SyntaxError for QueryParamTypes and HeaderTypes, and | None raised TypeError for all seven. They are Union[...] objects again, as in 2.16.0.

httpcore2 has no changes. It is bumped to stay in lockstep with httpx2.

Full changelog: v2.16.1...v2.16.2

v2.16.1

Compare Source

🚦 Concurrent HTTP/2 uploads no longer stall

httpx2 and httpcore2 2.16.1 are a patch release. Every change is a fix. You will notice it most if you run several HTTP/2 uploads over one connection, where requests could hang until the read timeout.

pip install --upgrade httpx2==2.16.1
  • Uploads sharing an HTTP/2 connection finish instead of waiting for the read timeout (#​1163). Once the flow control window was exhausted, a waiting upload could miss the WINDOW_UPDATE that another task had already read, then block on a read the server had nothing to answer. httpcore2 now rechecks the window after acquiring the read lock.
  • A missing Host header raises LocalProtocolError (#​1319). An HTTP/2 request sent directly to an httpcore2 connection without Host raised IndexError before.
🧭 Redirects, proxies and Digest auth
  • A redirect with an invalid Location returns the response when redirects are not followed (#​1064). httpx2 raised RemoteProtocolError and discarded the response. You now get the response with its headers, and response.next_request is None.
  • *.example.com in NO_PROXY matches subdomains (#​1277). The entry never matched before, so those requests still went through the proxy. It now behaves like .example.com.
  • Digest challenges with mixed-case parameter names are accepted (#​1315). A challenge such as Digest Realm="r", Nonce="n" raised ProtocolError before. Whitespace around = is allowed too.
📦 Signed releases
  • The publish workflow generates PEP 740 attestations (#​1339). Every distribution is signed before uv publish uploads it. Releases since the move to uv publish had no provenance on PyPI.

Full changelog: v2.16.0...v2.16.1

terryyin/lizard (lizard)

v1.26.1

Compare Source

Bug Fixes
  • C/C++, Java, C#, JavaScript, and TypeScript: count the ? of a ternary between comparisons (a < b ? c > d : e); it was read as part of a type argument list, so the CCN was one too low (PR #​572)
  • Python: count the lines of prefixed triple-quoted strings (return f"""...""") and of f-string literal chunks in NLOC instead of reading them as comments, which could make NLOC negative; a variable named f, r or b before a standalone docstring no longer makes it look prefixed (PR #​568)
  • JSX and TSX: // in element text (<p>Visit https://example.com</p>) no longer swallows the closing tag and the functions after it (PR #​567)
  • JSX and TSX: no empty text token between two adjacent child elements, which crashed -Eduplicate with IndexError (PR #​571)
  • Rust: the || of a closure without parameters is one token again (PR #​569)
  • API: FunctionInfo.cognitive_complexity is present as 0 for functions without cognitive complexity, matching the CLI (issue #​570)
pydantic/pydantic-settings (pydantic-settings)

v2.16.3

Compare Source

Highlights

This patch release fixes a security issue in the default secrets source, a regression from 2.14.2 that dropped nested secrets on Kubernetes, and a CliApp.serialize round-trip bug with CliUnknownArgs.

Security
  • SecretsSettingsSource no longer follows symlinks that resolve outside secrets_dir (#​1138, fixes #​1137). A secret file that is a symbolic link to a file outside secrets_dir was read into the matching field, so anyone who could place a link in secrets_dir could make the application load any file it can read. This is the plain-source counterpart of GHSA-4xgf-cpjx-pc3j, whose fix in 2.14.2 covered only NestedSecretsSettingsSource. Links that stay inside secrets_dir, such as the Kubernetes secret volume layout (passwd linking to ..data/passwd), still work.
Behavior changes
  • A secret file that resolves outside secrets_dir is now skipped with a warning instead of being read (#​1138). If you deliberately point secret files at targets elsewhere on disk, move or copy the targets into secrets_dir, or point secrets_dir at the directory that holds them.
  • NestedSecretsSettingsSource skips hidden entries (names starting with .) again, as it did before 2.14.2, and stops with a SettingsError after 10,000 entries (#​1070).
Bug fixes

Secrets

  • With secrets_nested_subdir=True, a directory reached through a second symlink is loaded again (#​1070, fixes #​1061). Since 2.14.2, only the name that sorted first was walked, so the standard Kubernetes secret volume layout (db linking to ..data/db) silently lost its nested secrets.
  • A symlink loop inside secrets_dir is skipped instead of aborting the load with RuntimeError on Python 3.11 and 3.12 (#​1070, #​1138).

CLI

  • CliApp.serialize keeps each level's CliUnknownArgs before that level's subcommand token (#​1050, fixes #​1048). They were emitted after the last subcommand, so parsing the output again moved a parent's unknown args onto the subcommand.
All changes

What's Changed

New Contributors

Full Changelog: pydantic/pydantic-settings@v2.16.2...v2.16.3

syrupy-project/syrupy (syrupy)

v7.0.2

Compare Source

v7.0.1

Compare Source

astral-sh/ty (ty)

v0.0.104

Compare Source

Released on 2026-11-13.

Bug fixes
  • Narrow class objects in equality and membership checks (#​30393)
  • Preserve literals outside a protocol when simplifying unions (#​30398)
  • Respect implicit __hash__ = None when a class defines __eq__ (#​30145)
LSP server
  • Fix completion after an alias in a parenthesized import (#​30394)
  • Suppress completions while typing multiline import aliases (#​30397)
Contributors

v0.0.103

Compare Source

Released on 2026-11-13.

Bug fixes
  • Avoid spurious syntax warnings when applying fixes (#​30404)
  • Fix a panic checking class decorators with inferred return types (#​30399)
  • Infer nested classes as read-only attributes (#​29346)
  • Infer value types for bare Final and ClassVar (#​30293)
  • Preserve excluded types when inferring type variable upper bounds (#​30237)
  • Preserve inherited value types on repeated bare ClassVar annotations (#​30396)
  • Respect return constraints when promoting literal arguments (#​30153)
LSP server
  • Resolve pytest fixtures registered through pytest_plugins (#​29588)
Contributors

v0.0.102

Compare Source

Released on 2026-11-12.

Breaking changes
  • Split invalid-return-type into 3 focussed rules; rename empty-body and unsound-return (#​29947)
Bug fixes
  • Avoid runaway inference for nested calls with union parameters (#​30220)
  • Fix a panic when simplifying recursive wide unions (#​30141)
  • Fix a stack overflow when inferring calls that return recursive aliases (#​30149)
  • Keep callable-local type variables out of enclosing constraints (#​30241)
  • Preserve Self for unary operators on bounded type variables (#​30242)
  • Preserve descriptor write contracts in overrides and protocols (#​30252)
Diagnostic improvements
  • Rename call-abstract-method to abstract-method-call (#​30287)
  • Rename call-non-callable to not-callable (#​30284)
  • Rename call-top-callable to call-to-function-with-unknown-signature (#​30285)
  • Rename dataclass-field-order to invalid-dataclass-field-order (#​30289)
  • Rename implicit-concatenated-string-type-annotation to implicit-string-concatenation-in-annotation; improve documentation (#​30286)
  • Warn by default for a single overload (#​30214)
Memory usage improvements
  • Check unused stub parameters in the surrounding inference (#​30251)
Other changes
  • Cache alias-preserving binary unions (#​30094)
  • Share use-def layouts for stub function parameters (#​30248)
  • Skip unused parameter bindings in stub bodies (#​30330)
Contributors

Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

@dan-petty-renovate dan-petty-renovate Bot added scope/deps Dependency pins, upgrades and the supply chain type/chore Type chore: maintenance, such as a dependency update labels Nov 17, 2026
dan-petty-renovate Bot and others added 2 commits November 17, 2026 00:43
ty 0.0.104 renamed invalid-return-type to invalid-explicit-return and
call-non-callable to not-callable. The old names gave renamed-rule
warnings, and uv check failed. Each rule keeps its ignore.
@dan-petty
dan-petty force-pushed the renovate/patch-python-dependencies branch from cc3d042 to ff87c02 Compare November 17, 2026 00:45
@dan-petty

Copy link
Copy Markdown
Owner

Manual fix (agent, 2026-11-17, owner rule of 2026-11-16: fix a failing Renovate pull request by hand when a config change cannot remove the failure):

Renovate does not rebase a branch with a commit of another author. If this pull request must take a newer update, tick its rebase box.

@dan-petty
dan-petty enabled auto-merge (squash) November 17, 2026 00:50
@dan-petty
dan-petty merged commit f592ce7 into main Nov 17, 2026
31 checks passed
@dan-petty
dan-petty deleted the renovate/patch-python-dependencies branch November 17, 2026 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/deps Dependency pins, upgrades and the supply chain type/chore Type chore: maintenance, such as a dependency update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant