Unverified Commit 9a76aae1 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[python-package] update to scikit-build-core 0.10 (#6597)

parent e7edb6cb
...@@ -57,21 +57,21 @@ changelog = "https://github.com/microsoft/LightGBM/releases" ...@@ -57,21 +57,21 @@ changelog = "https://github.com/microsoft/LightGBM/releases"
# start:build-system # start:build-system
[build-system] [build-system]
requires = ["scikit-build-core>=0.9.3"] requires = ["scikit-build-core>=0.10.1"]
build-backend = "scikit_build_core.build" build-backend = "scikit_build_core.build"
# based on https://github.com/scikit-build/scikit-build-core#configuration # based on https://github.com/scikit-build/scikit-build-core#configuration
[tool.scikit-build] [tool.scikit-build]
cmake.version = ">=3.28" cmake.version = "CMakeLists.txt"
ninja.version = ">=1.11" ninja.version = ">=1.11"
ninja.make-fallback = true ninja.make-fallback = true
cmake.args = [ cmake.args = [
"-D__BUILD_FOR_PYTHON:BOOL=ON" "-D__BUILD_FOR_PYTHON:BOOL=ON"
] ]
cmake.verbose = false build.verbose = false
cmake.build-type = "Release" cmake.build-type = "Release"
cmake.targets = ["_lightgbm"] build.targets = ["_lightgbm"]
# stripping binaries should be turned back on once this is fixed: # stripping binaries should be turned back on once this is fixed:
# https://github.com/jameslamb/pydistcheck/issues/235 # https://github.com/jameslamb/pydistcheck/issues/235
install.strip = false install.strip = false
...@@ -80,7 +80,7 @@ sdist.reproducible = true ...@@ -80,7 +80,7 @@ sdist.reproducible = true
wheel.py-api = "py3" wheel.py-api = "py3"
experimental = false experimental = false
strict-config = false strict-config = false
minimum-version = "0.9.3" minimum-version = "build-system.requires"
# end:build-system # end:build-system
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment