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 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",