Skip to content

Commit

Permalink
[python-package] update to scikit-build-core 0.10 (#6597)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Aug 9, 2024
1 parent e7edb6c commit 9a76aae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python-package/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,21 @@ changelog = "https://github.com/microsoft/LightGBM/releases"
# start:build-system
[build-system]

requires = ["scikit-build-core>=0.9.3"]
requires = ["scikit-build-core>=0.10.1"]
build-backend = "scikit_build_core.build"

# based on https://github.com/scikit-build/scikit-build-core#configuration
[tool.scikit-build]

cmake.version = ">=3.28"
cmake.version = "CMakeLists.txt"
ninja.version = ">=1.11"
ninja.make-fallback = true
cmake.args = [
"-D__BUILD_FOR_PYTHON:BOOL=ON"
]
cmake.verbose = false
build.verbose = false
cmake.build-type = "Release"
cmake.targets = ["_lightgbm"]
build.targets = ["_lightgbm"]
# stripping binaries should be turned back on once this is fixed:
# https://github.com/jameslamb/pydistcheck/issues/235
install.strip = false
Expand All @@ -80,7 +80,7 @@ sdist.reproducible = true
wheel.py-api = "py3"
experimental = false
strict-config = false
minimum-version = "0.9.3"
minimum-version = "build-system.requires"

# end:build-system

Expand Down

0 comments on commit 9a76aae

Please sign in to comment.