8000 huggorm: the manylinux wheel must carry the licences of what it bundles · Issue #5 · nixidae/nixidae · GitHub
[go: up one dir, main page]

Skip to content

huggorm: the manylinux wheel must carry the licences of what it bundles #5

Open

Description

@Lillecarl

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.

Assisted-By: Claude Opus 5.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    source: huggorm

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0