From 26eded94ebee3d62f682e8232c4953a0a40fcce6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 30 Nov 2024 00:07:35 +0000 Subject: [PATCH 1/4] =?UTF-8?q?=E2=AC=86=EF=B8=8F=F0=9F=91=A8=E2=80=8D?= =?UTF-8?q?=F0=9F=92=BB=20Update=20cda-tum/mqt-workflows=20action=20to=20v?= =?UTF-8?q?1.5?= 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 | 2 +- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/update-mqt-core.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 913d9d03..ba6943ac 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -17,7 +17,7 @@ jobs: # whether the workflow is triggered from a PR, a push to main, or a release, respectively. python-packaging: name: 🐍 Packaging - uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.4 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.5 with: # Do not include local version information on pushes to main to facilitate TestPyPI uploads. no-local-version: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69378d66..94e304d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,13 +14,13 @@ concurrency: jobs: change-detection: name: 🔍 Change - uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.4 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-change-detection.yml@v1.5 cpp-tests: name: 🇨‌ Test needs: change-detection if: fromJSON(needs.change-detection.outputs.run-cpp-tests) - uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.4 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-ci.yml@v1.5 with: cmake-args: "" cmake-args-ubuntu: -G Ninja @@ -31,25 +31,25 @@ jobs: name: 🇨‌ Lint needs: change-detection if: fromJSON(needs.change-detection.outputs.run-cpp-linter) - uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-linter.yml@v1.4 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-cpp-linter.yml@v1.5 python-tests: name: 🐍 Test needs: change-detection if: fromJSON(needs.change-detection.outputs.run-python-tests) - uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.4 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-ci.yml@v1.5 code-ql: name: 📝 CodeQL needs: change-detection if: fromJSON(needs.change-detection.outputs.run-code-ql) - uses: cda-tum/mqt-workflows/.github/workflows/reusable-code-ql.yml@v1.4 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-code-ql.yml@v1.5 cd: name: 🚀 CD needs: change-detection if: fromJSON(needs.change-detection.outputs.run-cd) - uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.4 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-python-packaging.yml@v1.5 required-checks-pass: # This job does nothing and is only used for branch protection name: 🚦 Check diff --git a/.github/workflows/update-mqt-core.yml b/.github/workflows/update-mqt-core.yml index 28ad5487..2ca8dbec 100644 --- a/.github/workflows/update-mqt-core.yml +++ b/.github/workflows/update-mqt-core.yml @@ -21,6 +21,6 @@ concurrency: jobs: update-mqt-core: name: ⬆️ Update MQT Core - uses: cda-tum/mqt-workflows/.github/workflows/reusable-mqt-core-update.yml@v1.4 + uses: cda-tum/mqt-workflows/.github/workflows/reusable-mqt-core-update.yml@v1.5 with: update-to-head: ${{ github.event.inputs.update-to-head == 'true' }} From 1c6b34f461c88309cc7745646f256d55c4a4e391 Mon Sep 17 00:00:00 2001 From: burgholzer Date: Tue, 10 Dec 2024 10:08:29 +0100 Subject: [PATCH 2/4] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20update=20`validate-pyp?= =?UTF-8?q?roject-schema-store`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: burgholzer --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e5abf8cb..3badf3f4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -140,6 +140,6 @@ repos: # Check the pyproject.toml file - repo: https://github.com/henryiii/validate-pyproject-schema-store - rev: 2024.09.23 + rev: 2024.11.25 hooks: - id: validate-pyproject From 1d8a2f4a06233733008d1444202c87fcd7ecdd76 Mon Sep 17 00:00:00 2001 From: burgholzer Date: Tue, 10 Dec 2024 10:08:49 +0100 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=9A=A8=20adjust=20to=20new=20`ruff`?= =?UTF-8?q?=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: burgholzer --- pyproject.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 31051df8..32a83e80 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -218,20 +218,17 @@ extend-select = [ "SLOT", # flake8-slots "SIM", # flake8-simplify "T20", # flake8-print - "TCH", # flake8-type-checking + "TC", # flake8-type-checking "TID", # flake8-tidy-imports "TRY", # tryceratops "UP", # pyupgrade "YTT", # flake8-2020 ] ignore = [ - "ANN101", # Missing type annotation for `self` in method - "ANN102", # Missing type annotation for `cls` in classmethod "ISC001", # Conflicts with formatter "PLR09", # Too many <...> "PLR2004", # Magic value used in comparison "PLC0415", # Import should be at top of file - "PT004", # Incorrect, just usefixtures instead. "S101", # Use of assert detected ] typing-modules = ["mqt.qcec._compat.typing"] From 734e07955cdb26e5a3742e97be7c2c9d6cfe3ff8 Mon Sep 17 00:00:00 2001 From: burgholzer Date: Tue, 10 Dec 2024 11:20:05 +0100 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=94=A7=20update=20cibuildwheel=20conf?= =?UTF-8?q?ig=20with=20new=20enable=20syntax?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: burgholzer --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 32a83e80..484a150a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -285,7 +285,7 @@ archs = "auto64" test-command = "python -c \"from mqt import qcec\"" test-skip = ["cp313*"] # skip testing on Python 3.13 until our dependencies are ready build-frontend = "build[uv]" -free-threaded-support = true +enable = ["cpython-freethreading"] manylinux-x86_64-image = "manylinux_2_28" manylinux-aarch64-image = "manylinux_2_28" manylinux-ppc64le-image = "manylinux_2_28"