Skip to content

Commit

Permalink
Use build-system.requires to set scikit-build-core minimum version (#…
Browse files Browse the repository at this point in the history
…100)

As pointed out by Henry (
rapidsai/build-planning#58 (comment)
), we can configure `scikit-build-core` to retrieve the minimum version
from `build-system.requires`

This is also mentioned in:

* [This blogpost]( https://iscinumpy.dev/post/scikit-build-core-0-10/ )
* [The scikit-build-core docs](
https://scikit-build-core.readthedocs.io/en/latest/configuration.html#minimum-version-defaults
)
  • Loading branch information
jakirkham authored Aug 7, 2024
1 parent 7adff81 commit b03b390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies-file = "dependencies.yaml"
[tool.scikit-build]
build.verbose = true
cmake.version = "CMakeLists.txt"
minimum-version = "0.10"
minimum-version = "build-system.requires"
ninja.make-fallback = true
build-dir = "build/{wheel_tag}"
wheel.packages = ["pynvjitlink"]
Expand Down

0 comments on commit b03b390

Please sign in to comment.