diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 5044352e..d0cc0d8a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -12,13 +12,13 @@ permissions: {} jobs: build-sdist: name: 🐍 Packaging - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@d6345b25f19cb7223ac883e5333ae9d63ae9238b # v2.5.9 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@4e380c0bb1774aa8b9dd53194f4a7f6575cc3d42 # v2.5.10 permissions: contents: read build-wheel: name: 🐍 Packaging - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-build.yml@d6345b25f19cb7223ac883e5333ae9d63ae9238b # v2.5.9 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-build.yml@4e380c0bb1774aa8b9dd53194f4a7f6575cc3d42 # v2.5.10 permissions: contents: read diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 472c7916..aabc1150 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ permissions: {} jobs: change-detection: name: 🔍 Change - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@d6345b25f19cb7223ac883e5333ae9d63ae9238b # v2.5.9 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@4e380c0bb1774aa8b9dd53194f4a7f6575cc3d42 # v2.5.10 permissions: contents: read @@ -29,7 +29,7 @@ jobs: fail-fast: false matrix: runs-on: [ubuntu-26.04, ubuntu-26.04-arm, macos-26, windows-2025] - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@d6345b25f19cb7223ac883e5333ae9d63ae9238b # v2.5.9 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@4e380c0bb1774aa8b9dd53194f4a7f6575cc3d42 # v2.5.10 with: runs-on: ${{ matrix.runs-on }} use-sccache-gha: false @@ -40,7 +40,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@d6345b25f19cb7223ac883e5333ae9d63ae9238b # v2.5.9 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-coverage.yml@4e380c0bb1774aa8b9dd53194f4a7f6575cc3d42 # v2.5.10 permissions: contents: read id-token: write @@ -49,7 +49,7 @@ jobs: name: 🐍 Lint needs: change-detection if: fromJSON(needs.change-detection.outputs.run-python-linter) - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter.yml@d6345b25f19cb7223ac883e5333ae9d63ae9238b # v2.5.9 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter.yml@4e380c0bb1774aa8b9dd53194f4a7f6575cc3d42 # v2.5.10 with: enable-ty: true enable-mypy: false @@ -60,7 +60,7 @@ jobs: 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@d6345b25f19cb7223ac883e5333ae9d63ae9238b # v2.5.9 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@4e380c0bb1774aa8b9dd53194f4a7f6575cc3d42 # v2.5.10 permissions: contents: read @@ -68,7 +68,7 @@ jobs: 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@d6345b25f19cb7223ac883e5333ae9d63ae9238b # v2.5.9 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-build.yml@4e380c0bb1774aa8b9dd53194f4a7f6575cc3d42 # v2.5.10 permissions: contents: read diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0d22f033..bf2aae27 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,14 +54,14 @@ repos: ## Check pyproject.toml file - repo: https://github.com/henryiii/validate-pyproject-schema-store - rev: 2026.11.06 + rev: 2026.11.07 hooks: - id: validate-pyproject priority: 0 ## Ensure uv.lock is up to date - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.13.6 + rev: 0.13.7 hooks: - id: uv-lock priority: 0 @@ -130,14 +130,14 @@ repos: ## Format pyproject.toml with pyproject-fmt - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.30.3 + rev: v2.30.6 hooks: - id: pyproject-fmt priority: 5 ## Format and lint Python files with ruff - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.17.3 + rev: v0.17.4 hooks: - id: ruff-check require_serial: true @@ -160,7 +160,7 @@ repos: ## Check Python types with ty - repo: https://github.com/astral-sh/ty-pre-commit - rev: v0.0.95 + rev: v0.0.99 hooks: - id: ty args: [--isolated] diff --git a/src/mqt/problemsolver/equivalence_checking/equivalence_checking.py b/src/mqt/problemsolver/equivalence_checking/equivalence_checking.py index 411d4a21..7b364b41 100644 --- a/src/mqt/problemsolver/equivalence_checking/equivalence_checking.py +++ b/src/mqt/problemsolver/equivalence_checking/equivalence_checking.py @@ -21,7 +21,7 @@ from qiskit.compiler import transpile try: - from qiskit_aer import AerSimulator # ty: ignore[unresolved-import] + from qiskit_aer import AerSimulator # ty: ignore[import-not-found] except ImportError: msg = "The 'equivalence_checking' module requires qiskit-aer, which is not available for Python 3.14 or later" raise ImportError(msg) from None