Skip to content

Bump the python group with 2 updates - #99

Merged
Artui merged 2 commits into
mainfrom
dependabot/uv/python-0463ded661
Dec 1, 2026
Merged

Artui merged 2 commits into
mainfrom
dependabot/uv/python-0463ded661

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps the python group with 2 updates: ruff and ty.

Updates ruff from 0.17.5 to 0.17.6

Release notes

Sourced from ruff's releases.

0.17.6

Release Notes

Released on 2026-11-19.

Preview features

  • [flake8-type-checking] Add a fix for runtime-string-union (TC010) (#15635)

Bug fixes

  • Fix handling of parenthesized duplicate items (B033, RUF068) (#30493)
  • [pyflakes] Fix false negative when a name is assigned more than once (F823) (#30524)
  • [pylint] Avoid false positive when collection is modified in loop (PLR1733, PLR1736) (#30466)
  • [ruff] Avoid syntax error in useless-finally fix for inline try bodies (RUF072) (#30349)
  • Treat relative imports from .__future__ as ordinary imports (#30260)

Rule changes

  • [flake8-simplify] Avoid redundant bool wrappers in SIM208 fixes (#30457)
  • [pyflakes] Ignore __traceback_hide__ in unused-variable (F841) (#29600)

Performance

  • Decode in-memory notebooks directly from their source string (#30385)
  • Short-circuit exact qualified-name checks (#30058)
  • Stream JSON diagnostics to the output writer (#30384)

Documentation

  • Fix the multiline string example in Known Deviations from Black (#30447)
  • Include the category in individual rule documentation pages (#30503)

Other changes

  • Update Rust toolchain to 1.100 and MSRV to 1.98 (#30416)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.17.6

Released on 2026-11-19.

Preview features

  • [flake8-type-checking] Add a fix for runtime-string-union (TC010) (#15635)

Bug fixes

  • Fix handling of parenthesized duplicate items (B033, RUF068) (#30493)
  • [pyflakes] Fix false negative when a name is assigned more than once (F823) (#30524)
  • [pylint] Avoid false positive when collection is modified in loop (PLR1733, PLR1736) (#30466)
  • [ruff] Avoid syntax error in useless-finally fix for inline try bodies (RUF072) (#30349)
  • Treat relative imports from .__future__ as ordinary imports (#30260)

Rule changes

  • [flake8-simplify] Avoid redundant bool wrappers in SIM208 fixes (#30457)
  • [pyflakes] Ignore __traceback_hide__ in unused-variable (F841) (#29600)

Performance

  • Decode in-memory notebooks directly from their source string (#30385)
  • Short-circuit exact qualified-name checks (#30058)
  • Stream JSON diagnostics to the output writer (#30384)

Documentation

  • Fix the multiline string example in Known Deviations from Black (#30447)
  • Include the category in individual rule documentation pages (#30503)

Other changes

  • Update Rust toolchain to 1.100 and MSRV to 1.98 (#30416)

Contributors

Commits
  • a7ba68b Bump version to 0.17.6 (#30578)
  • 3067e15 [ty] Fix lambda parameter inference with an unsolved ParamSpec (#30547)
  • 7aae7a5 Treat relative imports from .__future__ as ordinary imports (#30260)
  • dcc9519 Separate Ruff configuration loading from settings resolution (#30574)
  • c6c706a Avoid repeated scans of unclosed script metadata blocks (#30571)
  • 17ff3e8 Clarify Ruff's root settings and resolver entries (#30573)
  • 1b93171 [ty] Add NumPy to ecosystem runs (#30572)
  • c117517 Resolve configuration roots directly from their origin (#30569)
  • 700c1e8 [ty] Move NamedTupleLike to ty_extensions._internal (#30567)
  • 981d44c [ty] Rename uv-metadata diagnostic to project-manager and improve its wor...
  • Additional commits viewable in compare view

Updates ty from 0.0.104 to 0.0.109

Release notes

Sourced from ty's releases.

0.0.109

Release Notes

Released on 2026-11-23.

Bug fixes

  • Preserve type variables from the surrounding scope when inferring generic calls. For example, forwarding a list[T] through a generic helper can now preserve list[T] as the result type. (#30423)
  • Use the receiver’s type to select overloads when a method is called through an alias. For example, an alias of a Redis method can now infer an awaitable return type for an asynchronous client. (#29341)
  • Report unknown-argument when copy.replace or a generated __replace__ receives an init=False field. This applies to standard-library and Pydantic dataclasses, attrs classes, and other classes using dataclass_transform. (#30850)
  • Preserve literals when union simplification discards the member that would have made them redundant. This also fixes a crash when checking some unions of recursive protocols. (#30774)
  • Accept self as a field keyword in dataclass and Pydantic constructors and in dataclass and named tuple replacement methods. (#29341)
  • Infer Self from the receiver and field arguments in generated dataclass and named tuple methods, so an inherited method can accept a base-class value for a field annotated with Self. (#29341)

LSP server

  • Speed up member completions when looking up documentation for classes and enums with many attributes, such as Flet’s Icons and PySide6’s Qt.Key. (#30707)

Diagnostic improvements

  • Rename the diagnostic for unknown rules in ignore comments to unknown-rule-in-ignore-comment. The old name, ignore-comment-unknown-rule, remains a compatibility alias in configuration and ignore comments. Run ty check --fix to update ignore comments automatically. (#30827)

Performance improvements

Calls and overloads

  • Check nested calls such as NumPy’s dot(dot(a, b), c) faster when several outer overloads give the inner call the same expected return type. (#30785)
  • Reuse successful inference for ordinary type variables and Self across generic calls with matching parameter and argument types, when there’s no expected return type or unpacked variadic parameter. (#30815)
  • Speed up overload resolution by reusing comparisons of parameter and return types when several overloads match. (#30781)
  • Check whether matching overloads cover all possible arguments faster when consecutive overloads infer the same argument types, as can happen with boto3 client calls. (#30789)
  • Speed up repeated calls to overloads that share a type variable, such as TypedDict.get overloads that share the type of the default argument. (#30813)
  • Check calls to ordinary functions faster when many arguments are captured by *args or **kwargs. (#30734)
  • Speed up call inference by avoiding unnecessary copies of inferred argument types, including on the first pass of generic inference. (#30826)

Generics and recursive types

  • Speed up type compatibility checks that must hold for every specialization of a type variable, including assignability and equivalence checks. (#30748)
  • Solve generic type constraints faster by reusing results for pairs of constraints that yield no new information. (#30788)
  • Speed up inference for recursive types whose generic arguments share nested unions. (#30735)
  • Limit alias expansion and cycle checks to aliases and recursive types. (#30828)

Classes and TypedDicts

  • Check assignments to instance attributes faster when repeated assignments give the attribute a wide union type, as in tokenizer state machines. (#30775)
  • Speed up repeated comparisons between TypedDicts and unions, including recursive unions such as Pydantic’s CoreSchema. (#30555)
  • Determine whether a class is abstract faster when its methods use decorators that preserve the method’s type. (#30802)
  • Check enums with built-in tuple values faster when using the bundled standard-library stubs. (#30777)
  • Check attribute assignments and deletions faster when the class and its bases are unfrozen. (#30820)
  • Speed up checks for inherited dataclass ordering by looking up decorators only on base classes with ordering enabled. (#30810)

... (truncated)

Changelog

Sourced from ty's changelog.

0.0.109

Released on 2026-11-23.

Bug fixes

  • Preserve type variables from the surrounding scope when inferring generic calls. For example, forwarding a list[T] through a generic helper can now preserve list[T] as the result type. (#30423)
  • Use the receiver’s type to select overloads when a method is called through an alias. For example, an alias of a Redis method can now infer an awaitable return type for an asynchronous client. (#29341)
  • Report unknown-argument when copy.replace or a generated __replace__ receives an init=False field. This applies to standard-library and Pydantic dataclasses, attrs classes, and other classes using dataclass_transform. (#30850)
  • Preserve literals when union simplification discards the member that would have made them redundant. This also fixes a crash when checking some unions of recursive protocols. (#30774)
  • Accept self as a field keyword in dataclass and Pydantic constructors and in dataclass and named tuple replacement methods. (#29341)
  • Infer Self from the receiver and field arguments in generated dataclass and named tuple methods, so an inherited method can accept a base-class value for a field annotated with Self. (#29341)

LSP server

  • Speed up member completions when looking up documentation for classes and enums with many attributes, such as Flet’s Icons and PySide6’s Qt.Key. (#30707)

Diagnostic improvements

  • Rename the diagnostic for unknown rules in ignore comments to unknown-rule-in-ignore-comment. The old name, ignore-comment-unknown-rule, remains a compatibility alias in configuration and ignore comments. Run ty check --fix to update ignore comments automatically. (#30827)

Performance improvements

Calls and overloads

  • Check nested calls such as NumPy’s dot(dot(a, b), c) faster when several outer overloads give the inner call the same expected return type. (#30785)
  • Reuse successful inference for ordinary type variables and Self across generic calls with matching parameter and argument types, when there’s no expected return type or unpacked variadic parameter. (#30815)
  • Speed up overload resolution by reusing comparisons of parameter and return types when several overloads match. (#30781)
  • Check whether matching overloads cover all possible arguments faster when consecutive overloads infer the same argument types, as can happen with boto3 client calls. (#30789)
  • Speed up repeated calls to overloads that share a type variable, such as TypedDict.get overloads that share the type of the default argument. (#30813)
  • Check calls to ordinary functions faster when many arguments are captured by *args or **kwargs. (#30734)
  • Speed up call inference by avoiding unnecessary copies of inferred argument types, including on the first pass of generic inference. (#30826)

Generics and recursive types

  • Speed up type compatibility checks that must hold for every specialization of a type variable, including assignability and equivalence checks. (#30748)
  • Solve generic type constraints faster by reusing results for pairs of constraints that yield no new information. (#30788)
  • Speed up inference for recursive types whose generic arguments share nested unions. (#30735)
  • Limit alias expansion and cycle checks to aliases and recursive types. (#30828)

Classes and TypedDicts

  • Check assignments to instance attributes faster when repeated assignments give the attribute a wide union type, as in tokenizer state machines. (#30775)
  • Speed up repeated comparisons between TypedDicts and unions, including recursive unions such as Pydantic’s CoreSchema. (#30555)
  • Determine whether a class is abstract faster when its methods use decorators that preserve the method’s type. (#30802)
  • Check enums with built-in tuple values faster when using the bundled standard-library stubs. (#30777)
  • Check attribute assignments and deletions faster when the class and its bases are unfrozen. (#30820)
  • Speed up checks for inherited dataclass ordering by looking up decorators only on base classes with ordering enabled. (#30810)

Unions, narrowing, and literals

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the python group with 2 updates: [ruff](https://github.com/astral-sh/ruff) and [ty](https://github.com/astral-sh/ty).


Updates `ruff` from 0.17.5 to 0.17.6
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.17.5...0.17.6)

Updates `ty` from 0.0.104 to 0.0.109
- [Release notes](https://github.com/astral-sh/ty/releases)
- [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ty@0.0.104...0.0.109)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.17.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python
- dependency-name: ty
  dependency-version: 0.0.109
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from Artui as a code owner December 1, 2026 02:36
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Dec 1, 2026
@Artui
Artui merged commit 4eeca1b into main Dec 1, 2026
29 checks passed
@Artui
Artui deleted the dependabot/uv/python-0463ded661 branch December 1, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant