From 7c9b48455ee8ca693332f0f5358d6c148bccec7c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 21 Feb 2026 01:57:49 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=E2=AC=86=EF=B8=8F=F0=9F=AA=9D=20Update=20p?= =?UTF-8?q?atch=20versions?= 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 | 12 ++++++------ .pre-commit-config.yaml | 8 ++++---- webpage/package-lock.json | 14 +++++++------- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d5a76e3e..134e6a25 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,11 +14,11 @@ permissions: jobs: build-sdist: name: 🐍 Packaging - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@d6314c45667c131055a0389afc110e8dedc6da3f # v1.17.11 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@c54be38945ae206affae9925ecd9c346f54c71b7 # v1.17.12 build-wheel: name: 🐍 Packaging - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-build.yml@d6314c45667c131055a0389afc110e8dedc6da3f # v1.17.11 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-build.yml@c54be38945ae206affae9925ecd9c346f54c71b7 # v1.17.12 deploy: if: github.event_name == 'release' && github.event.action == 'published' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ede20e9a..30c5ae07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ permissions: jobs: change-detection: name: 🔍 Change - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@d6314c45667c131055a0389afc110e8dedc6da3f # v1.17.11 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@c54be38945ae206affae9925ecd9c346f54c71b7 # v1.17.12 python-tests: name: 🐍 Test @@ -29,7 +29,7 @@ jobs: fail-fast: false matrix: runs-on: [ubuntu-24.04, ubuntu-24.04-arm, macos-15, windows-2025] - uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@d6314c45667c131055a0389afc110e8dedc6da3f # v1.17.11 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@c54be38945ae206affae9925ecd9c346f54c71b7 # v1.17.12 with: runs-on: ${{ matrix.runs-on }} @@ -37,7 +37,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@d6314c45667c131055a0389afc110e8dedc6da3f # v1.17.11 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-coverage.yml@c54be38945ae206affae9925ecd9c346f54c71b7 # v1.17.12 permissions: contents: read id-token: write @@ -46,19 +46,19 @@ jobs: 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@d6314c45667c131055a0389afc110e8dedc6da3f # v1.17.11 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter.yml@c54be38945ae206affae9925ecd9c346f54c71b7 # v1.17.12 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@d6314c45667c131055a0389afc110e8dedc6da3f # v1.17.11 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@c54be38945ae206affae9925ecd9c346f54c71b7 # v1.17.12 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@d6314c45667c131055a0389afc110e8dedc6da3f # v1.17.11 + uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-build.yml@c54be38945ae206affae9925ecd9c346f54c71b7 # v1.17.12 required-checks-pass: # This job does nothing and is only used for branch protection name: 🚦 Check diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 52e9ac6e..24ef250f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,7 @@ repos: ## Check the pyproject.toml file - repo: https://github.com/henryiii/validate-pyproject-schema-store - rev: 2026.02.15 + rev: 2026.02.20 hooks: - id: validate-pyproject priority: 0 @@ -56,7 +56,7 @@ repos: ## Check for spelling - repo: https://github.com/adhtruong/mirrors-typos - rev: v1.43.4 + rev: v1.43.5 hooks: - id: typos priority: 0 @@ -78,7 +78,7 @@ repos: ## Ensure uv lock file is up-to-date - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.10.3 + rev: 0.10.4 hooks: - id: uv-lock priority: 0 @@ -114,7 +114,7 @@ repos: ## Python linting using ruff - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.1 + rev: v0.15.2 hooks: - id: ruff-format priority: 1 diff --git a/webpage/package-lock.json b/webpage/package-lock.json index 439c575e..44d3c987 100644 --- a/webpage/package-lock.json +++ b/webpage/package-lock.json @@ -433,9 +433,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.39.2", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.2.tgz", - "integrity": "sha512-q1mjIoW1VX4IvSocvM/vbTiveKC4k9eLrajNEuSsmjymSDEbpGddtpfOoN7YGAqBK3NG+uqo8ia4PDTt8buCYA==", + "version": "9.39.3", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.3.tgz", + "integrity": "sha512-1B1VkCq6FuUNlQvlBYb+1jDu/gV297TIs/OeiaSR9l1H27SVW55ONE1e1Vp16NqP683+xEGzxYtv4XCiDPaQiw==", "dev": true, "license": "MIT", "engines": { @@ -3117,9 +3117,9 @@ } }, "node_modules/eslint": { - "version": "9.39.2", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.2.tgz", - "integrity": "sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==", + "version": "9.39.3", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.3.tgz", + "integrity": "sha512-VmQ+sifHUbI/IcSopBCF/HO3YiHQx/AVd3UVyYL6weuwW+HvON9VYn5l6Zl1WZzPWXPNZrSQpxwkkZ/VuvJZzg==", "dev": true, "license": "MIT", "dependencies": { @@ -3129,7 +3129,7 @@ "@eslint/config-helpers": "^0.4.2", "@eslint/core": "^0.17.0", "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "9.39.2", + "@eslint/js": "9.39.3", "@eslint/plugin-kit": "^0.4.1", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", From 73aecbe90af4f4c77d9af2227f22c1f01253adc4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 21 Feb 2026 01:58:12 +0000 Subject: [PATCH 2/3] =?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 --- notebooks/precompilation/evaluation.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/precompilation/evaluation.ipynb b/notebooks/precompilation/evaluation.ipynb index fab382c0..80316039 100644 --- a/notebooks/precompilation/evaluation.ipynb +++ b/notebooks/precompilation/evaluation.ipynb @@ -38,7 +38,7 @@ "\n", "\n", "def order_of_magnitude(number: float) -> int:\n", - " return -math.ceil(math.log(number, 10))" + " return -math.ceil(math.log10(number))" ] }, { From bf2bf5a46d3d7b3d409592b96f4a06c93c5ddd85 Mon Sep 17 00:00:00 2001 From: Daniel Haag <121057143+denialhaag@users.noreply.github.com> Date: Mon, 23 Feb 2026 00:17:53 +0100 Subject: [PATCH 3/3] Fix ruff errors --- .../error_budget_optimization/generate_data.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/mqt/problemsolver/resource_estimation/error_budget_optimization/generate_data.py b/src/mqt/problemsolver/resource_estimation/error_budget_optimization/generate_data.py index b2042fe4..12af6d79 100644 --- a/src/mqt/problemsolver/resource_estimation/error_budget_optimization/generate_data.py +++ b/src/mqt/problemsolver/resource_estimation/error_budget_optimization/generate_data.py @@ -9,6 +9,7 @@ from __future__ import annotations import copy +import logging import math import os import zipfile @@ -22,6 +23,8 @@ from qsharp.estimator import ErrorBudgetPartition, EstimatorParams, LogicalCounts from qsharp.interop.qiskit import estimate +logger = logging.getLogger(__name__) + if TYPE_CHECKING: from collections.abc import Iterator @@ -238,8 +241,8 @@ def generate_data( "rotations": combinations[2], }) results.append(specific_data) - except Exception as e: - print(f"Error processing circuit {qc.name}: {e}") + except Exception: + logger.exception(f"Error processing circuit {qc.name}.") elif logical_counts: results = [] @@ -261,7 +264,7 @@ def generate_data( "rotations": combinations[2], }) results.append(specific_data) - except Exception as e: - print(f"Error processing logical counts entry {c}: {e}") + except Exception: + logger.exception(f"Error processing logical counts entry {c}.") return results