diff --git a/noxfile.py b/noxfile.py index bcd2032d..268d6bb2 100644 --- a/noxfile.py +++ b/noxfile.py @@ -26,7 +26,7 @@ # and get better caching performance. This only concerns dependencies that are # not available via wheels on PyPI (i.e., only as source distributions). BUILD_REQUIREMENTS = [ - "scikit-build-core[pyproject]>=0.8.1", + "scikit-build-core[pyproject]>=0.10.1", "setuptools_scm>=7", "pybind11>=2.13", "wheel>=0.40", # transitive dependency of pytest on Windows diff --git a/pyproject.toml b/pyproject.toml index 2bb2b21f..7e50b17b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["scikit-build-core>=0.8.1", "setuptools-scm>=7", "pybind11>=2.13"] +requires = ["scikit-build-core>=0.10.1", "setuptools-scm>=7", "pybind11>=2.13"] build-backend = "scikit_build_core.build" [project] @@ -71,13 +71,12 @@ Discussions = "https://github.com/cda-tum/mqt-qcec/discussions" [tool.scikit-build] # Protect the configuration against future changes in scikit-build-core -minimum-version = "0.8.1" +minimum-version = "build-system.requires" # Set the wheel install directory wheel.install-dir = "mqt/qcec" -# Set required CMake and Ninja versions -cmake.version = ">=3.19" +# Set required Ninja version ninja.version = ">=1.10" # Setuptools-style build caching in a local directory @@ -87,7 +86,7 @@ build-dir = "build/{wheel_tag}" wheel.packages = ["src/mqt"] # Only build the Python bindings target -cmake.targets = ["pyqcec"] +build.targets = ["pyqcec"] # Only install the Python package component install.components = ["mqt-qcec_Python"]