Skip to content

Commit

Permalink
🔧 small project configuration updates (#443)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
burgholzer authored Oct 10, 2024
2 parents 16c5b61 + 1e6201a commit 338c2be
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
12 changes: 5 additions & 7 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,30 @@ categories:
- "feature"
- "enhancement"
- "usability"
- "refactor"
- title: "🐛 Bug Fixes"
labels:
- "bug"
- "fix"
- title: "📄 Documentation"
labels:
- "documentation"
- title: "🤖 CI"
labels:
- "continuous integration"
- title: "📦 Packaging"
labels:
- "packaging"
- title: "🧹 Code Quality"
labels:
- "code quality"
- title: "🤖 CI"
labels:
- "continuous integration"
- title: "⬆️ Dependencies"
collapse-after: 5
labels:
- "dependencies"
- "submodules"
- "github_actions"
- "pre-commit"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&'
version-resolver:
Expand All @@ -41,10 +43,6 @@ version-resolver:
labels:
- "patch"
default: patch
autolabeler:
- label: "dependencies"
title:
- "/update pre-commit hooks/i"

template: |
## 👀 What Changed
Expand Down
4 changes: 2 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
packageRules: [
{
matchManagers: ["github-actions"],
addLabels: ["github-actions", "continuous integration"],
addLabels: ["github-actions"],
commitMessagePrefix: "⬆\uFE0F\uD83D\uDC68\u200D\uD83D\uDCBB"
},
{
Expand All @@ -26,7 +26,7 @@
},
{
matchManagers: ["pre-commit"],
addLabels: ["pre-commit", "continuous integration"],
addLabels: ["pre-commit"],
commitMessagePrefix: "⬆\uFE0F\uD83E\uDE9D",
},
{
Expand Down
2 changes: 2 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ build:
then
exit 183;
fi
# Unshallow the git clone and fetch tags to get proper version information
- git fetch --unshallow --tags

sphinx:
configuration: docs/conf.py
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def _run_tests(
posargs = list(session.posargs)
env = {}
if os.environ.get("CI", None) and sys.platform == "win32":
env["SKBUILD_CMAKE_ARGS"] = "-T ClangCL;--fresh"
env["SKBUILD_CMAKE_ARGS"] = "-T ClangCL"

if shutil.which("cmake") is None and shutil.which("cmake3") is None:
session.install("cmake")
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ minimum-version = "build-system.requires"
# Set the wheel install directory
wheel.install-dir = "mqt/ddsim"

# Explicitly set the package directory
wheel.packages = ["src/mqt"]

# Set required Ninja version
ninja.version = ">=1.10"

# Setuptools-style build caching in a local directory
build-dir = "build/{build_type}"

# Explicitly set the package directory
wheel.packages = ["src/mqt"]
build-dir = "build/{wheel_tag}/{build_type}"

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

[[tool.cibuildwheel.overrides]]
select = "*-macosx_arm64"
Expand Down

0 comments on commit 338c2be

Please sign in to comment.