Skip to content

chore(deps-dev): bump ty from 0.0.109 to 0.0.113 - #202

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/ty-0.0.113
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/ty-0.0.113

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Bumps ty from 0.0.109 to 0.0.113.

Release notes

Sourced from ty's releases.

0.0.113

Release Notes

Released on 2026-11-29.

Performance improvements

  • Simplify unions containing many string, bytes, or integer literals faster by reusing comparisons with other members, such as the class objects in NumPy’s dtype annotations. (#30994)
  • Infer large collections of literals faster when consecutive elements without an expected type widen to the same built-in type, as in the keys or values of Rich’s emoji table. (#30672)
  • Index imported dependencies faster by skipping syntax checks and other work used only for diagnostics in files outside the set ty checks. (#30146)
  • Reduce cache overhead in the language server and ty check --watch by avoiding a lock when reusing a parsed module. (#30951)
  • Check functions annotated -> None faster by skipping the analysis that determines whether execution can reach an implicit return. (#30987)
  • Report project-wide diagnostics faster by looking up each diagnostic’s file path once before sorting. (#30982)
  • Simplify unions of fixed-length tuples faster by checking earlier for disjoint literals or distinct class objects at matching positions. (#30997)
  • Reduce the overhead of comparing ordinary union members by running literal-group simplification only for groups of literals. (#30997)
  • Match positional arguments to parameters faster when every remaining parameter has a default and the call has no keyword arguments or unpacking. (#30964)
  • Check overloaded methods faster by building their signatures directly as ty specializes each overload for the receiver. (#30972)
  • Look up methods on specialized generic classes faster when Self appears in multiple parts of the signature. (#30966)
  • Reduce stack usage when inferring and checking function calls. (#31006)
  • Reduce cache lookup overhead for assignability checks and other type comparisons that infer type variables. (#30968)
  • Reduce the overhead of solving type constraints when a comparison has a simple yes-or-no answer or involves only a few constraints. (#31023, #30980)
  • Analyze generic types such as list[T] faster by avoiding redundant recursion checks when inspecting their type arguments. (#30783)
  • Resolve names used as types faster, including imported classes and implicit type aliases, by following imports once when checking what a name refers to. (#31018)
  • Reduce the cost of looking up a generic type alias in its original form when ty already has the alias without type arguments. (#30977)
  • Resolve names and attributes faster by starting with local bindings and using a direct lookup when a single unconditional binding needs no further narrowing or re-export check. (#30952, #30949)
  • Look up names faster in small scopes, such as functions with few parameters and local variables. (#31010)
  • Index and look up definitions faster, including the common case where a statement defines a single name. (#30989, #31005)
  • Index function parameters more efficiently when the body contains only a docstring, pass, or ..., including stubs with a leading docstring. (#30984)
  • Reduce the overhead of tracking assignments and declarations through control flow when only a few definitions can reach a use. (#31009, #30971)
  • Reduce allocations when scopes in the same file share identical assignment and declaration information. (#31035)
  • Reduce the work needed to build the index of conditions that determine which code is reachable. (#30942, #31032)
  • Evaluate whether code is reachable faster when the relevant conditions are in the current scope. (#30948)
  • Reduce allocations when tracking which names and attributes are defined across branches by reusing up-to-date information and recording undefined entries only when needed. (#31024, #31026)
  • Reduce allocations when indexing files by sizing tables for imports and other syntax information up front. (#31031)
  • Reduce diagnostic overhead by reusing checks for whether a file is in scope and whether an enclosing function uses @no_type_check. (#30947)
  • Skip looking up redundant-condition rules in blocks without if, assert, while, or match statements. (#30947)

Memory usage improvements

  • Use less memory across a project by reserving cache space for dynamically created classes and type aliases only on the definitions that need it. (#30955)
  • Use less memory when treating a bound Python method such as obj.method as a callable. (#31017)
  • Use less memory when checking whether a function matches a Callable type by comparing their signatures directly. (#25948)
  • Use less memory to track expressions inferred on their own, including the right-hand sides of assignments. (#28952)
  • Use less memory to track unpacking in assignments and comprehensions. (#30975)

Core type checking

  • Check generators faster when an implicit None return is valid, as with Iterator[int] or Generator[int, None, str | None]. In these cases, ty skips analyzing whether execution reaches the end of the body. (#30992)
  • Reduce the memory used to cache type-checking results on 64-bit systems by upgrading to Salsa 0.28.7. (#30950)
  • Include more cache bookkeeping in reports enabled by TY_MEMORY_REPORT, which can increase reported memory use. (#30950)

... (truncated)

Changelog

Sourced from ty's changelog.

0.0.113

Released on 2026-11-29.

Performance improvements

  • Simplify unions containing many string, bytes, or integer literals faster by reusing comparisons with other members, such as the class objects in NumPy’s dtype annotations. (#30994)
  • Infer large collections of literals faster when consecutive elements without an expected type widen to the same built-in type, as in the keys or values of Rich’s emoji table. (#30672)
  • Index imported dependencies faster by skipping syntax checks and other work used only for diagnostics in files outside the set ty checks. (#30146)
  • Reduce cache overhead in the language server and ty check --watch by avoiding a lock when reusing a parsed module. (#30951)
  • Check functions annotated -> None faster by skipping the analysis that determines whether execution can reach an implicit return. (#30987)
  • Report project-wide diagnostics faster by looking up each diagnostic’s file path once before sorting. (#30982)
  • Simplify unions of fixed-length tuples faster by checking earlier for disjoint literals or distinct class objects at matching positions. (#30997)
  • Reduce the overhead of comparing ordinary union members by running literal-group simplification only for groups of literals. (#30997)
  • Match positional arguments to parameters faster when every remaining parameter has a default and the call has no keyword arguments or unpacking. (#30964)
  • Check overloaded methods faster by building their signatures directly as ty specializes each overload for the receiver. (#30972)
  • Look up methods on specialized generic classes faster when Self appears in multiple parts of the signature. (#30966)
  • Reduce stack usage when inferring and checking function calls. (#31006)
  • Reduce cache lookup overhead for assignability checks and other type comparisons that infer type variables. (#30968)
  • Reduce the overhead of solving type constraints when a comparison has a simple yes-or-no answer or involves only a few constraints. (#31023, #30980)
  • Analyze generic types such as list[T] faster by avoiding redundant recursion checks when inspecting their type arguments. (#30783)
  • Resolve names used as types faster, including imported classes and implicit type aliases, by following imports once when checking what a name refers to. (#31018)
  • Reduce the cost of looking up a generic type alias in its original form when ty already has the alias without type arguments. (#30977)
  • Resolve names and attributes faster by starting with local bindings and using a direct lookup when a single unconditional binding needs no further narrowing or re-export check. (#30952, #30949)
  • Look up names faster in small scopes, such as functions with few parameters and local variables. (#31010)
  • Index and look up definitions faster, including the common case where a statement defines a single name. (#30989, #31005)
  • Index function parameters more efficiently when the body contains only a docstring, pass, or ..., including stubs with a leading docstring. (#30984)
  • Reduce the overhead of tracking assignments and declarations through control flow when only a few definitions can reach a use. (#31009, #30971)
  • Reduce allocations when scopes in the same file share identical assignment and declaration information. (#31035)
  • Reduce the work needed to build the index of conditions that determine which code is reachable. (#30942, #31032)
  • Evaluate whether code is reachable faster when the relevant conditions are in the current scope. (#30948)
  • Reduce allocations when tracking which names and attributes are defined across branches by reusing up-to-date information and recording undefined entries only when needed. (#31024, #31026)
  • Reduce allocations when indexing files by sizing tables for imports and other syntax information up front. (#31031)
  • Reduce diagnostic overhead by reusing checks for whether a file is in scope and whether an enclosing function uses @no_type_check. (#30947)
  • Skip looking up redundant-condition rules in blocks without if, assert, while, or match statements. (#30947)

Memory usage improvements

  • Use less memory across a project by reserving cache space for dynamically created classes and type aliases only on the definitions that need it. (#30955)
  • Use less memory when treating a bound Python method such as obj.method as a callable. (#31017)
  • Use less memory when checking whether a function matches a Callable type by comparing their signatures directly. (#25948)
  • Use less memory to track expressions inferred on their own, including the right-hand sides of assignments. (#28952)
  • Use less memory to track unpacking in assignments and comprehensions. (#30975)

Core type checking

  • Check generators faster when an implicit None return is valid, as with Iterator[int] or Generator[int, None, str | None]. In these cases, ty skips analyzing whether execution reaches the end of the body. (#30992)
  • Reduce the memory used to cache type-checking results on 64-bit systems by upgrading to Salsa 0.28.7. (#30950)
  • Include more cache bookkeeping in reports enabled by TY_MEMORY_REPORT, which can increase reported memory use. (#30950)

... (truncated)

Commits

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Start Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Bumps [ty](https://github.com/astral-sh/ty) from 0.0.109 to 0.0.113.
- [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.109...0.0.113)

---
updated-dependencies:
- dependency-name: ty
  dependency-version: 0.0.113
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 2, 2026
Copilot AI lite review requested due to automatic review settings December 2, 2026 11:54
@dependabot dependabot Bot added the python:uv Pull requests that update python:uv code label Dec 2, 2026
@coderabbitai

coderabbitai Bot commented Dec 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 12cfd795-2df8-4825-9da3-c87c6783a2b8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

@codecov

codecov Bot commented Dec 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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