Skip to content

Commit 742e9bc

Browse files
authored
🔧 Maintenance round (#1793)
## Description This PR makes several maintenance updates: - Fix `required-checks-pass` job - Improve support for `CLAUDE.md` - Configure Read the Docs to use Python 3.14 for colorful docs - Make use of the fact that version 4.0.0 of `cbuildwheel` installs `delvewheel` by default ## Checklist - [x] The pull request only contains commits that are focused and relevant to this change. - [x] ~~I have added appropriate tests that cover the new/changed functionality.~~ - [x] ~~I have updated the documentation to reflect these changes.~~ - [x] ~~I have added entries to the changelog for any noteworthy additions, changes, fixes, or removals.~~ - [x] ~~I have added migration instructions to the upgrade guide (if needed).~~ - [x] The changes follow the project's style guidelines and introduce no new warnings. - [x] The changes are fully tested and pass the CI checks. - [x] I have reviewed my own code changes.
1 parent 801b431 commit 742e9bc

5 files changed

Lines changed: 26 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -271,31 +271,31 @@ jobs:
271271
with:
272272
allowed-skips: >-
273273
${{
274-
fromJSON(needs.change-detection.outputs.run-cpp-tests) && !contains(github.event.pull_request.labels.*.name, 'extensive-cpp-ci')
275-
&& '' || 'cpp-tests-ubuntu,cpp-tests-macos,cpp-tests-windows,'
274+
(!fromJSON(needs.change-detection.outputs.run-cpp-tests) || contains(github.event.pull_request.labels.*.name, 'extensive-cpp-ci'))
275+
&& 'cpp-tests-ubuntu,cpp-tests-macos,cpp-tests-windows,' || ''
276276
}}
277277
${{
278-
fromJSON(needs.change-detection.outputs.run-cpp-tests) && github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'extensive-cpp-ci')
279-
&& '' || 'cpp-tests-extensive-ubuntu,cpp-tests-extensive-macos,cpp-tests-extensive-windows,'
278+
(!fromJSON(needs.change-detection.outputs.run-cpp-tests) || !contains(github.event.pull_request.labels.*.name, 'extensive-cpp-ci') || github.event_name != 'pull_request')
279+
&& 'cpp-tests-extensive-ubuntu,cpp-tests-extensive-macos,cpp-tests-extensive-windows,' || ''
280280
}}
281281
${{
282-
fromJSON(needs.change-detection.outputs.run-cpp-tests)
283-
&& '' || 'cpp-coverage,'
282+
!fromJSON(needs.change-detection.outputs.run-cpp-tests)
283+
&& 'cpp-coverage,' || ''
284284
}}
285285
${{
286-
fromJSON(needs.change-detection.outputs.run-cpp-linter)
287-
&& '' || 'cpp-linter,'
286+
!fromJSON(needs.change-detection.outputs.run-cpp-linter)
287+
&& 'cpp-linter,' || ''
288288
}}
289289
${{
290-
fromJSON(needs.change-detection.outputs.run-python-tests)
291-
&& '' || 'python-tests,python-coverage,python-linter,'
290+
!fromJSON(needs.change-detection.outputs.run-python-tests)
291+
&& 'python-tests,python-coverage,python-linter,' || ''
292292
}}
293293
${{
294-
fromJSON(needs.change-detection.outputs.run-python-tests) && github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'extensive-python-ci')
295-
&& '' || 'python-tests-extensive,'
294+
(!fromJSON(needs.change-detection.outputs.run-python-tests) || !contains(github.event.pull_request.labels.*.name, 'extensive-python-ci') || github.event_name != 'pull_request')
295+
&& 'python-tests-extensive,' || ''
296296
}}
297297
${{
298-
fromJSON(needs.change-detection.outputs.run-cd)
299-
&& '' || 'build-sdist,build-wheel,'
298+
!fromJSON(needs.change-detection.outputs.run-cd)
299+
&& 'build-sdist,build-wheel' || ''
300300
}}
301301
jobs: ${{ toJSON(needs) }}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ test/**/build/
151151
# ruff
152152
.ruff_cache/
153153

154+
# Claude
155+
CLAUDE.md
156+
.claude/
157+
154158
# OS specific stuff
155159
.DS_Store
156160
.DS_Store?

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sphinx:
99
build:
1010
os: ubuntu-24.04
1111
tools:
12-
python: "3.13"
12+
python: "3.14"
1313
apt_packages:
1414
- graphviz
1515
- inkscape

docs/conf.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,18 @@
5757
templates_path = ["_templates"]
5858

5959
extensions = [
60-
"myst_nb",
6160
"autoapi.extension",
61+
"breathe",
62+
"myst_nb",
63+
"sphinx_copybutton",
64+
"sphinx_design",
6265
"sphinx.ext.autodoc",
6366
"sphinx.ext.intersphinx",
6467
"sphinx.ext.napoleon",
65-
"sphinx_copybutton",
66-
"sphinx_design",
67-
"sphinxext.opengraph",
6868
"sphinx.ext.viewcode",
69-
"sphinxcontrib.inkscapeconverter",
7069
"sphinxcontrib.bibtex",
71-
"breathe",
70+
"sphinxcontrib.inkscapeconverter",
71+
"sphinxext.opengraph",
7272
]
7373

7474
source_suffix = [".rst", ".md"]
@@ -178,6 +178,7 @@ def format_url(self, _e: Entry) -> HRef: # noqa: PLR6301
178178
)
179179

180180
# -- Options for HTML output -------------------------------------------------
181+
181182
html_theme = "furo"
182183
html_static_path = ["_static"]
183184
html_css_files = [

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ environment = { DEPLOY = "ON", PATH="$PATH:/root/.local/bin" }
293293
environment = { MACOSX_DEPLOYMENT_TARGET = "11.0" }
294294

295295
[tool.cibuildwheel.windows]
296-
before-build = "uv pip install delvewheel>=1.11.2"
297296
repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel} --namespace-pkg mqt --ignore-existing"
298297

299298
[[tool.cibuildwheel.overrides]]

0 commit comments

Comments
 (0)