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
1 change: 1 addition & 0 deletions docs/packages/netcdf4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
From: Ludovic Henry <git@ludovic.dev>
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",
Loading