Skip to content

Commit d507d38

Browse files
No longer require pyproject extra of scikit-build-core
Since `scikit-build-core` 0.11, the `pyproject` extra has no effect and is provided only for backwards-compatibility. Update to `scikit-build-core>=0.11` without the `pyproject` extra, but do so conditionally for now, since we still advertise support for the end-of-life Python versions 3.7 and 3.8, and `scikit-build-core` 0.11 requires Python 3.9. This corresponds to the combination of rordenlab/dcm2niix@601568f and rordenlab/dcm2niix@c26a6aa.
1 parent 99a2e19 commit d507d38

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[build-system]
2-
requires = ["setuptools_scm>=7", "scikit-build-core[pyproject]>=0.5"]
2+
requires = [
3+
"setuptools_scm>=7",
4+
"scikit-build-core>=0.11; python_version >= '3.9'",
5+
"scikit-build-core[pyproject]>=0.5; python_version < '3.9'",
6+
]
37
build-backend = "scikit_build_core.build"
48

59
[tool.scikit-build]

0 commit comments

Comments
 (0)