From c97267a0630fb74e1e7deccddbee6467bfda0890 Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 12:08:53 +0000 Subject: [PATCH 1/2] pybammsolvers: Add version 0.11.1 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/pybammsolvers.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/pybammsolvers.yaml b/docs/packages/pybammsolvers.yaml index bf3e07cbebaf..ea4953ebc7c2 100644 --- a/docs/packages/pybammsolvers.yaml +++ b/docs/packages/pybammsolvers.yaml @@ -16,3 +16,4 @@ versions: - filename: pybammsolvers-0.11.0-cp314-cp314-manylinux_2_39_riscv64.whl sha256: adb4bc7185be249a5f2814ab23bec3881be8b0ec6bfb891d3cd3e2dc1c83c7b7 requires-python: <3.15,>=3.10 +- version: 0.11.1 From 792523cf904a85fe4a7809e03fb882323bc0a150 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 23 Oct 2026 09:05:16 +0800 Subject: [PATCH 2/2] pybammsolvers: rebase the licence-files patch onto 0.11.1 0.11.1 moved requires-python to <3.16 and bumped the version line the 0.11.0 patch used as context; the change itself is unchanged. --- .../0.11.1/0001-license-files.patch | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 patches/pybammsolvers/0.11.1/0001-license-files.patch diff --git a/patches/pybammsolvers/0.11.1/0001-license-files.patch b/patches/pybammsolvers/0.11.1/0001-license-files.patch new file mode 100644 index 000000000000..9ed0485763fa --- /dev/null +++ b/patches/pybammsolvers/0.11.1/0001-license-files.patch @@ -0,0 +1,42 @@ +From c4a76c425b6d2c7353017e91b772d4cba7003e6c Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Thu, 15 Oct 2026 03:53:34 +0000 +Subject: [PATCH] pybammsolvers: ship SUNDIALS and SuiteSparse licence files in + the wheel + +idaklu links at runtime (via the RPATH entries CMakeLists.txt sets) against +SUNDIALS (BSD-3-Clause) and SuiteSparse's BTF/KLU (LGPL-2.1-or-later) and +AMD/COLAMD/SuiteSparse_config (BSD-3-Clause), both built from the git +submodules below at build time and vendored into the wheel by the repair +step, but license-files only lists the project's own LICENSE. Add the +submodules' licence files so dist-info/licenses carries them too. + +Upstream-Status: To upstream [no write access to pybamm-team/PyBaMM from this session] +--- + packages/pybammsolvers/pyproject.toml | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +diff --git a/packages/pybammsolvers/pyproject.toml b/packages/pybammsolvers/pyproject.toml +index b30efb6..bd3d7fa 100644 +--- a/packages/pybammsolvers/pyproject.toml ++++ b/packages/pybammsolvers/pyproject.toml +@@ -15,7 +15,15 @@ build-backend = "scikit_build_core.build" + name = "pybammsolvers" + description = "Python interface for the IDAKLU solver" + requires-python = ">=3.10,<3.16" +-license-files = ["LICENSE"] ++license-files = [ ++ "LICENSE", ++ # SUNDIALS and SuiteSparse (BTF, KLU: LGPL-2.1-or-later; AMD, COLAMD, ++ # SuiteSparse_config: BSD-3-Clause) are built from the git submodules below and ++ # linked into the compiled idaklu extension, but neither licence ships in the ++ # wheel today. ++ "sundials/LICENSE", ++ "SuiteSparse/LICENSE.txt", ++] + readme = "README.md" + # version.py stays the source of truth; a pre-commit hook mirrors it here. + version = "0.11.1" +-- +2.43.0 +