Skip to content

Commit d7206e0

Browse files
β¬†οΈπŸ‘¨β€πŸ’» Update munich-quantum-toolkit/workflows action to v2.1.1 (#151)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 23f21e2 commit d7206e0

5 files changed

Lines changed: 23 additions & 52 deletions

File tree

β€Ž.github/workflows/cd.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
build-sdist:
1414
name: 🐍 Packaging
15-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@e227ce742023e2e600d7fab6dfcebbf8b4b36614 # v2.0.3
15+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@b17932e07095e11c8f8c0d74298bbcde43f77a15 # v2.1.1
1616

1717
# Builds wheels on all supported platforms using cibuildwheel.
1818
# The wheels are uploaded as GitHub artifacts `dev-cibw-*` or `cibw-*`, depending on whether
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
runs-on: [ubuntu-24.04, ubuntu-24.04-arm, macos-26]
26-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@e227ce742023e2e600d7fab6dfcebbf8b4b36614 # v2.0.3
26+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@b17932e07095e11c8f8c0d74298bbcde43f77a15 # v2.1.1
2727
with:
2828
runs-on: ${{ matrix.runs-on }}
2929
setup-mlir: true

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717
jobs:
1818
change-detection:
1919
name: πŸ” Change
20-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@e227ce742023e2e600d7fab6dfcebbf8b4b36614 # v2.0.3
20+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@b17932e07095e11c8f8c0d74298bbcde43f77a15 # v2.1.1
2121

2222
python-tests:
2323
name: 🐍 Test
@@ -27,7 +27,7 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
runs-on: [ubuntu-24.04, ubuntu-24.04-arm, macos-26]
30-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@e227ce742023e2e600d7fab6dfcebbf8b4b36614 # v2.0.3
30+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@b17932e07095e11c8f8c0d74298bbcde43f77a15 # v2.1.1
3131
with:
3232
runs-on: ${{ matrix.runs-on }}
3333
setup-mlir: true
@@ -37,7 +37,7 @@ jobs:
3737
name: 🐍 Coverage
3838
needs: [change-detection, python-tests]
3939
if: fromJSON(needs.change-detection.outputs.run-python-tests)
40-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-coverage.yml@e227ce742023e2e600d7fab6dfcebbf8b4b36614 # v2.0.3
40+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-coverage.yml@b17932e07095e11c8f8c0d74298bbcde43f77a15 # v2.1.1
4141
permissions:
4242
contents: read
4343
id-token: write
@@ -46,7 +46,7 @@ jobs:
4646
name: 🐍 Lint
4747
needs: change-detection
4848
if: fromJSON(needs.change-detection.outputs.run-python-tests)
49-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter.yml@e227ce742023e2e600d7fab6dfcebbf8b4b36614 # v2.0.3
49+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter.yml@b17932e07095e11c8f8c0d74298bbcde43f77a15 # v2.1.1
5050
with:
5151
enable-ty: true
5252
enable-mypy: false
@@ -57,7 +57,7 @@ jobs:
5757
name: πŸš€ CD (sdist)
5858
needs: change-detection
5959
if: fromJSON(needs.change-detection.outputs.run-cd)
60-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@e227ce742023e2e600d7fab6dfcebbf8b4b36614 # v2.0.3
60+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@b17932e07095e11c8f8c0d74298bbcde43f77a15 # v2.1.1
6161

6262
build-wheel:
6363
name: πŸš€ CD (wheel)
@@ -67,7 +67,7 @@ jobs:
6767
fail-fast: false
6868
matrix:
6969
runs-on: [ubuntu-24.04, ubuntu-24.04-arm, macos-26]
70-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@e227ce742023e2e600d7fab6dfcebbf8b4b36614 # v2.0.3
70+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@b17932e07095e11c8f8c0d74298bbcde43f77a15 # v2.1.1
7171
with:
7272
runs-on: ${{ matrix.runs-on }}
7373
setup-mlir: true
@@ -77,7 +77,7 @@ jobs:
7777
name: πŸ‡¨β€Œ Lint
7878
needs: change-detection
7979
if: fromJSON(needs.change-detection.outputs.run-cpp-linter)
80-
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-linter.yml@e227ce742023e2e600d7fab6dfcebbf8b4b36614 # v2.0.3
80+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-linter.yml@b17932e07095e11c8f8c0d74298bbcde43f77a15 # v2.1.1
8181
with:
8282
clang-version: 21
8383
build-project: true

β€Ž.pre-commit-config.yamlβ€Ž

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ci:
1212
autoupdate_commit_msg: "⬆️πŸͺ update pre-commit hooks"
1313
autoupdate_schedule: quarterly
1414
autofix_commit_msg: "🎨 pre-commit fixes"
15-
skip: [ty-check]
15+
skip: [ty]
1616

1717
repos:
1818
## Standard hooks
@@ -130,22 +130,17 @@ repos:
130130
- repo: https://github.com/astral-sh/ruff-pre-commit
131131
rev: v0.15.16
132132
hooks:
133-
- id: ruff-format
134-
types_or: [python, pyi, jupyter, markdown]
135-
priority: 6
136133
- id: ruff-check
137134
require_serial: true
135+
priority: 6
136+
- id: ruff-format
137+
types_or: [python, pyi, jupyter, markdown]
138138
priority: 7
139139

140140
## Check Python types with ty
141-
- repo: local
141+
- repo: https://github.com/astral-sh/ty-pre-commit
142+
rev: v0.0.47
142143
hooks:
143-
- id: ty-check
144-
name: ty check
145-
entry: uvx python -c "import subprocess; import sys; r = subprocess.run(['uv', 'sync', '--no-install-project', '--inexact']); sys.exit(r.returncode or subprocess.run(['uv', 'run', '--no-sync', 'ty', 'check']).returncode)"
146-
language: unsupported
147-
require_serial: true
148-
types_or: [python, pyi, jupyter]
149-
exclude: ^(docs/)
150-
pass_filenames: false
144+
- id: ty
145+
args: [--only-dev]
151146
priority: 8

β€Žpyproject.tomlβ€Ž

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ requires = [
1111
"scikit-build-core>=0.12.2",
1212
"setuptools-scm>=9.2.2",
1313
"pennylane-catalyst~=0.14.1",
14-
"pennylane>=0.44.1,<0.45",
14+
"pennylane~=0.44.1",
1515
]
1616
build-backend = "scikit_build_core.build"
1717

@@ -49,7 +49,7 @@ requires-python = ">=3.11"
4949
dynamic = ["version"]
5050
dependencies = [
5151
"pennylane-catalyst~=0.14.1",
52-
"pennylane>=0.44.1,<0.45",
52+
"pennylane~=0.44.1",
5353
]
5454

5555
[project.urls]
@@ -287,7 +287,7 @@ build = [
287287
"scikit-build-core>=0.12.2",
288288
"setuptools-scm>=9.2.2",
289289
"pennylane-catalyst~=0.14.1",
290-
"pennylane>=0.44.1,<0.45",
290+
"pennylane~=0.44.1",
291291
]
292292
docs = [
293293
"furo>=2025.12.19",
@@ -315,5 +315,4 @@ dev = [
315315
{include-group = "build"},
316316
{include-group = "test"},
317317
"nox>=2025.11.12",
318-
"ty==0.0.40",
319318
]

β€Žuv.lockβ€Ž

Lines changed: 3 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)