diff --git a/docs/packages/sparsediffpy.yaml b/docs/packages/sparsediffpy.yaml index 85f7611d7391..124fb091b17a 100644 --- a/docs/packages/sparsediffpy.yaml +++ b/docs/packages/sparsediffpy.yaml @@ -97,3 +97,4 @@ versions: gpl-sources: filename: gpl-sources.tar description: gcc +- version: 0.7.0 diff --git a/patches/sparsediffpy/0.7.0/0001-pyproject-ship-LICENSE.patch b/patches/sparsediffpy/0.7.0/0001-pyproject-ship-LICENSE.patch new file mode 100644 index 000000000000..ee4b8b39df91 --- /dev/null +++ b/patches/sparsediffpy/0.7.0/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 +