Debian Codegraph @

debian/patches/cmake-version-range.patch

raw
1 Description: Allow building with CMake 4.2 and newer
2 Upstream pins scikit-build-core's CMake requirement to ">=3.26,<4.2".
3 Debian unstable ships CMake 4.3, which builds the extension fine
4 (CMakeLists.txt requests the 3.26...3.29 policy range and, with
5 WITH_SYSTEM_DEFLATE=ON, none of the vendored ext/ CMake projects are
6 used). Drop the upper bound so the package builds.
7 Author: Dale Richards <[email protected]>
8 Forwarded: no
9 Last-Update: 2026-09-07
10 --- a/pyproject.toml
11 +++ b/pyproject.toml
12 @@ -80,7 +80,7 @@ Issues = "https://github.com/danielhrisc
13 Source = "https://github.com/danielhrisca/asammdf"
14
15 [tool.scikit-build]
16 -cmake.version = ">=3.26,<4.2"
17 +cmake.version = ">=3.26"
18 metadata.version.provider = "scikit_build_core.metadata.regex"
19 metadata.version.input = "src/asammdf/version.py"
20 sdist.include = ["ext"]