You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
huggorm: the manylinux wheel must carry the licences of what it bundles #5
auditwheel repair copies every library the extension links into the wheel (huggorm/nix/manylinux/default.nix, libs.nix). The wheel carries the Apache-2.0 LICENSE, Nix's COPYING and a NOTICE for Nix. It carries nothing for the other bundled libraries.
The libraries are bzip2, xz, zstd, brotli, libsodium, sqlite, openssl, nghttp2, curl, libarchive, libgit2, boost, libblake3, nlohmann_json, toml11, editline and boehmgc. Most require their licence text in a binary distribution. libgit2 is GPL-2.0 with a linking exception, and that exception requires its notice to travel with the binary.
Nothing publishes the wheel today, so nothing is out of compliance yet. Fix this before the first upload:
Copy each library's licence file from its source into the wheel, for example under huggorm_bindings/licenses/<name>.
Add a test beside test_licensing.py that fails when a bundled .so has no licence file.
Activity
huggorm: state what is Apache-2.0 and what keeps Nix's terms
huggorm: state what is Apache-2.0 and what keeps Nix's terms
feat(huggorm): ship the licence texts of the bundled libraries