From 6c6f3556756a59965eeeab9e14d5744ca16516e1 Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Fri, 25 Sep 2026 13:47:28 +0200 Subject: [PATCH 1/3] Prepare release of `v2.5.0` Assisted-by: GPT-6 Astra via Codex --- CHANGELOG.md | 7 ++++++- UPGRADING.md | 24 ++++++++++++++++++------ 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be704eb..f7ae00c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ releases may include breaking changes. ## [Unreleased] +## [2.5.0] - 2026-09-25 + +_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md#250)._ + ### Added - 🐍 Automatically commit outdated Python stubs with the MQT App when @@ -538,7 +542,8 @@ _📚 Refer to the [GitHub Release Notes] for previous changelogs._ -[unreleased]: https://github.com/munich-quantum-toolkit/workflows/compare/v2.4.2...HEAD +[unreleased]: https://github.com/munich-quantum-toolkit/workflows/compare/v2.5.0...HEAD +[2.5.0]: https://github.com/munich-quantum-toolkit/workflows/releases/tag/v2.5.0 [2.4.2]: https://github.com/munich-quantum-toolkit/workflows/releases/tag/v2.4.2 [2.4.1]: https://github.com/munich-quantum-toolkit/workflows/releases/tag/v2.4.1 [2.4.0]: https://github.com/munich-quantum-toolkit/workflows/releases/tag/v2.4.0 diff --git a/UPGRADING.md b/UPGRADING.md index 625d839..bd07ef7 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -6,17 +6,28 @@ of changes, including minor and patch releases, please refer to the ## [Unreleased] +## [2.5.0] + ### Automatic Python stub updates With `check-stubs: true`, the Python linter now fixes outdated `.pyi` files under `python/` on same-repository PR branches other than the default branch. The fix runs as a follow-up step in the linter job. -Define `APP_ID` and `APP_PRIVATE_KEY` in the calling repository's `mqt-app` -environment, or pass them explicitly from the caller. Organization secrets -require forwarding. The App needs Contents write and Pull requests read access. -Without credentials, or for fork PRs, the check keeps the manual `nox -s stubs` -instructions. +To enable automatic fixes, pass the organization or repository secrets +explicitly in the job calling `reusable-python-linter.yml`: + +```yaml +secrets: + APP_ID: ${{ secrets.APP_ID }} + APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} +``` + +`APP_ID` contains the App's client ID. The App needs Contents write and Pull +requests read access to the calling repository. Storing the secrets only in the +`mqt-app` environment is not sufficient. Without credentials, or for fork PRs, +the check keeps the manual `nox -s stubs` instructions. Callers that do not need +automatic fixes can omit the secrets. ## [2.4.0] @@ -787,7 +798,8 @@ invocations under Windows. -[unreleased]: https://github.com/munich-quantum-toolkit/workflows/compare/v2.4.0...HEAD +[unreleased]: https://github.com/munich-quantum-toolkit/workflows/compare/v2.5.0...HEAD +[2.5.0]: https://github.com/munich-quantum-toolkit/workflows/compare/v2.4.2...v2.5.0 [2.4.0]: https://github.com/munich-quantum-toolkit/workflows/compare/v2.3.0...v2.4.0 [2.3.0]: https://github.com/munich-quantum-toolkit/workflows/compare/v2.2.3...v2.3.0 [2.2.2]: https://github.com/munich-quantum-toolkit/workflows/compare/v2.2.1...v2.2.2 From 13bb44e3c6daac86f13af16939ad381fa9c823e2 Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Fri, 25 Sep 2026 13:59:11 +0200 Subject: [PATCH 2/3] Remove Python linter environment dependency Assisted-by: GPT-6 Astra via Codex --- .github/workflows/reusable-python-linter.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/reusable-python-linter.yml b/.github/workflows/reusable-python-linter.yml index 814cdf2..7d31378 100644 --- a/.github/workflows/reusable-python-linter.yml +++ b/.github/workflows/reusable-python-linter.yml @@ -40,7 +40,7 @@ on: type: boolean secrets: APP_ID: - description: ID of the GitHub App used to commit regenerated stubs + description: Client ID of the GitHub App used to commit regenerated stubs required: false APP_PRIVATE_KEY: description: Private key of the GitHub App used to commit regenerated stubs @@ -58,9 +58,6 @@ jobs: name: 🚨 Lint runs-on: ubuntu-26.04 timeout-minutes: 10 - environment: - name: mqt-app - deployment: false env: APP_CONFIGURED: ${{ secrets.APP_ID != '' && secrets.APP_PRIVATE_KEY != '' }} CMAKE_C_COMPILER_LAUNCHER: sccache From 8638cf5eb9f201bdc5e9e414ab7107a26676ac53 Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Fri, 25 Sep 2026 13:59:20 +0200 Subject: [PATCH 3/3] Refine v2.5.0 release notes Assisted-by: GPT-6 Astra via Codex --- CHANGELOG.md | 5 +++++ UPGRADING.md | 16 +++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7ae00c..f7ef1a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,10 @@ _If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md#250)._ `check-stubs` is enabled and App credentials are available ([#476]) ([**@simon1hofmann**]) +### Changed + +- 👷 Upgrade Ubuntu runners to 26.04 ([#474]) ([**@denialhaag**]) + ## [2.4.2] - 2026-09-12 ### Fixed @@ -593,6 +597,7 @@ _📚 Refer to the [GitHub Release Notes] for previous changelogs._ [#476]: https://github.com/munich-quantum-toolkit/workflows/pull/476 +[#474]: https://github.com/munich-quantum-toolkit/workflows/pull/474 [#472]: https://github.com/munich-quantum-toolkit/workflows/pull/472 [#470]: https://github.com/munich-quantum-toolkit/workflows/pull/470 [#463]: https://github.com/munich-quantum-toolkit/workflows/pull/463 diff --git a/UPGRADING.md b/UPGRADING.md index bd07ef7..50435f7 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -10,12 +10,9 @@ of changes, including minor and patch releases, please refer to the ### Automatic Python stub updates -With `check-stubs: true`, the Python linter now fixes outdated `.pyi` files -under `python/` on same-repository PR branches other than the default branch. -The fix runs as a follow-up step in the linter job. - -To enable automatic fixes, pass the organization or repository secrets -explicitly in the job calling `reusable-python-linter.yml`: +With `check-stubs: true`, the Python linter can now commit regenerated stubs +automatically. To enable this, forward the organization or repository secrets in +the job calling `reusable-python-linter.yml`: ```yaml secrets: @@ -23,11 +20,8 @@ secrets: APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} ``` -`APP_ID` contains the App's client ID. The App needs Contents write and Pull -requests read access to the calling repository. Storing the secrets only in the -`mqt-app` environment is not sufficient. Without credentials, or for fork PRs, -the check keeps the manual `nox -s stubs` instructions. Callers that do not need -automatic fixes can omit the secrets. +Without these secrets, outdated stubs must still be regenerated and committed +manually. ## [2.4.0]