Skip to content

Commit cf08f67

Browse files
authored
Using cmake.version in pyproject.toml (#232)
* Replacing cmake.minimum-version with cmake-version in pyproject.toml * This is due to a breaking change in scikit-build-core 1.0.0 * Also constraining scikit-build-core and pybind11 versions with an upper bound Change-Id: Idbc65e726af3a6d19f509f7b4d05fa423f424a87 Signed-off-by: Alex Tawse <alex.tawse@arm.com>
1 parent 72da6f3 commit cf08f67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616

1717
[build-system]
18-
requires = ["scikit-build-core>=0.7", "pybind11>=2.10"]
18+
requires = ["scikit-build-core>=0.8,<1", "pybind11>=2.10,<3"]
1919
build-backend = "scikit_build_core.build"
2020

2121
[project]
@@ -25,7 +25,7 @@ description = "CMSIS-NN scratch buffer size get helpers."
2525
requires-python = ">=3.8"
2626

2727
[tool.scikit-build]
28-
cmake.minimum-version = "3.15"
28+
cmake.version = ">=3.15"
2929
wheel.packages = ["python/cmsis_nn"]
3030

3131
[tool.scikit-build.cmake.define]

0 commit comments

Comments
 (0)