From ba33904ee1b55e96140db51b6366140f1398350c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 31 Jul 2025 10:31:09 +0000 Subject: [PATCH 1/9] =?UTF-8?q?=E2=AC=86=EF=B8=8F=F0=9F=91=A8=E2=80=8D?= =?UTF-8?q?=F0=9F=92=BB=20Update=20munich-quantum-toolkit/workflows=20acti?= =?UTF-8?q?on=20to=20v1.16?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/cd.yml | 4 ++-- .github/workflows/ci.yml | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 6859aa83c..8eca3fd4a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -10,11 +10,11 @@ on: jobs: build-sdist: name: 🐍 Packaging - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@v1.15 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@v1.16 build-wheel: name: 🐍 Packaging - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-build.yml@v1.15 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-build.yml@v1.16 deploy: if: github.event_name == 'release' && github.event.action == 'published' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 558fe574f..6b2707440 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,13 +14,13 @@ concurrency: jobs: change-detection: name: 🔍 Change - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@v1.15 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@v1.16 python-linter: name: 🐍 Lint needs: change-detection if: fromJSON(needs.change-detection.outputs.run-python-tests) - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter.yml@v1.15 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter.yml@v1.16 python-tests: name: 🐍 Test @@ -30,7 +30,7 @@ jobs: fail-fast: false matrix: runs-on: [ubuntu-24.04, macos-13, macos-14, windows-2022] - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@v1.15 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@v1.16 with: runs-on: ${{ matrix.runs-on }} @@ -38,7 +38,7 @@ jobs: name: 🐍 Coverage needs: [change-detection, python-tests] if: fromJSON(needs.change-detection.outputs.run-python-tests) - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-coverage.yml@v1.15 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-coverage.yml@v1.16 permissions: contents: read id-token: write @@ -47,19 +47,19 @@ jobs: name: 📝 CodeQL needs: change-detection if: fromJSON(needs.change-detection.outputs.run-code-ql) - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-code-ql-python.yml@v1.15 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-code-ql-python.yml@v1.16 build-sdist: name: 🚀 CD needs: change-detection if: fromJSON(needs.change-detection.outputs.run-cd) - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@v1.15 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@v1.16 build-wheel: name: 🚀 CD needs: change-detection if: fromJSON(needs.change-detection.outputs.run-cd) - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-build.yml@v1.15 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-build.yml@v1.16 # this job does nothing and is only used for branch protection required-checks-pass: From 8b0371ab8ff94e8232442f325c8a7a2e2a9cf419 Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Thu, 31 Jul 2025 12:43:30 +0200 Subject: [PATCH 2/9] Add classifier and todo --- noxfile.py | 6 +++++- pyproject.toml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 2d9a07892..c99dbad28 100644 --- a/noxfile.py +++ b/noxfile.py @@ -26,7 +26,11 @@ nox.options.sessions = ["lint", "tests", "minimums"] -PYTHON_ALL_VERSIONS = ["3.10", "3.11", "3.12"] + + +# TODO(denialhaag): Add 3.14 when all dependencies support it +# https://github.com/munich-quantum-toolkit/predictor/issues/420 +PYTHON_ALL_VERSIONS = ["3.10", "3.11", "3.12", "3.13"] if os.environ.get("CI", None): nox.options.error_on_missing_interpreters = True diff --git a/pyproject.toml b/pyproject.toml index 2d8a4f988..235151643 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,6 +59,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Intended Audience :: Science/Research", "Natural Language :: English", "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)", From e75726d29c9d357d0b9f02d71499bda17fbfc85e Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Thu, 31 Jul 2025 12:47:24 +0200 Subject: [PATCH 3/9] Indent issue link --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index c99dbad28..1f7f57830 100644 --- a/noxfile.py +++ b/noxfile.py @@ -29,7 +29,7 @@ # TODO(denialhaag): Add 3.14 when all dependencies support it -# https://github.com/munich-quantum-toolkit/predictor/issues/420 +# https://github.com/munich-quantum-toolkit/predictor/issues/420 PYTHON_ALL_VERSIONS = ["3.10", "3.11", "3.12", "3.13"] if os.environ.get("CI", None): From efce6169143ae044dcf2e53b134a114667366855 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 31 Jul 2025 10:47:39 +0000 Subject: [PATCH 4/9] =?UTF-8?q?=F0=9F=8E=A8=20pre-commit=20fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noxfile.py | 1 - 1 file changed, 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 1f7f57830..9e13b37f9 100644 --- a/noxfile.py +++ b/noxfile.py @@ -27,7 +27,6 @@ nox.options.sessions = ["lint", "tests", "minimums"] - # TODO(denialhaag): Add 3.14 when all dependencies support it # https://github.com/munich-quantum-toolkit/predictor/issues/420 PYTHON_ALL_VERSIONS = ["3.10", "3.11", "3.12", "3.13"] From 6e949d1e42dac6e996ac9a6073314f00d4a3b7b7 Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Thu, 31 Jul 2025 15:36:40 +0200 Subject: [PATCH 5/9] Do not test on Python 3.13 --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 9e13b37f9..9fe9986e4 100644 --- a/noxfile.py +++ b/noxfile.py @@ -29,7 +29,7 @@ # TODO(denialhaag): Add 3.14 when all dependencies support it # https://github.com/munich-quantum-toolkit/predictor/issues/420 -PYTHON_ALL_VERSIONS = ["3.10", "3.11", "3.12", "3.13"] +PYTHON_ALL_VERSIONS = ["3.10", "3.11", "3.12"] if os.environ.get("CI", None): nox.options.error_on_missing_interpreters = True From 4bfb16fc424b6b21aa5a0a83c325c47f2a8a51fb Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Fri, 1 Aug 2025 18:40:03 +0200 Subject: [PATCH 6/9] Drop support for x86 architecture on macOS --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 2 ++ UPGRADING.md | 3 +++ docs/installation.md | 6 ++++++ noxfile.py | 2 +- 5 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b2707440..21592f175 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: strategy: fail-fast: false matrix: - runs-on: [ubuntu-24.04, macos-13, macos-14, windows-2022] + runs-on: [ubuntu-24.04, macos-14, windows-2022] uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@v1.16 with: runs-on: ${{ matrix.runs-on }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f63baa7e..066d11491 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ _If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md#230)._ ### Changed +- 🗑️ Drop support for x86 architecture on macOS ([#421]) ([**@denialhaag**]) - 🎨 Adjust the ESP reward calculation to become Qiskit v2 compatible ([#406]) ([**@nquetschlich**]) - ✨ Improve the ML part and its usability ([#403]) ([**@nquetschlich**]) - 📝 Migrate the documentation from .rst to .md files ([#403]) ([**@nquetschlich**]) @@ -39,6 +40,7 @@ _📚 Refer to the [GitHub Release Notes](https://github.com/munich-quantum-tool +[#421]: https://github.com/munich-quantum-toolkit/predictor/pull/406 [#406]: https://github.com/munich-quantum-toolkit/predictor/pull/406 [#405]: https://github.com/munich-quantum-toolkit/predictor/pull/405 [#403]: https://github.com/munich-quantum-toolkit/predictor/pull/403 diff --git a/UPGRADING.md b/UPGRADING.md index 8c726bc34..0993420ba 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -4,6 +4,9 @@ This document describes breaking changes and how to upgrade. For a complete list ## [Unreleased] +With this relase, `mqt-predictor` no longer supports the x86 architecture on macOS. +This step was necessary to ensure compatibility with PyTorch. + ## [2.3.0] - 2025-07-29 In this release, we have migrated to using Qiskit's `Target` class to represent quantum devices. diff --git a/docs/installation.md b/docs/installation.md index 290fdc66c..19387473e 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -61,6 +61,12 @@ Once installed, you can check if the installation was successful by running: which should print the installed version of the library. +:::{attention} +As of version 2.4.0, {code}`mqt-predictor`mqt-predictor` no longer supports the x86 architecture on macOS. +This step was necessary to ensure compatibility with PyTorch. +Thank you for your understanding. +::: + ## Integrating MQT Predictor into your project If you want to use the MQT Predictor Python package in your own project, you can simply add it as a dependency in your `pyproject.toml` or `setup.py` file. diff --git a/noxfile.py b/noxfile.py index 9fe9986e4..9e13b37f9 100644 --- a/noxfile.py +++ b/noxfile.py @@ -29,7 +29,7 @@ # TODO(denialhaag): Add 3.14 when all dependencies support it # https://github.com/munich-quantum-toolkit/predictor/issues/420 -PYTHON_ALL_VERSIONS = ["3.10", "3.11", "3.12"] +PYTHON_ALL_VERSIONS = ["3.10", "3.11", "3.12", "3.13"] if os.environ.get("CI", None): nox.options.error_on_missing_interpreters = True From 9682394bd10a31bd09525d7d47f3a6a26d1dc962 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 1 Aug 2025 16:41:23 +0000 Subject: [PATCH 7/9] =?UTF-8?q?=F0=9F=8E=A8=20pre-commit=20fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UPGRADING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADING.md b/UPGRADING.md index 0993420ba..86b31b79d 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -4,7 +4,7 @@ This document describes breaking changes and how to upgrade. For a complete list ## [Unreleased] -With this relase, `mqt-predictor` no longer supports the x86 architecture on macOS. +With this release, `mqt-predictor` no longer supports the x86 architecture on macOS. This step was necessary to ensure compatibility with PyTorch. ## [2.3.0] - 2025-07-29 From 6aa0328cae6a619bbb2b7bdad5b36c5a18e67ad5 Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Fri, 1 Aug 2025 18:43:09 +0200 Subject: [PATCH 8/9] Add myself as a contributor --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 066d11491..16922803c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,7 @@ _📚 Refer to the [GitHub Release Notes](https://github.com/munich-quantum-tool [**@burgholzer**]: https://github.com/burgholzer [**@nquetschlich**]: https://github.com/nquetschlich [**@flowerthrower**]: https://github.com/flowerthrower +[**@denialhaag**]: https://github.com/denialhaag From 3b6700f69f8a40b552c50398d60d38b4f3428cb3 Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Sat, 2 Aug 2025 14:17:46 +0200 Subject: [PATCH 9/9] Update installation.md Co-authored-by: Lukas Burgholzer Signed-off-by: Daniel Haag <121057143+denialhaag@users.noreply.github.com> --- docs/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation.md b/docs/installation.md index 19387473e..5a0c92258 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -62,7 +62,7 @@ Once installed, you can check if the installation was successful by running: which should print the installed version of the library. :::{attention} -As of version 2.4.0, {code}`mqt-predictor`mqt-predictor` no longer supports the x86 architecture on macOS. +As of version 2.4.0, {code}`mqt-predictor` no longer supports the x86 architecture on macOS. This step was necessary to ensure compatibility with PyTorch. Thank you for your understanding. :::