Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/packages/sparsediffpy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
From 32dad692dc6003e48352b0f826cba085e601eeaf Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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

Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
From 03154d99a18e8e1e2254cb47de17947ff4b4ad4c Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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

Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
From 11175c3c615ff15bcbbcd0d14084306543dd99bb Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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

32 changes: 32 additions & 0 deletions patches/sparsediffpy/0.6.0/0001-pyproject-ship-LICENSE.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From 19e312ede3335fda79a86cec5a142fa6c5123a9c Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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

32 changes: 32 additions & 0 deletions patches/sparsediffpy/0.6.1/0001-pyproject-ship-LICENSE.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From 4c5e21f545a9979008c301f5353f5332a8ec63eb Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
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

Loading