From 853b0f0a2ed4b157f3594f356f3c6f8bb81bc4b0 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:05:29 +0000 Subject: [PATCH 1/2] netcdf4: Add version 1.7.5 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/netcdf4.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/netcdf4.yaml b/docs/packages/netcdf4.yaml index 63d2b803f323..8c419f51c997 100644 --- a/docs/packages/netcdf4.yaml +++ b/docs/packages/netcdf4.yaml @@ -18,3 +18,4 @@ versions: - filename: netcdf4-1.7.4-cp314-cp314t-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl sha256: fecde49f8d101a658010dc1e1e97b51fe89857e7e360fa6784b627e0a646a8a8 requires-python: '>=3.10' +- version: 1.7.5 From 4d6604dda9a8c3b681cd2b7d2c639225f7960cf2 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 23 Oct 2026 06:27:49 +0800 Subject: [PATCH 2/2] netcdf4: Carry patches over to version 1.7.5 The licence patch applies unchanged; the numpy 2.5 shape patch is already in upstream's v1.7.5rel and is not carried. --- ...he-licences-of-the-bundled-libraries.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 patches/netcdf4/1.7.5/0001-pyproject-ship-the-licences-of-the-bundled-libraries.patch diff --git a/patches/netcdf4/1.7.5/0001-pyproject-ship-the-licences-of-the-bundled-libraries.patch b/patches/netcdf4/1.7.5/0001-pyproject-ship-the-licences-of-the-bundled-libraries.patch new file mode 100644 index 000000000000..830f24ea8a05 --- /dev/null +++ b/patches/netcdf4/1.7.5/0001-pyproject-ship-the-licences-of-the-bundled-libraries.patch @@ -0,0 +1,31 @@ +From: Ludovic Henry +Date: Thu, 28 Aug 2026 00:00:00 +0000 +Subject: [PATCH] pyproject: ship the licences of the bundled libraries + +The Linux wheels statically resolve and dynamically bundle HDF5, netcdf-c, +libaec, c-blosc, bzip2, zstd, OpenSSL and curl, but `license-files` names only +netCDF4's own LICENSE, so none of those projects' notices reach the wheel even +though every one of them requires the copyright notice to travel with a binary +redistribution. + +Widening the entry to a glob lets the wheel build stage each dependency's +licence beside LICENSE and have it land in `.dist-info/licenses/`. + +Upstream-Status: To upstream [needs a matching change in the wheel build image, which stages the files] +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 1111111..2222222 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -14,7 +14,7 @@ keywords = [ + "meteorology", "climate", + ] + license = "MIT" +-license-files = ["LICENSE"] ++license-files = ["LICENSE*"] + classifiers = [ + "Development Status :: 3 - Alpha", + "Programming Language :: Python :: 3",