Skip to content

Update dependency ty to >=0.0.65,<0.0.66 - #201

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pep621
Open

Update dependency ty to >=0.0.65,<0.0.66#201
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pep621

Conversation

@renovate

@renovate renovate Bot commented Jul 27, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ty (changelog) >=0.0.27,<0.0.60>=0.0.65,<0.0.66 age adoption passing confidence

Release Notes

astral-sh/ty (ty)

v0.0.65

Compare Source

Released on 2026-07-29.

LSP server
  • Support comprehension walruses in IDE features (#​26476)
Library support
  • Pydantic: Allow mutation of private attributes on frozen models (#​27257)
  • Pydantic: Synthesize __replace__ for models (#​27220)
Diagnostics
  • Correct ParamSpec forwarded-argument diagnostic locations (#​27263)
  • Recover forwarded callable object and constructor sources (#​27264)
  • Recover forwarded functools.partial diagnostic sources (#​27265)
Core type checking
  • Fix gradual class assignability with generic receivers (#​27223)
  • Lazily materialize protocol attributes (#​27267)
  • Narrow tagged unions through all type kinds (#​27226)
  • Prefer static constrained TypeVar solutions (#​27057)
  • Preserve frozen-dataclass setter delegation (#​27217)
  • Preserve inference when filtering constructor overloads (#​27254)
  • Reject frozen-dataclass field deletion through subclasses (#​27001)
  • Stabilize recursive type-constraint ordering (#​27176)
  • Support materialized class type expressions (#​27258)
Performance
  • Avoid quadratic inference for large literal unions (#​27178)
  • Cache protocol receiver binding (#​27301)
Contributors

v0.0.64

Compare Source

Released on 2026-07-27.

Bug fixes
  • Fix identity narrowing for NewTypes (#​26439)
  • Make reachability analysis idempotent (#​27163)
LSP server
  • Fix ParamSpec declaration hover and type navigation (#​27183)
  • Implement LSP textDocument/implementation request (#​25410)
  • Introduce shared primitives for parsing backticks in docstrings (#​26928)
  • Render NumPy docstrings as structured Markdown (#​25925)
CLI
  • Add --exclude-scripts and --include-scripts (#​27169)
  • Discover uv workspace roots (#​25551)
Diagnostics
  • Add a lint rule for combined abstract and final decorators (#​26932)
  • Change --add-ignore to add space after the colon for ty: ignore (#​27120)
  • Fix missing-override-decorator suggestion before Python 3.12 (#​27166)
  • Reuse full call diagnostics for implicit setter calls (#​27115)
Configuration
  • Allow unresolved unused venv home paths (#​27162)
  • Simplify script metadata query (#​27121)
Core type checking
  • Decorate only overload implementation signatures (#​27147)
  • Don't consider known-instance types, generic aliases or non-singleton special-form types to be single-valued (#​27137)
  • Improve identity comparison inference for singleton types (#​27126)
  • Improve tuple membership and rich comparison inference (#​27164)
  • Model walrus bindings from comprehensions (#​26466)
  • Narrow tagged unions using identity comparisons (#​27130)
  • Preserve Self in __new__ calls (#​27003)
  • Preserve receiver constraints when binding overloaded methods (#​27038)
  • Support generic manual PEP 695 type aliases (#​27083)
  • Treat bivariance as covariant (#​24319)
Performance
  • Avoid cycles when resolving ModuleType globals (#​27182)
  • Avoid expanding optional enum comparisons (#​27105)
  • Avoid repeated inference when copying mixed TypedDict unions (#​27108)
  • Improve importer performance (#​27159)
  • Improve union and intersection builder performance (#​27167)
Contributors

v0.0.63

Compare Source

Released on 2026-07-23.

Core type checking
  • Handle generic stringified PEP 613 (typing.TypeAlias) type aliases (#​27092)
  • Allow equality narrowing across non-final classes (#​27031)
  • Allow interpolated string literals to be promoted to str (#​27104)
  • Fix double specialization of generic type aliases (#​27058)
  • Fix intersections of type and TypeForm (#​27099)
  • When narrowing from a match statement leads a variable x to be inferred as A & B, infer the type of x.attr as <type of A.attr> & <type of B.attr> (#​27103)
Library support
  • Pydantic: Stricter validation of sub-model fields in lax mode (#​27091)
  • Pydantic: Support special underscore parameters in BaseSettings models (#​27098)
Performance
  • Avoid exponential narrowing of optional dynamic match subjects (#​27100)
  • Avoid normalizing cached absolute file paths (#​26998)
Contributors

v0.0.62

Compare Source

Released on 2026-07-21.

Bug fixes
  • Guard recursive Protocol and TypedDict relations (#​26990)
  • Prevent stack overflows in recursive type relation checks (#​26503)
  • Recover from cancelled file indexing (#​26876)
Diagnostics
  • Avoid editing ignore comments with trailing reasons (#​26939)
  • Prefer innermost inline suppressions (#​26940)
  • Remove unused own-line ignore comments (#​27013)
  • Reuse applicable own-line suppressions in --add-ignore (#​26925)
Configuration
  • Respect rules and analysis in PEP 723 script metadata configurations (#​26671)
Core type checking
  • Accept gradual constrained TypeVar solutions (#​26965)
  • Avoid recursive TypeVarTuple alias expansion (#​27032)
  • Check inherited method conflicts via the MRO (#​27019)
  • Contextually infer custom __setattr__ assignments (#​27015)
  • Fix Callable isinstance reachability (#​26970)
  • Fix Just[float] protocol matching (#​27053)
  • Fix Self binding for classmethod __new__ constructors (#​27030)
  • Fix nested short-circuit flow snapshots (#​26956)
  • Gate TypedDict PEP 728 parameters by Python version (#​26968)
  • Improve match reachability inference around value-pattern branches (#​26979)
  • Make membership and equality narrowing consistent (#​26982)
  • Preserve constrained TypeVar equality narrowing (#​26988)
  • Preserve constrained TypeVar inequality narrowing (#​26995)
  • Preserve unsatisfiable generic call constraints (#​26964)
  • Respect bounded typevars in union inference (#​27023)
  • Respect metaclass __setattr__ for class attributes (#​27000)
Performance
  • Cache non-terminal-call reachability prefixes (#​26810)
  • Cache protocol Self binding (#​26997)
  • Cache sparse reachability checkpoints (#​26811)
  • Defer statement-call narrowing gates (#​26793)
Contributors

v0.0.61

Compare Source

Released on 2026-07-17.

Bug fixes
  • Avoid recursive protocol structural comparisons (#​26721)
LSP server
  • Render Google docstrings as structured Markdown (#​26599)
Library support
  • Pydantic: Collect field metadata through subscripted generic Annotated aliases (#​26885)
Diagnostics
  • Avoid extending own-line suppressions in --add-ignore (#​26808)
Core type checking
  • Derive descriptor setter domains for protocols (#​26683)
  • Enforce declared receiver TypeVar domains (#​26863)
  • Infer isinstance results for aliases and type variables (#​26961)
  • Infer isinstance results for fixed class tuples (#​26935)
  • Narrow inline list and set membership checks (#​26955)
  • Narrow tagged unions by tag truthiness (#​26887)
  • Narrow walrus expression values (#​26949)
  • Project intersections in to_instance (#​26892)
  • Remove inferable TypeVar artifacts recursively (#​26787)
  • Respect mixin receiver domains in method overrides (#​26941)
  • Support TypeVarTuple and Unpack (#​25240)
Performance
  • Deduplicate completion labels (#​26890)
  • Only collect expected types for files open in the editor (#​25546)
  • Parallelize subtype hierarchy search (#​26875)
  • Share heap-backed parser names with CharStr (#​26594)
  • Use the new incremental checker from the ignore crate (#​26933)
Contributors

v0.0.60

Compare Source

Released on 2026-07-15.

Bug fixes
  • Expand transparent callable workaround with overloads and Awaitable[T] (#​26761)
  • Separate type-mapping caches by transformation mode (#​26857)
  • Avoid recursive protocol union redundancy checks (#​26689)
  • Handle recursive protocols in redundant-cast checks (#​26708)
LSP server
  • Prevent type that is written with a code span from being incorrectly re-wrapped during docstring Markdown rendering (#​26723)
Library support
  • Pydantic: Support populate_by_name and custom initializers (#​26764)
  • Pydantic: Warn about immediately discarded extra arguments (#​26762)
Diagnostics
  • Narrow TypeGuard keyword arguments and remove invalid-type-guard-call (#​26809)
  • Support own-line suppression comments (#​26785)
Core type checking
  • Derive descriptor setter domains for protocols (#​26683)
  • Handle cycles in derived constraint relations (#​26814)
  • Implement unified generic call inference (#​26141)
  • Preserve constraints from bound receivers (#​26776)
  • Project exact-length narrowing through TypeVars (#​26852)
  • Resolve PEP 695 aliases in type[...] annotations (#​26842)
  • Retain sequence pattern narrowing in successful match cases (#​26807)
  • Support class and static protocol methods (#​26574)
  • Support class objects satisfying instance-method protocols (#​26789)
  • Support type[Protocol] (#​26649)
  • Sync vendored typeshed stubs (#​26840). Typeshed diff
  • Treat transparent callable decorators consistently in class assignments (#​26720)
Performance
  • Compare overloaded protocol method returns pairwise (#​26684)
  • Extend PathBounds fast-path to support both upper and lower bounds (#​26782)
  • Skip Self type scans for non-generic instances (#​26703)
Contributors

Configuration

📅 Schedule: (in timezone Europe/London)

  • 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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from CarrotManMatt as a code owner July 27, 2026 23:07
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jul 27, 2026
@renovate
renovate Bot temporarily deployed to test-publish July 27, 2026 23:09 Inactive
@renovate
renovate Bot force-pushed the renovate/pep621 branch from 996ec7b to 378cacb Compare July 29, 2026 10:28
@renovate
renovate Bot force-pushed the renovate/pep621 branch from 378cacb to dabb8e5 Compare July 29, 2026 21:16
@renovate renovate Bot changed the title Update dependency ty to >=0.0.64,<0.0.65 Update dependency ty to >=0.0.65,<0.0.66 Jul 29, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants