Skip to content

β¬†οΈπŸ‘¨β€πŸ’» Update munich-quantum-toolkit/workflows action to v1.16 #421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -29,16 +29,16 @@ jobs:
strategy:
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
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 }}

python-coverage:
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
Expand All @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**])
Expand All @@ -39,6 +40,7 @@ _πŸ“š Refer to the [GitHub Release Notes](https://github.com/munich-quantum-tool

<!-- PR links -->

[#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
Expand All @@ -52,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

<!-- General links -->

Expand Down
3 changes: 3 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ This document describes breaking changes and how to upgrade. For a complete list

## [Unreleased]

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

In this release, we have migrated to using Qiskit's `Target` class to represent quantum devices.
Expand Down
6 changes: 6 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` 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.
Expand Down
5 changes: 4 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@

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
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
Loading