Skip to content

⬆️🐍 Update dependency ty to v0.0.39#709

Merged
denialhaag merged 3 commits into
mainfrom
renovate/ty-0.x
Jun 1, 2026
Merged

⬆️🐍 Update dependency ty to v0.0.39#709
denialhaag merged 3 commits into
mainfrom
renovate/ty-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 30, 2026

This PR contains the following updates:

Package Change Age Confidence
ty (changelog) ==0.0.37==0.0.39 age confidence

Release Notes

astral-sh/ty (ty)

v0.0.39

Compare Source

Released on 2026-05-22.

This release removes the Python 3.9 branches from our vendored standard library stubs. ty now only has "full" support for
Python 3.10 and later, but will still report version-specific syntax errors and other diagnostics when --python-version 3.9
is provided via the CLI.

Bug fixes
  • Avoid panicking on __new__ assignments to classes (#​25282)
  • Preserve declaration order when synthesizing class fields (#​25249)
  • Respect dict-compatible fallbacks in TypedDict unions (#​25242)
  • Retain recursively-defined state in binary expressions (#​25277)
LSP server
  • Add Quick Fix to remove redundant cast (#​25211)
  • Classify property declaration semantic tokens (#​25322)
  • Escape HTML syntax in docstring rendering (#​25247)
  • Prefer symbols from standard library over those of the same name from third party libraries for import completions. (#​25108)
  • Support type aliases in document symbols (#​25302)
Diagnostics
  • Add error context for extra callable parameters (#​25269)
Performance
  • Avoid exponential blow-up in fall-through narrowing (#​25278)
  • Speed up include filtering for projects with many literal include patterns (#​25266)
Core type checking
  • Allow enum member accesses on self (#​25077)
  • Emit a diagnostic for subclassing with order=True (#​21704)
  • Full-scope bidirectional inference for unconstrained container literals (#​25279)
  • Infer dict(TypedDict) as dict[str, object] (#​24852)
  • Refine Callable class-decorator fallback for unknown results (#​25250)
  • Reject incompatible explicit variance in generic base classes (#​25327)
  • Support multi-inference through type aliases (#​25245)
  • Sync vendored typeshed stubs (#​25271, #​25172)
Contributors

v0.0.38

Compare Source

Released on 2026-05-19.

Bug fixes
  • Fix panic in enum literal during cycle recovery (#​25237)
  • Fix panic from lazy NewType base expansion during cycle recovery (#​25234)
  • Fix class-body global lookup before class binding (#​25224)
  • Handle aliased dict fallbacks in TypedDict unions (#​25241)
  • Ignore _generate_next_value_ with custom construction hooks (#​25210)
LSP server
  • Fix find references for except handlers (#​25231)
  • Preserve delimiters when folding expressions (#​24999)
  • Use incremental file walk on .gitignore changes (#​25183)
Core type checking
  • Add first-class support for enum complements (#​24961)
  • Allow known non-field writes on frozen dataclass subclasses (#​25087)
  • Ignore generic specialization in layout compatibility checks (#​25178)
  • Preserve short-circuit bindings in all condition consumers (#​25160)
  • Support class decorators (#​25091)
  • Support custom _generate_next_value_ methods in enums (#​25196)
Contributors

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekend"
  • 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.

🔕 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 added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 30, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 30, 2026

Codecov Report

❌ Patch coverage is 92.10526% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/mqt/qecc/cococo/utils_routing.py 87.9% 7 Missing ⚠️
src/mqt/qecc/cococo/snake_builder.py 96.4% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@denialhaag denialhaag self-assigned this Jun 1, 2026
renovate Bot and others added 3 commits June 1, 2026 13:43
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@denialhaag denialhaag enabled auto-merge (squash) June 1, 2026 11:44
@denialhaag denialhaag merged commit b74a88d into main Jun 1, 2026
12 checks passed
@denialhaag denialhaag deleted the renovate/ty-0.x branch June 1, 2026 13:10
@github-project-automation github-project-automation Bot moved this from In Progress to Done in MQT Error Correction Jun 1, 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 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant