Skip to content

Commit 3ed1da8

Browse files
renovate[bot]pre-commit-ci[bot]denialhaagburgholzer
authored
⬆️🪝 Update patch updates (#1397)
This PR contains the following updates: | Package | Type | Update | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [astral-sh/ruff-pre-commit](https://redirect.github.com/astral-sh/ruff-pre-commit) | repository | patch | `v0.14.9` -> `v0.14.10` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/astral-sh%2fruff-pre-commit/v0.14.10?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/astral-sh%2fruff-pre-commit/v0.14.9/v0.14.10?slim=true) | | [astral-sh/uv-pre-commit](https://redirect.github.com/astral-sh/uv-pre-commit) | repository | patch | `0.9.17` -> `0.9.18` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/astral-sh%2fuv-pre-commit/0.9.18?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/astral-sh%2fuv-pre-commit/0.9.17/0.9.18?slim=true) | | [munich-quantum-toolkit/workflows](https://redirect.github.com/munich-quantum-toolkit/workflows) | action | patch | `v1.17.4` -> `v1.17.5` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/munich-quantum-toolkit%2fworkflows/v1.17.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/munich-quantum-toolkit%2fworkflows/v1.17.4/v1.17.5?slim=true) | | [pre-commit/mirrors-clang-format](https://redirect.github.com/pre-commit/mirrors-clang-format) | repository | patch | `v21.1.7` -> `v21.1.8` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/pre-commit%2fmirrors-clang-format/v21.1.8?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/pre-commit%2fmirrors-clang-format/v21.1.7/v21.1.8?slim=true) | | [pre-commit/mirrors-mypy](https://redirect.github.com/pre-commit/mirrors-mypy) | repository | patch | `v1.19.0` -> `v1.19.1` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/pre-commit%2fmirrors-mypy/v1.19.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/pre-commit%2fmirrors-mypy/v1.19.0/v1.19.1?slim=true) | | [ty](https://redirect.github.com/astral-sh/ty) ([changelog](https://redirect.github.com/astral-sh/ty/blob/main/CHANGELOG.md)) | dependency-groups | patch | `==0.0.1a34` -> `==0.0.5` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/ty/0.0.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ty/0.0.1a34/0.0.5?slim=true) | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://redirect.github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit)</summary> ### [`v0.14.10`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.14.10) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.14.9...v0.14.10) See: <https://github.com/astral-sh/ruff/releases/tag/0.14.10> </details> <details> <summary>astral-sh/uv-pre-commit (astral-sh/uv-pre-commit)</summary> ### [`v0.9.18`](https://redirect.github.com/astral-sh/uv-pre-commit/releases/tag/0.9.18) [Compare Source](https://redirect.github.com/astral-sh/uv-pre-commit/compare/0.9.17...0.9.18) See: <https://github.com/astral-sh/uv/releases/tag/0.9.18> </details> <details> <summary>munich-quantum-toolkit/workflows (munich-quantum-toolkit/workflows)</summary> ### [`v1.17.5`](https://redirect.github.com/munich-quantum-toolkit/workflows/blob/HEAD/CHANGELOG.md#181---2025-04-04) [Compare Source](https://redirect.github.com/munich-quantum-toolkit/workflows/compare/v1.17.4...v1.17.5) *📚 Refer to the [GitHub Release Notes] for previous changelogs.* <!-- Version links --> [unreleased]: https://redirect.github.com/munich-quantum-toolkit/workflows/compare/v1.17.6...HEAD [1.17.6]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.17.6 [1.17.5]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.17.5 [1.17.4]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.17.4 [1.17.3]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.17.3 [1.17.2]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.17.2 [1.17.1]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.17.1 [1.17.0]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.17.0 [1.16.2]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.16.2 [1.16.1]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.16.1 [1.16.0]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.16.0 [1.15.1]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.15.1 [1.15.0]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.15.0 [1.14.0]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.14.0 [1.13.0]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.13.0 [1.12.0]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.12.0 [1.11.0]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.11.0 [1.10.0]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.10.0 [1.9.0]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.9.0 [1.8.1]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases/tag/v1.8.1 <!-- PR links --> [#&#8203;288]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/288 [#&#8203;286]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/286 [#&#8203;276]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/276 [#&#8203;271]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/271 [#&#8203;270]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/270 [#&#8203;257]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/257 [#&#8203;255]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/255 [#&#8203;254]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/254 [#&#8203;247]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/247 [#&#8203;241]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/241 [#&#8203;206]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/206 [#&#8203;188]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/188 [#&#8203;184]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/184 [#&#8203;160]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/160 [#&#8203;157]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/157 [#&#8203;151]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/151 [#&#8203;150]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/150 [#&#8203;146]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/146 [#&#8203;142]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/142 [#&#8203;128]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/128 [#&#8203;126]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/126 [#&#8203;119]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/119 [#&#8203;114]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/114 [#&#8203;102]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/102 [#&#8203;100]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/100 [#&#8203;96]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/96 [#&#8203;95]: https://redirect.github.com/munich-quantum-toolkit/workflows/pull/95 <!-- Contributor --> [**@&#8203;burgholzer**]: https://redirect.github.com/burgholzer [**@&#8203;ystade**]: https://redirect.github.com/ystade [**@&#8203;denialhaag**]: https://redirect.github.com/denialhaag [**@&#8203;flowerthrower**]: https://redirect.github.com/flowerthrower <!-- General links --> [Keep a Changelog]: https://keepachangelog.com/en/1.1.0/ [Common Changelog]: https://common-changelog.org [Semantic Versioning]: https://semver.org/spec/v2.0.0.html [GitHub Release Notes]: https://redirect.github.com/munich-quantum-toolkit/workflows/releases </details> <details> <summary>pre-commit/mirrors-clang-format (pre-commit/mirrors-clang-format)</summary> ### [`v21.1.8`](https://redirect.github.com/pre-commit/mirrors-clang-format/compare/v21.1.7...v21.1.8) [Compare Source](https://redirect.github.com/pre-commit/mirrors-clang-format/compare/v21.1.7...v21.1.8) </details> <details> <summary>pre-commit/mirrors-mypy (pre-commit/mirrors-mypy)</summary> ### [`v1.19.1`](https://redirect.github.com/pre-commit/mirrors-mypy/compare/v1.19.0...v1.19.1) [Compare Source](https://redirect.github.com/pre-commit/mirrors-mypy/compare/v1.19.0...v1.19.1) </details> <details> <summary>astral-sh/ty (ty)</summary> ### [`v0.0.5`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#005) [Compare Source](https://redirect.github.com/astral-sh/ty/compare/0.0.4...0.0.5) Released on 2025-12-20. ##### Bug fixes - Fix debug-mode server panic when a user typed a class definition by ensuring class arguments are visited in source order for semantic tokens ([#&#8203;22063](https://redirect.github.com/astral-sh/ruff/pull/22063)) ##### LSP server - Classify docstrings in semantic tokens during syntax highlighting ([#&#8203;22031](https://redirect.github.com/astral-sh/ruff/pull/22031)) ##### CLI - Add `--force-exclude` option ([#&#8203;22076](https://redirect.github.com/astral-sh/ruff/pull/22076)) - Only clear output between two successful checks ([#&#8203;22078](https://redirect.github.com/astral-sh/ruff/pull/22078)) ##### Other changes - Add support for `dict(...)` calls in `TypedDict` contexts ([#&#8203;22113](https://redirect.github.com/astral-sh/ruff/pull/22113)) - Speedup bidirectional type-checking involving large unions by avoiding narrowing on non-generic calls ([#&#8203;22102](https://redirect.github.com/astral-sh/ruff/pull/22102)) - Simplify inferred types by avoiding storing multi-inference attempts ([#&#8203;22062](https://redirect.github.com/astral-sh/ruff/pull/22062), [#&#8203;22103](https://redirect.github.com/astral-sh/ruff/pull/22103)) - Improve union builder performance ([#&#8203;22048](https://redirect.github.com/astral-sh/ruff/pull/22048)) - Only prefer declared types in non-covariant positions ([#&#8203;22068](https://redirect.github.com/astral-sh/ruff/pull/22068)) - Respect intersections in iterations ([#&#8203;21965](https://redirect.github.com/astral-sh/ruff/pull/21965)) - Sync vendored typeshed stubs ([#&#8203;22091](https://redirect.github.com/astral-sh/ruff/pull/22091)). [Typeshed diff](https://redirect.github.com/python/typeshed/compare/ef2b90c67e5c668b91b3ae121baf00ee5165c30b...3c2dbb1fde8e8d1d59b10161c8bf5fd06c0011cd) - Understand that the type of `X` on an enum class will be `int` if `X` is defined using `enum.nonmember` in the class definition ([#&#8203;22025](https://redirect.github.com/astral-sh/ruff/pull/22025)) ##### Contributors - [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh) - [@&#8203;ibraheemdev](https://redirect.github.com/ibraheemdev) - [@&#8203;RasmusNygren](https://redirect.github.com/RasmusNygren) - [@&#8203;Hugo-Polloli](https://redirect.github.com/Hugo-Polloli) - [@&#8203;carljm](https://redirect.github.com/carljm) - [@&#8203;Gankra](https://redirect.github.com/Gankra) - [@&#8203;MichaReiser](https://redirect.github.com/MichaReiser) ### [`v0.0.4`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#004) [Compare Source](https://redirect.github.com/astral-sh/ty/compare/0.0.3...0.0.4) Released on 2025-12-18. ##### LSP server - Add support for attribute docstrings ([#&#8203;22036](https://redirect.github.com/astral-sh/ruff/pull/22036)) - Correctly encode multiline tokens for clients not supporting multiline tokens ([#&#8203;22033](https://redirect.github.com/astral-sh/ruff/pull/22033)) - Autocompletions: Don't suggest keyword statements when only expressions are valid ([#&#8203;22002](https://redirect.github.com/astral-sh/ruff/pull/22002)) - Fix goto-declaration on the right-hand side of `from module import submodule` ([#&#8203;22042](https://redirect.github.com/astral-sh/ruff/pull/22042)) - Fix some configuration panics in the LSP ([#&#8203;22040](https://redirect.github.com/astral-sh/ruff/pull/22040)) - Gracefully handle client requests that can't be deserialized ([#&#8203;22051](https://redirect.github.com/astral-sh/ruff/pull/22051)) ##### Other changes - Improve performance for large match statements ([#&#8203;22045](https://redirect.github.com/astral-sh/ruff/pull/22045)) - Disable possibly-missing-imports by default ([#&#8203;22041](https://redirect.github.com/astral-sh/ruff/pull/22041)) - Implement disjointness for TypedDicts, significantly speeding up checking of code that uses pydantic ([#&#8203;22044](https://redirect.github.com/astral-sh/ruff/pull/22044)) ##### Contributors - [@&#8203;oconnor663](https://redirect.github.com/oconnor663) - [@&#8203;MichaReiser](https://redirect.github.com/MichaReiser) - [@&#8203;Gankra](https://redirect.github.com/Gankra) - [@&#8203;RasmusNygren](https://redirect.github.com/RasmusNygren) - [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh) ### [`v0.0.3`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#003) [Compare Source](https://redirect.github.com/astral-sh/ty/compare/0.0.2...0.0.3) Released on 2025-12-17. ##### LSP server - Improve rendering of signatures in hovers ([#&#8203;22007](https://redirect.github.com/astral-sh/ruff/pull/22007)) ##### Core type checking - Apply narrowing to `len` calls based on argument size ([#&#8203;22026](https://redirect.github.com/astral-sh/ruff/pull/22026)) - Don't add identical lower/upper bounds multiple times when inferring specializations ([#&#8203;22030](https://redirect.github.com/astral-sh/ruff/pull/22030)) - Improve `unsupported-base` and `invalid-super-argument` diagnostics to avoid extremely long lines when encountering verbose types ([#&#8203;22022](https://redirect.github.com/astral-sh/ruff/pull/22022)) - Improve disambiguation of types in many cases ([#&#8203;22019](https://redirect.github.com/astral-sh/ruff/pull/22019)) - Respect deferred values in keyword arguments etc. for `.pyi` files ([#&#8203;22029](https://redirect.github.com/astral-sh/ruff/pull/22029)) - Handle field specifier functions that accept `**kwargs` and recognize metaclass-based transformers as instances of `DataclassInstance` ([#&#8203;22018](https://redirect.github.com/astral-sh/ruff/pull/22018)) ##### Contributors - [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh) - [@&#8203;sharkdp](https://redirect.github.com/sharkdp) - [@&#8203;Gankra](https://redirect.github.com/Gankra) - [@&#8203;zanieb](https://redirect.github.com/zanieb) - [@&#8203;AlexWaygood](https://redirect.github.com/AlexWaygood) - [@&#8203;dcreager](https://redirect.github.com/dcreager) ### [`v0.0.2`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#002) Released on 2025-12-16. This is the first Beta release of ty, which we're now ready to recommend to motivated users for production use. See our [blog post](https://astral.sh/blog/ty) for more details. ##### LSP server - Improve display of completions to show actual insertion text ([#&#8203;21988](https://redirect.github.com/astral-sh/ruff/pull/21988)) - Improve highlighting of special type syntax in hovers ([#&#8203;22005](https://redirect.github.com/astral-sh/ruff/pull/22005)) - Improve syntax highlighting of constants ([#&#8203;22006](https://redirect.github.com/astral-sh/ruff/pull/22006)) ##### Core type checking - Infer precise types for `isinstance(…)` calls involving type variables ([#&#8203;21999](https://redirect.github.com/astral-sh/ruff/pull/21999)) - Infer `TypeVar` specializations for `Callable` types ([#&#8203;21551](https://redirect.github.com/astral-sh/ruff/pull/21551)) - Propagate `classmethod`-ness through decorators returning `Callable`s ([#&#8203;21958](https://redirect.github.com/astral-sh/ruff/pull/21958)) - Improve rendering of default values for function args ([#&#8203;22010](https://redirect.github.com/astral-sh/ruff/pull/22010)) - Don't use implicit superclass annotation when converting a class constructor into a `Callable` ([#&#8203;22011](https://redirect.github.com/astral-sh/ruff/pull/22011)) ##### Other - Type checking performance improvement ([#&#8203;22000](https://redirect.github.com/astral-sh/ruff/pull/22000)) ##### Contributors - [@&#8203;sharkdp](https://redirect.github.com/sharkdp) - [@&#8203;carljm](https://redirect.github.com/carljm) - [@&#8203;Gankra](https://redirect.github.com/Gankra) - [@&#8203;BurntSushi](https://redirect.github.com/BurntSushi) - [@&#8203;dcreager](https://redirect.github.com/dcreager) - [@&#8203;MichaReiser](https://redirect.github.com/MichaReiser) ### [`v0.0.1`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#001-alpha35) Released on 2025-12-16. ##### Bug fixes - Fix panic for stringified comprehensions and boolean expressions in type expression ([#&#8203;21967](https://redirect.github.com/astral-sh/ruff/pull/21967)) - Avoid stack overflow when determining inferable typevars ([#&#8203;21971](https://redirect.github.com/astral-sh/ruff/pull/21971)) - Fix false-positive `invalid-method-override` diagnostic on method that uses `Callable` with a `ParamSpec` ([#&#8203;21934](https://redirect.github.com/astral-sh/ruff/pull/21934)) - Disallow explicit specialization of type variables themselves ([#&#8203;21938](https://redirect.github.com/astral-sh/ruff/pull/21938)) - Fix hover type on named expression ("walrus expression") targets ([#&#8203;21952](https://redirect.github.com/astral-sh/ruff/pull/21952)) ##### LSP server - Add *"qualify ..."* code fix for undefined references ([#&#8203;21968](https://redirect.github.com/astral-sh/ruff/pull/21968)) - Add new goto-definition targets on inlay hints ([#&#8203;21950](https://redirect.github.com/astral-sh/ruff/pull/21950)) - Remove invalid statement-keyword completions in `for`-statements ([#&#8203;21979](https://redirect.github.com/astral-sh/ruff/pull/21979)) ##### Core type checking - Add support for `__qualname__` and other implicit class attributes ([#&#8203;21966](https://redirect.github.com/astral-sh/ruff/pull/21966)) - Emit a diagnostic when a frozen dataclass inherits a non-frozen dataclass and vice versa ([#&#8203;21962](https://redirect.github.com/astral-sh/ruff/pull/21962)) - Emit a diagnostic when a type variable with a default is followed by one without a default ([#&#8203;21787](https://redirect.github.com/astral-sh/ruff/pull/21787)) - Improve diagnostics for unsupported binary operations and unsupported augmented assignments ([#&#8203;21947](https://redirect.github.com/astral-sh/ruff/pull/21947)) - Improve check enforcing that an overloaded function must have an implementation ([#&#8203;21978](https://redirect.github.com/astral-sh/ruff/pull/21978)) - Use unqualified names for displays of `TypeAliasType`s and unbound `ParamSpec`s/`TypeVar`s ([#&#8203;21960](https://redirect.github.com/astral-sh/ruff/pull/21960)) ##### Performance - Speed up ty on Linux by using jemalloc ([#&#8203;21975](https://redirect.github.com/astral-sh/ruff/pull/21975)) ##### Contributors - [@&#8203;11happy](https://redirect.github.com/11happy) - [@&#8203;dhruvmanila](https://redirect.github.com/dhruvmanila) - [@&#8203;AlexWaygood](https://redirect.github.com/AlexWaygood) - [@&#8203;mtshiba](https://redirect.github.com/mtshiba) - [@&#8203;MichaReiser](https://redirect.github.com/MichaReiser) - [@&#8203;Gankra](https://redirect.github.com/Gankra) - [@&#8203;silamon](https://redirect.github.com/silamon) - [@&#8203;dcreager](https://redirect.github.com/dcreager) - [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh) - [@&#8203;RasmusNygren](https://redirect.github.com/RasmusNygren) - [@&#8203;carljm](https://redirect.github.com/carljm) ### [`v0.0.1a35`](https://redirect.github.com/astral-sh/ty/compare/0.0.1-alpha.34...0.0.1-alpha.35) [Compare Source](https://redirect.github.com/astral-sh/ty/compare/0.0.1-alpha.34...0.0.1-alpha.35) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuNTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiZ2l0aHViLWFjdGlvbnMiLCJwcmUtY29tbWl0IiwicHl0aG9uIl19--> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: burgholzer <burgholzer@me.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Co-authored-by: burgholzer <burgholzer@me.com>
1 parent 4f2c8ae commit 3ed1da8

8 files changed

Lines changed: 55 additions & 51 deletions

File tree

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
build-sdist:
1414
name: 🐍 Packaging
15-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
15+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
1616

1717
# Builds wheels on all supported platforms using cibuildwheel.
1818
# The wheels are uploaded as GitHub artifacts `dev-cibw-*` or `cibw-*`, depending on whether
@@ -31,7 +31,7 @@ jobs:
3131
windows-2022,
3232
windows-11-arm,
3333
]
34-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
34+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
3535
with:
3636
runs-on: ${{ matrix.runs-on }}
3737

.github/workflows/ci.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
jobs:
1515
change-detection:
1616
name: 🔍 Change
17-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
17+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
1818

1919
cpp-tests-ubuntu:
2020
name: 🇨‌ Test 🐧
@@ -30,7 +30,7 @@ jobs:
3030
- runs-on: ubuntu-24.04
3131
compiler: gcc
3232
config: Debug
33-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-ubuntu.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
33+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-ubuntu.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
3434
with:
3535
runs-on: ${{ matrix.runs-on }}
3636
compiler: ${{ matrix.compiler }}
@@ -50,7 +50,7 @@ jobs:
5050
- runs-on: macos-14
5151
compiler: clang
5252
config: Debug
53-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-macos.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
53+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-macos.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
5454
with:
5555
runs-on: ${{ matrix.runs-on }}
5656
compiler: ${{ matrix.compiler }}
@@ -71,7 +71,7 @@ jobs:
7171
- runs-on: windows-2022
7272
compiler: msvc
7373
config: Debug
74-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-windows.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
74+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-windows.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
7575
with:
7676
runs-on: ${{ matrix.runs-on }}
7777
compiler: ${{ matrix.compiler }}
@@ -88,7 +88,7 @@ jobs:
8888
runs-on: [ubuntu-24.04, ubuntu-24.04-arm]
8989
compiler: [gcc, clang, clang-20, clang-21]
9090
config: [Release, Debug]
91-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-ubuntu.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
91+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-ubuntu.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
9292
with:
9393
runs-on: ${{ matrix.runs-on }}
9494
compiler: ${{ matrix.compiler }}
@@ -105,7 +105,7 @@ jobs:
105105
runs-on: [macos-14, macos-15, macos-15-intel]
106106
compiler: [clang, clang-20, clang-21, gcc-14, gcc-15]
107107
config: [Release, Debug]
108-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-macos.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
108+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-macos.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
109109
with:
110110
runs-on: ${{ matrix.runs-on }}
111111
compiler: ${{ matrix.compiler }}
@@ -123,7 +123,7 @@ jobs:
123123
runs-on: [windows-2022, windows-2025, windows-11-arm]
124124
compiler: [msvc, clang]
125125
config: [Release]
126-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-windows.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
126+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-tests-windows.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
127127
with:
128128
runs-on: ${{ matrix.runs-on }}
129129
compiler: ${{ matrix.compiler }}
@@ -133,7 +133,7 @@ jobs:
133133
name: 🇨‌ Coverage
134134
needs: change-detection
135135
if: fromJSON(needs.change-detection.outputs.run-cpp-tests)
136-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-coverage.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
136+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-coverage.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
137137
permissions:
138138
contents: read
139139
id-token: write
@@ -142,7 +142,7 @@ jobs:
142142
name: 🇨‌ Lint
143143
needs: change-detection
144144
if: fromJSON(needs.change-detection.outputs.run-cpp-linter)
145-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-linter.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
145+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-linter.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
146146
with:
147147
cmake-args: -DBUILD_MQT_CORE_BENCHMARKS=ON -DBUILD_MQT_CORE_MLIR=ON -DBUILD_MQT_CORE_BINDINGS=ON
148148
clang-version: 21
@@ -151,6 +151,7 @@ jobs:
151151
setup-python: true
152152
install-pkgs: "pybind11==3.0.1"
153153
cpp-linter-extra-args: "-std=c++20"
154+
setup-mlir: true
154155

155156
python-tests:
156157
name: 🐍 Test
@@ -167,15 +168,15 @@ jobs:
167168
macos-14,
168169
windows-2022,
169170
]
170-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
171+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
171172
with:
172173
runs-on: ${{ matrix.runs-on }}
173174

174175
python-coverage:
175176
name: 🐍 Coverage
176177
needs: [change-detection, python-tests]
177178
if: fromJSON(needs.change-detection.outputs.run-python-tests)
178-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-coverage.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
179+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-coverage.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
179180
permissions:
180181
contents: read
181182
id-token: write
@@ -189,23 +190,23 @@ jobs:
189190
fail-fast: false
190191
matrix:
191192
runs-on: [macos-15, windows-2025]
192-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
193+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
193194
with:
194195
runs-on: ${{ matrix.runs-on }}
195196

196197
python-linter:
197198
name: 🐍 Lint
198199
needs: change-detection
199200
if: fromJSON(needs.change-detection.outputs.run-python-tests)
200-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
201+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
201202
with:
202203
enable-ty: true
203204

204205
build-sdist:
205206
name: 🚀 CD
206207
needs: change-detection
207208
if: fromJSON(needs.change-detection.outputs.run-cd)
208-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
209+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
209210

210211
build-wheel:
211212
name: 🚀 CD
@@ -223,7 +224,7 @@ jobs:
223224
windows-2022,
224225
windows-11-arm,
225226
]
226-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
227+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
227228
with:
228229
runs-on: ${{ matrix.runs-on }}
229230

.github/workflows/upstream.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
runs-on: [ubuntu-24.04, macos-14, windows-2022]
22-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-qiskit-upstream-tests.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
22+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-qiskit-upstream-tests.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
2323
with:
2424
runs-on: ${{ matrix.runs-on }}
2525
setup-z3: true
@@ -28,7 +28,7 @@ jobs:
2828
name: Create issue on failure
2929
needs: qiskit-upstream-tests
3030
if: ${{ always() }}
31-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-qiskit-upstream-issue.yml@89734354f64f30a80dd16602d4e271df34348987 # v1.17.4
31+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-qiskit-upstream-issue.yml@654680ab77b3af8226a9f5cd9acfd157bd106f17 # v1.17.5
3232
with:
3333
tests-result: ${{ needs.qiskit-upstream-tests.result }}
3434
permissions:

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,20 +60,20 @@ repos:
6060

6161
# Ensure uv lock file is up-to-date
6262
- repo: https://github.com/astral-sh/uv-pre-commit
63-
rev: 0.9.17
63+
rev: 0.9.18
6464
hooks:
6565
- id: uv-lock
6666

6767
# Python linting using ruff
6868
- repo: https://github.com/astral-sh/ruff-pre-commit
69-
rev: v0.14.9
69+
rev: v0.14.10
7070
hooks:
7171
- id: ruff-check
7272
- id: ruff-format
7373

7474
# Static type checking using mypy
7575
- repo: https://github.com/pre-commit/mirrors-mypy
76-
rev: v1.19.0
76+
rev: v1.19.1
7777
hooks:
7878
- id: mypy
7979
files: ^(python/mqt|test/python|noxfile.py)
@@ -109,7 +109,7 @@ repos:
109109

110110
# Clang-format the C++ part of the code base automatically
111111
- repo: https://github.com/pre-commit/mirrors-clang-format
112-
rev: v21.1.7
112+
rev: v21.1.8
113113
hooks:
114114
- id: clang-format
115115
types_or: [c++, c, cuda]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,5 +348,5 @@ dev = [
348348
{include-group = "test"},
349349
"lit>=18.1.8",
350350
"nox>=2025.11.12",
351-
"ty==0.0.1a34",
351+
"ty==0.0.5",
352352
]

src/qir/runner/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ if(NOT TARGET ${TARGET_NAME})
1515
add_llvm_tool(${TARGET_NAME} Runner.cpp DEPENDS intrinsics_gen)
1616
export_executable_symbols(${TARGET_NAME})
1717
endif()
18+
19+
# Get the native target libraries
20+
llvm_map_components_to_libnames(llvm_native_libs native)
21+
1822
# Add link libraries
19-
target_link_libraries(${TARGET_NAME} PRIVATE MQT::CoreQIRRuntime ${llvm_libs})
23+
target_link_libraries(${TARGET_NAME} PRIVATE MQT::CoreQIRRuntime LLVMOrcDebugging
24+
${llvm_native_libs})
2025

2126
# Set versioning information
2227
set_target_properties(${TARGET_NAME} PROPERTIES VERSION ${PROJECT_VERSION} EXPORT_NAME

test/python/test_load.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ def test_loading_quantum_computation() -> None:
3737
def test_loading_file() -> None:
3838
"""Test whether importing a simple QASM file works."""
3939
qasm = "qreg q[2];\ncreg c[2];\nh q[0];\ncx q[0], q[1];\nmeasure q -> c;\n"
40-
with Path("test_1.qasm").open("w", encoding="utf-8") as f:
41-
f.write(qasm)
40+
Path("test_1.qasm").write_text(qasm, encoding="utf-8")
4241

4342
# load the file
4443
qc = load("test_1.qasm")
@@ -58,8 +57,7 @@ def test_loading_file_from_path() -> None:
5857
"""Test whether importing a simple QASM file works."""
5958
qasm = "qreg q[2];\ncreg c[2];\nh q[0];\ncx q[0], q[1];\nmeasure q -> c;\n"
6059
path = Path("test_2.qasm")
61-
with path.open("w", encoding="utf-8") as f:
62-
f.write(qasm)
60+
path.write_text(qasm, encoding="utf-8")
6361

6462
# load the file
6563
qc = load(path)

0 commit comments

Comments
 (0)