Skip to content

Commit 338c2be

Browse files
authored
🔧 small project configuration updates (#443)
## Description This small PR contains a couple of small configuration updates. to the RtD configuration, the release drafter, as well as the scikit-build-core build directory config. ## Checklist: <!--- This checklist serves as a reminder of a couple of things that ensure your pull request will be merged swiftly. --> - [x] The pull request only contains commits that are related to it. - [x] I have added appropriate tests and documentation. - [x] I have made sure that all CI jobs on GitHub pass. - [x] The pull request introduces no new warnings and follows the project's style guidelines.
2 parents 16c5b61 + 1e6201a commit 338c2be

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.github/release-drafter.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,30 @@ categories:
66
- "feature"
77
- "enhancement"
88
- "usability"
9+
- "refactor"
910
- title: "🐛 Bug Fixes"
1011
labels:
1112
- "bug"
1213
- "fix"
1314
- title: "📄 Documentation"
1415
labels:
1516
- "documentation"
16-
- title: "🤖 CI"
17-
labels:
18-
- "continuous integration"
1917
- title: "📦 Packaging"
2018
labels:
2119
- "packaging"
2220
- title: "🧹 Code Quality"
2321
labels:
2422
- "code quality"
23+
- title: "🤖 CI"
24+
labels:
25+
- "continuous integration"
2526
- title: "⬆️ Dependencies"
2627
collapse-after: 5
2728
labels:
2829
- "dependencies"
2930
- "submodules"
3031
- "github_actions"
32+
- "pre-commit"
3133
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
3234
change-title-escapes: '\<*_&'
3335
version-resolver:
@@ -41,10 +43,6 @@ version-resolver:
4143
labels:
4244
- "patch"
4345
default: patch
44-
autolabeler:
45-
- label: "dependencies"
46-
title:
47-
- "/update pre-commit hooks/i"
4846

4947
template: |
5048
## 👀 What Changed

.github/renovate.json5

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
packageRules: [
1717
{
1818
matchManagers: ["github-actions"],
19-
addLabels: ["github-actions", "continuous integration"],
19+
addLabels: ["github-actions"],
2020
commitMessagePrefix: "⬆\uFE0F\uD83D\uDC68\u200D\uD83D\uDCBB"
2121
},
2222
{
@@ -26,7 +26,7 @@
2626
},
2727
{
2828
matchManagers: ["pre-commit"],
29-
addLabels: ["pre-commit", "continuous integration"],
29+
addLabels: ["pre-commit"],
3030
commitMessagePrefix: "⬆\uFE0F\uD83E\uDE9D",
3131
},
3232
{

.readthedocs.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ build:
2020
then
2121
exit 183;
2222
fi
23+
# Unshallow the git clone and fetch tags to get proper version information
24+
- git fetch --unshallow --tags
2325

2426
sphinx:
2527
configuration: docs/conf.py

noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def _run_tests(
5454
posargs = list(session.posargs)
5555
env = {}
5656
if os.environ.get("CI", None) and sys.platform == "win32":
57-
env["SKBUILD_CMAKE_ARGS"] = "-T ClangCL;--fresh"
57+
env["SKBUILD_CMAKE_ARGS"] = "-T ClangCL"
5858

5959
if shutil.which("cmake") is None and shutil.which("cmake3") is None:
6060
session.install("cmake")

pyproject.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ minimum-version = "build-system.requires"
8585
# Set the wheel install directory
8686
wheel.install-dir = "mqt/ddsim"
8787

88+
# Explicitly set the package directory
89+
wheel.packages = ["src/mqt"]
90+
8891
# Set required Ninja version
8992
ninja.version = ">=1.10"
9093

9194
# Setuptools-style build caching in a local directory
92-
build-dir = "build/{build_type}"
93-
94-
# Explicitly set the package directory
95-
wheel.packages = ["src/mqt"]
95+
build-dir = "build/{wheel_tag}/{build_type}"
9696

9797
# Only build the Python bindings target
9898
build.targets = ["pyddsim"]
@@ -301,7 +301,7 @@ environment = { MACOSX_DEPLOYMENT_TARGET = "10.15" }
301301
[tool.cibuildwheel.windows]
302302
before-build = "pip install delvewheel>=1.7.3"
303303
repair-wheel-command = "delvewheel repair -v -w {dest_dir} {wheel} --namespace-pkg mqt"
304-
environment = { CMAKE_ARGS = "-T ClangCL", SKBUILD_CMAKE_ARGS="--fresh" }
304+
environment = { CMAKE_ARGS = "-T ClangCL" }
305305

306306
[[tool.cibuildwheel.overrides]]
307307
select = "*-macosx_arm64"

0 commit comments

Comments
 (0)