Skip to content

Commit 86c6de5

Browse files
⬆️🐍 Update dependency ty to v0.0.26 (#97)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [ty](https://redirect.github.com/astral-sh/ty) ([changelog](https://redirect.github.com/astral-sh/ty/blob/main/CHANGELOG.md)) | `==0.0.24` → `==0.0.26` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/ty/0.0.26?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ty/0.0.24/0.0.26?slim=true) | --- ### Release Notes <details> <summary>astral-sh/ty (ty)</summary> ### [`v0.0.26`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#0026) [Compare Source](https://redirect.github.com/astral-sh/ty/compare/0.0.25...0.0.26) Released on 2026-03-26. ##### Bug fixes - Prevent "too many cycle iteration" panics in more situations ([#&#8203;24061](https://redirect.github.com/astral-sh/ruff/pull/24061)) - Fix false positives and false negatives when unpacking a union of tuples into a function call ([#&#8203;23298](https://redirect.github.com/astral-sh/ruff/pull/23298)) ##### Core type checking - Add support for `typing.Concatenate` ([#&#8203;23689](https://redirect.github.com/astral-sh/ruff/pull/23689)) - Validate the return type of generator functions ([#&#8203;24026](https://redirect.github.com/astral-sh/ruff/pull/24026)) - Support dataclass field `converter`s ([#&#8203;23088](https://redirect.github.com/astral-sh/ruff/pull/23088)) - Disallow `Self` in metaclass and static methods ([#&#8203;23231](https://redirect.github.com/astral-sh/ruff/pull/23231)) - Improve call inference for keyword-only `dict()` ([#&#8203;24103](https://redirect.github.com/astral-sh/ruff/pull/24103)) - Respect non-explicitly defined `dataclass_transform` params ([#&#8203;24170](https://redirect.github.com/astral-sh/ruff/pull/24170)) - Unconditionally silence diagnostics in unreachable code ([#&#8203;24179](https://redirect.github.com/astral-sh/ruff/pull/24179)) - Respect terminal-function-call narrowing in global scope ([#&#8203;23245](https://redirect.github.com/astral-sh/ruff/pull/23245)) ##### Performance - Fix performance regression for narrowing on a larger `Literal` type([#&#8203;24185](https://redirect.github.com/astral-sh/ruff/pull/24185)) ##### Contributors - [@&#8203;sharkdp](https://redirect.github.com/sharkdp) - [@&#8203;Glyphack](https://redirect.github.com/Glyphack) - [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh) - [@&#8203;mtshiba](https://redirect.github.com/mtshiba) - [@&#8203;dhruvmanila](https://redirect.github.com/dhruvmanila) - [@&#8203;carljm](https://redirect.github.com/carljm) - [@&#8203;choucavalier](https://redirect.github.com/choucavalier) ### [`v0.0.25`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#0025) [Compare Source](https://redirect.github.com/astral-sh/ty/compare/0.0.24...0.0.25) Released on 2026-03-24. ##### Breaking changes - Support `type:ignore[ty:code]` suppressions ([#&#8203;24096](https://redirect.github.com/astral-sh/ruff/pull/24096)) ##### Bug fixes - Avoid eager TypedDict diagnostics in `TypedDict | dict` unions ([#&#8203;24151](https://redirect.github.com/astral-sh/ruff/pull/24151)) - Fix Salsa panic propagation ([#&#8203;24141](https://redirect.github.com/astral-sh/ruff/pull/24141)) - Fix folding ranges of comments separated by statements ([#&#8203;24132](https://redirect.github.com/astral-sh/ruff/pull/24132)) - Fix loop-header reachability cycles in conditional unpacking ([#&#8203;24006](https://redirect.github.com/astral-sh/ruff/pull/24006)) - Fix subtyping of intersections containing `NewType`s of unions vs. unions ([#&#8203;24087](https://redirect.github.com/astral-sh/ruff/pull/24087)) - Fix untracked reads in Salsa queries that can lead to backdating panics ([#&#8203;24051](https://redirect.github.com/astral-sh/ruff/pull/24051)) - Prevent tainted loop bindings in cycle normalization ([#&#8203;24143](https://redirect.github.com/astral-sh/ruff/pull/24143)) - Simplify an intersection of `N & ~T` to `Never` if `B & ~T` would simplify to `Never`, where `B` is the concrete base type of a `NewType` `N` ([#&#8203;24086](https://redirect.github.com/astral-sh/ruff/pull/24086)) ##### LSP - Preserve blank lines between comments and imports in add-import action ([#&#8203;24066](https://redirect.github.com/astral-sh/ruff/pull/24066)) ##### Type checking - Add diagnostic hint for invalid assignments involving invariant generics ([#&#8203;24032](https://redirect.github.com/astral-sh/ruff/pull/24032)) - Add precisely-typed overloads for `TypedDict` update ([#&#8203;24101](https://redirect.github.com/astral-sh/ruff/pull/24101)) - Disallow read-only fields in `TypedDict` updates ([#&#8203;24128](https://redirect.github.com/astral-sh/ruff/pull/24128)) - Expand bounded typevars to their upper bounds when evaluating truthiness comparisons between intersections and literal types ([#&#8203;24082](https://redirect.github.com/astral-sh/ruff/pull/24082)) - Emit `reveal_type` diagnostics in unreachable code ([#&#8203;24070](https://redirect.github.com/astral-sh/ruff/pull/24070)) - Improve `isinstance()` reachability analysis ([#&#8203;24077](https://redirect.github.com/astral-sh/ruff/pull/24077)) - Improve keyword argument narrowing for nested dictionaries ([#&#8203;24010](https://redirect.github.com/astral-sh/ruff/pull/24010)) - Infer `yield` expression types ([#&#8203;23796](https://redirect.github.com/astral-sh/ruff/pull/23796)) - Reduce diagnostic range for `invalid-metaclass` ([#&#8203;24145](https://redirect.github.com/astral-sh/ruff/pull/24145)) - Support narrowing for extended walrus targets ([#&#8203;24129](https://redirect.github.com/astral-sh/ruff/pull/24129)) - Unions/intersections of gradual types should be assignable to `Never` ([#&#8203;24056](https://redirect.github.com/astral-sh/ruff/pull/24056)) ##### Contributors - [@&#8203;MichaReiser](https://redirect.github.com/MichaReiser) - [@&#8203;AlexWaygood](https://redirect.github.com/AlexWaygood) - [@&#8203;Glyphack](https://redirect.github.com/Glyphack) - [@&#8203;sharkdp](https://redirect.github.com/sharkdp) - [@&#8203;ibraheemdev](https://redirect.github.com/ibraheemdev) - [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh) - [@&#8203;mvanhorn](https://redirect.github.com/mvanhorn) - [@&#8203;carljm](https://redirect.github.com/carljm) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/munich-quantum-toolkit/core-plugins-catalyst). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMDIuMTEiLCJ1cGRhdGVkSW5WZXIiOiI0My4xMDIuMTEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInB5dGhvbiJdfQ==--> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Haag <121057143+denialhaag@users.noreply.github.com>
1 parent d5ad9db commit 86c6de5

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,5 +308,5 @@ dev = [
308308
{include-group = "build"},
309309
{include-group = "test"},
310310
"nox>=2025.11.12",
311-
"ty==0.0.24",
311+
"ty==0.0.26",
312312
]

python/mqt/core/plugins/catalyst/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def configure_device_for_mqt(device: qml.devices.Device) -> qml.devices.Device:
6969
# Clear _to_matrix_ops to avoid Catalyst validation at qjit_device.py:322
7070
# which requires QubitUnitary support if _to_matrix_ops is set
7171
if hasattr(device, "_to_matrix_ops"):
72-
device._to_matrix_ops = set() # noqa: SLF001 # type: ignore[attr-defined] # pyright: ignore[reportAttributeAccessIssue]
72+
device._to_matrix_ops = set() # noqa: SLF001 # ty: ignore[unresolved-attribute]
7373

7474
# Set the qjit_capabilities hook so QJITDevice uses our modified capabilities
7575
# This bypasses the normal TOML loading in _load_device_capabilities

uv.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)