From 5b86eaae5971a8b00295ba49a76dbf0c1bcd8177 Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Fri, 18 Sep 2026 13:36:17 +0000 Subject: [PATCH 1/2] sparsediffpy: Add versions 0.4.0, 0.5.0, 0.5.1, 0.6.0, 0.6.1 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/sparsediffpy.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/packages/sparsediffpy.yaml b/docs/packages/sparsediffpy.yaml index 23c26f2088..a97821ff9d 100644 --- a/docs/packages/sparsediffpy.yaml +++ b/docs/packages/sparsediffpy.yaml @@ -17,3 +17,8 @@ versions: gpl-sources: filename: gpl-sources.tar description: gcc +- version: 0.4.0 +- version: 0.5.0 +- version: 0.5.1 +- version: 0.6.0 +- version: 0.6.1 From 6f0d16cd9137ac2353c8aa39d2a065b316e31513 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 18 Sep 2026 13:57:15 +0000 Subject: [PATCH 2/2] sparsediffpy: restore per-version patches for 0.4.0-0.6.1 Re-adds the patches/sparsediffpy// directories lost when this branch was reset to the nightly-upgrade bot's version-bump commit. 0.4.0, 0.5.0, 0.5.1 still carry the deprecated cmake.minimum-version key that scikit-build-core >= 0.8 rejects (same fix as 0.3.0's patch, reusing Issue #22) and declare no license-files. 0.6.0 and 0.6.1 already switched to cmake.version upstream (SparseDiffPy #19), so only license-files needs adding; there is no upstream issue for that, so those two patches use Upstream-Status: Inappropriate. All five verified with 'git apply --check' against fresh checkouts of their respective upstream tags. The LICENSE.openblas staging step in build-sparsediffpy.yml (CIBW_BEFORE_ALL_LINUX) already applies to every matrix version, so license-files = ["LICENSE*"] has something to pick up for all of them without any workflow change. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_011RwtHNpuiuiCk4MstTLu8m --- ...x-cmake.minimum-version-ship-LICENSE.patch | 43 +++++++++++++++++++ ...x-cmake.minimum-version-ship-LICENSE.patch | 43 +++++++++++++++++++ ...x-cmake.minimum-version-ship-LICENSE.patch | 43 +++++++++++++++++++ .../0.6.0/0001-pyproject-ship-LICENSE.patch | 32 ++++++++++++++ .../0.6.1/0001-pyproject-ship-LICENSE.patch | 32 ++++++++++++++ 5 files changed, 193 insertions(+) create mode 100644 patches/sparsediffpy/0.4.0/0001-pyproject-fix-cmake.minimum-version-ship-LICENSE.patch create mode 100644 patches/sparsediffpy/0.5.0/0001-pyproject-fix-cmake.minimum-version-ship-LICENSE.patch create mode 100644 patches/sparsediffpy/0.5.1/0001-pyproject-fix-cmake.minimum-version-ship-LICENSE.patch create mode 100644 patches/sparsediffpy/0.6.0/0001-pyproject-ship-LICENSE.patch create mode 100644 patches/sparsediffpy/0.6.1/0001-pyproject-ship-LICENSE.patch diff --git a/patches/sparsediffpy/0.4.0/0001-pyproject-fix-cmake.minimum-version-ship-LICENSE.patch b/patches/sparsediffpy/0.4.0/0001-pyproject-fix-cmake.minimum-version-ship-LICENSE.patch new file mode 100644 index 0000000000..90c5c9be79 --- /dev/null +++ b/patches/sparsediffpy/0.4.0/0001-pyproject-fix-cmake.minimum-version-ship-LICENSE.patch @@ -0,0 +1,43 @@ +From 32dad692dc6003e48352b0f826cba085e601eeaf Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Fri, 18 Sep 2026 13:56:08 +0000 +Subject: [PATCH] pyproject: fix cmake.minimum-version, ship LICENSE* + +scikit-build-core >= 0.8 hard-errors on the deprecated cmake.minimum-version +key ("Use cmake.version instead"), and the build-system floor here is +>= 0.10 -- every version satisfying that floor rejects the key, so the +sdist cannot build with any currently-installable scikit-build-core, on +any architecture. Switch to cmake.version, which scikit-build-core reads +the same way (falling back to CMakeLists.txt's own cmake_minimum_required +otherwise). + +Also declare license-files so a LICENSE.openblas staged beside the +project's own LICENSE (for the OpenBLAS the Linux wheel dynamically links) +is packaged into dist-info/licenses/. + +Upstream-Status: Issue [https://github.com/SparseDifferentiation/SparseDiffPy/issues/22] +--- + pyproject.toml | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 6e0b93d..64151ba 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -9,11 +9,12 @@ description = "Python bindings for SparseDiffEngine algorithmic differentiation" + requires-python = ">=3.11" + dependencies = ["numpy >= 2.0.0"] + license = "Apache-2.0" ++license-files = ["LICENSE*"] + + [project.readme] + file = "README.md" + content-type = "text/markdown" + + [tool.scikit-build] +-cmake.minimum-version = "3.15" ++cmake.version = ">=3.15" + wheel.packages = ["sparsediffpy"] +-- +2.43.0 + diff --git a/patches/sparsediffpy/0.5.0/0001-pyproject-fix-cmake.minimum-version-ship-LICENSE.patch b/patches/sparsediffpy/0.5.0/0001-pyproject-fix-cmake.minimum-version-ship-LICENSE.patch new file mode 100644 index 0000000000..6f5faae7b5 --- /dev/null +++ b/patches/sparsediffpy/0.5.0/0001-pyproject-fix-cmake.minimum-version-ship-LICENSE.patch @@ -0,0 +1,43 @@ +From 03154d99a18e8e1e2254cb47de17947ff4b4ad4c Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Fri, 18 Sep 2026 13:56:14 +0000 +Subject: [PATCH] pyproject: fix cmake.minimum-version, ship LICENSE* + +scikit-build-core >= 0.8 hard-errors on the deprecated cmake.minimum-version +key ("Use cmake.version instead"), and the build-system floor here is +>= 0.10 -- every version satisfying that floor rejects the key, so the +sdist cannot build with any currently-installable scikit-build-core, on +any architecture. Switch to cmake.version, which scikit-build-core reads +the same way (falling back to CMakeLists.txt's own cmake_minimum_required +otherwise). + +Also declare license-files so a LICENSE.openblas staged beside the +project's own LICENSE (for the OpenBLAS the Linux wheel dynamically links) +is packaged into dist-info/licenses/. + +Upstream-Status: Issue [https://github.com/SparseDifferentiation/SparseDiffPy/issues/22] +--- + pyproject.toml | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index c1e707e..a2a3ffa 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -9,11 +9,12 @@ description = "Python bindings for SparseDiffEngine algorithmic differentiation" + requires-python = ">=3.11" + dependencies = ["numpy >= 2.0.0"] + license = "Apache-2.0" ++license-files = ["LICENSE*"] + + [project.readme] + file = "README.md" + content-type = "text/markdown" + + [tool.scikit-build] +-cmake.minimum-version = "3.15" ++cmake.version = ">=3.15" + wheel.packages = ["sparsediffpy"] +-- +2.43.0 + diff --git a/patches/sparsediffpy/0.5.1/0001-pyproject-fix-cmake.minimum-version-ship-LICENSE.patch b/patches/sparsediffpy/0.5.1/0001-pyproject-fix-cmake.minimum-version-ship-LICENSE.patch new file mode 100644 index 0000000000..86ec7fde36 --- /dev/null +++ b/patches/sparsediffpy/0.5.1/0001-pyproject-fix-cmake.minimum-version-ship-LICENSE.patch @@ -0,0 +1,43 @@ +From 11175c3c615ff15bcbbcd0d14084306543dd99bb Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Fri, 18 Sep 2026 13:56:14 +0000 +Subject: [PATCH] pyproject: fix cmake.minimum-version, ship LICENSE* + +scikit-build-core >= 0.8 hard-errors on the deprecated cmake.minimum-version +key ("Use cmake.version instead"), and the build-system floor here is +>= 0.10 -- every version satisfying that floor rejects the key, so the +sdist cannot build with any currently-installable scikit-build-core, on +any architecture. Switch to cmake.version, which scikit-build-core reads +the same way (falling back to CMakeLists.txt's own cmake_minimum_required +otherwise). + +Also declare license-files so a LICENSE.openblas staged beside the +project's own LICENSE (for the OpenBLAS the Linux wheel dynamically links) +is packaged into dist-info/licenses/. + +Upstream-Status: Issue [https://github.com/SparseDifferentiation/SparseDiffPy/issues/22] +--- + pyproject.toml | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index f9e4dfa..4b8b4ad 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -9,11 +9,12 @@ description = "Python bindings for SparseDiffEngine algorithmic differentiation" + requires-python = ">=3.11" + dependencies = ["numpy >= 2.0.0"] + license = "Apache-2.0" ++license-files = ["LICENSE*"] + + [project.readme] + file = "README.md" + content-type = "text/markdown" + + [tool.scikit-build] +-cmake.minimum-version = "3.15" ++cmake.version = ">=3.15" + wheel.packages = ["sparsediffpy"] +-- +2.43.0 + diff --git a/patches/sparsediffpy/0.6.0/0001-pyproject-ship-LICENSE.patch b/patches/sparsediffpy/0.6.0/0001-pyproject-ship-LICENSE.patch new file mode 100644 index 0000000000..c45369ed18 --- /dev/null +++ b/patches/sparsediffpy/0.6.0/0001-pyproject-ship-LICENSE.patch @@ -0,0 +1,32 @@ +From 19e312ede3335fda79a86cec5a142fa6c5123a9c Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Fri, 18 Sep 2026 13:56:47 +0000 +Subject: [PATCH] pyproject: ship LICENSE* + +scikit-build-core's cmake.version key is already used as of this release +(the deprecated cmake.minimum-version issue tracked as gotcha/Issue #22 no +longer applies), but the sdist still declares no license-files, so a +LICENSE.openblas staged beside the project's own LICENSE (for the OpenBLAS +the Linux wheel dynamically links) is not packaged into dist-info/licenses/. +Declare it explicitly. + +Upstream-Status: Inappropriate [riscv64-wheel-only concern: only our build vendors OpenBLAS via auditwheel, upstream ships no such wheel] +--- + pyproject.toml | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pyproject.toml b/pyproject.toml +index f26fef3..52de8ba 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -9,6 +9,7 @@ description = "Python bindings for SparseDiffEngine algorithmic differentiation" + requires-python = ">=3.11" + dependencies = ["numpy >= 2.0.0"] + license = "Apache-2.0" ++license-files = ["LICENSE*"] + + [project.readme] + file = "README.md" +-- +2.43.0 + diff --git a/patches/sparsediffpy/0.6.1/0001-pyproject-ship-LICENSE.patch b/patches/sparsediffpy/0.6.1/0001-pyproject-ship-LICENSE.patch new file mode 100644 index 0000000000..ee4b8b39df --- /dev/null +++ b/patches/sparsediffpy/0.6.1/0001-pyproject-ship-LICENSE.patch @@ -0,0 +1,32 @@ +From 4c5e21f545a9979008c301f5353f5332a8ec63eb Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Fri, 18 Sep 2026 13:56:47 +0000 +Subject: [PATCH] pyproject: ship LICENSE* + +scikit-build-core's cmake.version key is already used as of this release +(the deprecated cmake.minimum-version issue tracked as gotcha/Issue #22 no +longer applies), but the sdist still declares no license-files, so a +LICENSE.openblas staged beside the project's own LICENSE (for the OpenBLAS +the Linux wheel dynamically links) is not packaged into dist-info/licenses/. +Declare it explicitly. + +Upstream-Status: Inappropriate [riscv64-wheel-only concern: only our build vendors OpenBLAS via auditwheel, upstream ships no such wheel] +--- + pyproject.toml | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pyproject.toml b/pyproject.toml +index 4b29282..f6faa48 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -9,6 +9,7 @@ description = "Python bindings for SparseDiffEngine algorithmic differentiation" + requires-python = ">=3.11" + dependencies = ["numpy >= 2.0.0"] + license = "Apache-2.0" ++license-files = ["LICENSE*"] + + [project.readme] + file = "README.md" +-- +2.43.0 +