Skip to content

Python: chore(deps): bump the python-type-checkers group across 2 directories with 1 update - #10580

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python/python-type-checkers-aaa0fa4b79
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python/python-type-checkers-aaa0fa4b79

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the python-type-checkers group with 1 update in the /python directory: ty.
Bumps the python-type-checkers group with 1 update in the /python/tooling directory: ty.

Updates ty from 0.0.107 to 0.0.111

Release notes

Sourced from ty's releases.

0.0.111

Release Notes

Released on 2026-11-25.

Bug fixes

  • Fix a crash when choosing an overload for a class decorator depends on an inherited attribute whose type refers back to the decorated class. ty preserves the original class for Self inference even if the decorated name widens to a union. (#30845)

Performance improvements

  • Infer repeated generic calls faster by reusing type arguments when the argument types and expected return type match, including for bounded type variables. (#30909)
  • Speed up type checking by reducing the work needed to collect and merge inferred expression types, as in geomaglib. (#30882)
  • Analyze control flow faster when switching between branches or exception handlers, such as in generated bindings with many try statements. (#30776)
  • Narrow names and attributes faster by looking up only the conditions that can affect them and reusing those lookups as ty follows control flow. (#30792, #30780)
  • Speed up reachability analysis when branches merge and leave the same definitions in scope. (#30865)
  • Preserve narrowing from a later check when complex control flow reaches ty's limit for combining narrowing conditions. (#30865)
  • Resolve overloaded calls with Any arguments faster when the earlier overloads infer the same argument types and all rule out object() at the same argument position. (#30866)
  • Infer instance attributes such as self.name faster by indexing their assignments and declarations once per class. (#30901)
  • Check assignments to unannotated instance attributes faster when the value already has the attribute's inferred type, such as when the call in self.items = wrap(value) determines the type of items. (#30862)
  • Look up inherited members faster on standard generic types such as list[int] and list[str] by reusing their method resolution order across type arguments. (#30908)
  • Determine instance types faster by reusing information about a class and its bases, including whether it is a TypedDict or a protocol or inherits from explicit Any. (#30906)
  • Look up members faster across different string or integer literals, while retaining exact lengths for string __len__. (#30907)
  • Bind methods without overloads faster by reusing whether they are class methods or static methods. (#30907)
  • Speed up inference for unannotated collections such as items = [] by looking up the initializer only for uses that can constrain its type, such as items.append(1). (#30904)
  • Index names, attributes, and subscripts faster, including common accesses such as self.name. (#30904)
  • Resolve recursive types faster when wide unions of distinct instance types stay the same, as in Pygments' Sphinx extension. (#30805)
  • Reduce indexing overhead by making it cheaper to store and share information about assignments and declarations. (#30905)
  • Reduce the cost of storing inferred expression types when finishing a scope. (#30895)

Contributors

Install ty 0.0.111

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.111/ty-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ty/releases/download/0.0.111/ty-installer.ps1 | iex"

Download ty 0.0.111

... (truncated)

Changelog

Sourced from ty's changelog.

0.0.111

Released on 2026-11-25.

Bug fixes

  • Fix a crash when choosing an overload for a class decorator depends on an inherited attribute whose type refers back to the decorated class. ty preserves the original class for Self inference even if the decorated name widens to a union. (#30845)

Performance improvements

  • Infer repeated generic calls faster by reusing type arguments when the argument types and expected return type match, including for bounded type variables. (#30909)
  • Speed up type checking by reducing the work needed to collect and merge inferred expression types, as in geomaglib. (#30882)
  • Analyze control flow faster when switching between branches or exception handlers, such as in generated bindings with many try statements. (#30776)
  • Narrow names and attributes faster by looking up only the conditions that can affect them and reusing those lookups as ty follows control flow. (#30792, #30780)
  • Speed up reachability analysis when branches merge and leave the same definitions in scope. (#30865)
  • Preserve narrowing from a later check when complex control flow reaches ty's limit for combining narrowing conditions. (#30865)
  • Resolve overloaded calls with Any arguments faster when the earlier overloads infer the same argument types and all rule out object() at the same argument position. (#30866)
  • Infer instance attributes such as self.name faster by indexing their assignments and declarations once per class. (#30901)
  • Check assignments to unannotated instance attributes faster when the value already has the attribute's inferred type, such as when the call in self.items = wrap(value) determines the type of items. (#30862)
  • Look up inherited members faster on standard generic types such as list[int] and list[str] by reusing their method resolution order across type arguments. (#30908)
  • Determine instance types faster by reusing information about a class and its bases, including whether it is a TypedDict or a protocol or inherits from explicit Any. (#30906)
  • Look up members faster across different string or integer literals, while retaining exact lengths for string __len__. (#30907)
  • Bind methods without overloads faster by reusing whether they are class methods or static methods. (#30907)
  • Speed up inference for unannotated collections such as items = [] by looking up the initializer only for uses that can constrain its type, such as items.append(1). (#30904)
  • Index names, attributes, and subscripts faster, including common accesses such as self.name. (#30904)
  • Resolve recursive types faster when wide unions of distinct instance types stay the same, as in Pygments' Sphinx extension. (#30805)
  • Reduce indexing overhead by making it cheaper to store and share information about assignments and declarations. (#30905)
  • Reduce the cost of storing inferred expression types when finishing a scope. (#30895)

Contributors

0.0.110

Released on 2026-11-25.

Bug fixes

  • Avoid long type-checking delays in nested generic calls where a child argument can match both a type variable and a parameterized type, such as T | Tree[T]. (#30847)
  • Infer more precise return types when a generic argument can match multiple members of a union. For example, passing [1] to a function with parameter type T | list[T] and return type list[T] can now infer list[int] when that choice fits the other arguments and the expected return type. (#30847)
  • Use the types of other operands or branches when inferring fresh collection literals in boolean and conditional expressions. If values is list[int] | None, ty now accepts appending 1 to the result of values or [None] and still rejects appending None. (#30911)
  • Narrow types using built-in list equality in comparison and membership checks. For example, value in ("all", "open") now narrows str | list[str] to the two string literals under the default equality settings. The change also covers != for built-in lists and dictionaries, while respecting custom comparison methods and analysis.strict-equality-semantics. (#30762)
  • Restore editor folding for indented # region and # endregion comments, such as those inside a function. (#30893)

Diagnostic improvements

  • Explain in incompatible-property-override and incompatible-mutable-override diagnostics when an attribute has neither a matching __slots__ entry nor an instance dictionary. When a custom __setattr__ rejects writes of a type accepted by the base class, point to that method. (#29531)

Configuration changes

... (truncated)

Commits

Updates ty from 0.0.107 to 0.0.111

Release notes

Sourced from ty's releases.

0.0.111

Release Notes

Released on 2026-11-25.

Bug fixes

  • Fix a crash when choosing an overload for a class decorator depends on an inherited attribute whose type refers back to the decorated class. ty preserves the original class for Self inference even if the decorated name widens to a union. (#30845)

Performance improvements

  • Infer repeated generic calls faster by reusing type arguments when the argument types and expected return type match, including for bounded type variables. (#30909)
  • Speed up type checking by reducing the work needed to collect and merge inferred expression types, as in geomaglib. (#30882)
  • Analyze control flow faster when switching between branches or exception handlers, such as in generated bindings with many try statements. (#30776)
  • Narrow names and attributes faster by looking up only the conditions that can affect them and reusing those lookups as ty follows control flow. (#30792, #30780)
  • Speed up reachability analysis when branches merge and leave the same definitions in scope. (#30865)
  • Preserve narrowing from a later check when complex control flow reaches ty's limit for combining narrowing conditions. (#30865)
  • Resolve overloaded calls with Any arguments faster when the earlier overloads infer the same argument types and all rule out object() at the same argument position. (#30866)
  • Infer instance attributes such as self.name faster by indexing their assignments and declarations once per class. (#30901)
  • Check assignments to unannotated instance attributes faster when the value already has the attribute's inferred type, such as when the call in self.items = wrap(value) determines the type of items. (#30862)
  • Look up inherited members faster on standard generic types such as list[int] and list[str] by reusing their method resolution order across type arguments. (#30908)
  • Determine instance types faster by reusing information about a class and its bases, including whether it is a TypedDict or a protocol or inherits from explicit Any. (#30906)
  • Look up members faster across different string or integer literals, while retaining exact lengths for string __len__. (#30907)
  • Bind methods without overloads faster by reusing whether they are class methods or static methods. (#30907)
  • Speed up inference for unannotated collections such as items = [] by looking up the initializer only for uses that can constrain its type, such as items.append(1). (#30904)
  • Index names, attributes, and subscripts faster, including common accesses such as self.name. (#30904)
  • Resolve recursive types faster when wide unions of distinct instance types stay the same, as in Pygments' Sphinx extension. (#30805)
  • Reduce indexing overhead by making it cheaper to store and share information about assignments and declarations. (#30905)
  • Reduce the cost of storing inferred expression types when finishing a scope. (#30895)

Contributors

Install ty 0.0.111

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ty/releases/download/0.0.111/ty-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ty/releases/download/0.0.111/ty-installer.ps1 | iex"

Download ty 0.0.111

... (truncated)

Changelog

Sourced from ty's changelog.

0.0.111

Released on 2026-11-25.

Bug fixes

  • Fix a crash when choosing an overload for a class decorator depends on an inherited attribute whose type refers back to the decorated class. ty preserves the original class for Self inference even if the decorated name widens to a union. (#30845)

Performance improvements

  • Infer repeated generic calls faster by reusing type arguments when the argument types and expected return type match, including for bounded type variables. (#30909)
  • Speed up type checking by reducing the work needed to collect and merge inferred expression types, as in geomaglib. (#30882)
  • Analyze control flow faster when switching between branches or exception handlers, such as in generated bindings with many try statements. (#30776)
  • Narrow names and attributes faster by looking up only the conditions that can affect them and reusing those lookups as ty follows control flow. (#30792, #30780)
  • Speed up reachability analysis when branches merge and leave the same definitions in scope. (#30865)
  • Preserve narrowing from a later check when complex control flow reaches ty's limit for combining narrowing conditions. (#30865)
  • Resolve overloaded calls with Any arguments faster when the earlier overloads infer the same argument types and all rule out object() at the same argument position. (#30866)
  • Infer instance attributes such as self.name faster by indexing their assignments and declarations once per class. (#30901)
  • Check assignments to unannotated instance attributes faster when the value already has the attribute's inferred type, such as when the call in self.items = wrap(value) determines the type of items. (#30862)
  • Look up inherited members faster on standard generic types such as list[int] and list[str] by reusing their method resolution order across type arguments. (#30908)
  • Determine instance types faster by reusing information about a class and its bases, including whether it is a TypedDict or a protocol or inherits from explicit Any. (#30906)
  • Look up members faster across different string or integer literals, while retaining exact lengths for string __len__. (#30907)
  • Bind methods without overloads faster by reusing whether they are class methods or static methods. (#30907)
  • Speed up inference for unannotated collections such as items = [] by looking up the initializer only for uses that can constrain its type, such as items.append(1). (#30904)
  • Index names, attributes, and subscripts faster, including common accesses such as self.name. (#30904)
  • Resolve recursive types faster when wide unions of distinct instance types stay the same, as in Pygments' Sphinx extension. (#30805)
  • Reduce indexing overhead by making it cheaper to store and share information about assignments and declarations. (#30905)
  • Reduce the cost of storing inferred expression types when finishing a scope. (#30895)

Contributors

0.0.110

Released on 2026-11-25.

Bug fixes

  • Avoid long type-checking delays in nested generic calls where a child argument can match both a type variable and a parameterized type, such as T | Tree[T]. (#30847)
  • Infer more precise return types when a generic argument can match multiple members of a union. For example, passing [1] to a function with parameter type T | list[T] and return type list[T] can now infer list[int] when that choice fits the other arguments and the expected return type. (#30847)
  • Use the types of other operands or branches when inferring fresh collection literals in boolean and conditional expressions. If values is list[int] | None, ty now accepts appending 1 to the result of values or [None] and still rejects appending None. (#30911)
  • Narrow types using built-in list equality in comparison and membership checks. For example, value in ("all", "open") now narrows str | list[str] to the two string literals under the default equality settings. The change also covers != for built-in lists and dictionaries, while respecting custom comparison methods and analysis.strict-equality-semantics. (#30762)
  • Restore editor folding for indented # region and # endregion comments, such as those inside a function. (#30893)

Diagnostic improvements

  • Explain in incompatible-property-override and incompatible-mutable-override diagnostics when an attribute has neither a matching __slots__ entry nor an instance dictionary. When a custom __setattr__ rejects writes of a type accepted by the base class, point to that method. (#29531)

Configuration changes

... (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

… with 1 update

Bumps the python-type-checkers group with 1 update in the /python directory: [ty](https://github.com/astral-sh/ty).
Bumps the python-type-checkers group with 1 update in the /python/tooling directory: [ty](https://github.com/astral-sh/ty).


Updates `ty` from 0.0.107 to 0.0.111
- [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.107...0.0.111)

Updates `ty` from 0.0.107 to 0.0.111
- [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.107...0.0.111)

---
updated-dependencies:
- dependency-name: ty
  dependency-version: 0.0.111
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-type-checkers
- dependency-name: ty
  dependency-version: 0.0.111
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-type-checkers
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Usage: [Issues, PRs], Target: dependencies in the project python Usage: [Issues, PRs], Target: Python labels Dec 3, 2026
Copilot AI balanced review requested due to automatic review settings December 3, 2026 14:37
@github-actions github-actions Bot changed the title chore(deps): bump the python-type-checkers group across 2 directories with 1 update Python: chore(deps): bump the python-type-checkers group across 2 directories with 1 update Dec 3, 2026

Copilot AI 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.

🟢 Approval recommended

No active review issues block the shared Python tooling’s ty version-pin update.

No open issues 🎉

What changed in this PR

Updates Agent Framework’s shared Python type-checking tooling to a newer ty release.

Changes:

  • Bumps ty from 0.0.107 to 0.0.111; other checker pins remain unchanged.
File Description
python/​tooling/​requirements-typing.txt Updates the pinned ty version to 0.0.111.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Usage: [Issues, PRs], Target: dependencies in the project python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant