Skip to content

Wheel does not include third-party licence texts for the statically linked libraries #143

Open

Description

@andrefranken

Version: cel-expr-python 0.1.4 (wheel from PyPI, manylinux x86_64).

What happens

The wheel statically links several third-party libraries (going by MODULE.bazel at tag v0.1.4: cel-cpp, abseil-cpp, protobuf with utf8_range, re2, antlr4-cpp-runtime, yaml-cpp, googleapis, cel-spec, pybind11 and pybind11_abseil), but it does not include a NOTICE file or the licence texts of those libraries. Their licences (Apache-2.0, BSD-3-Clause, MIT) ask for the licence text to accompany redistribution in binary form.

Why it matters

Anyone who redistributes the wheel (for example inside a container image) has to rebuild the list of embedded libraries, versions and licences by hand. The same list is needed to track vulnerabilities in the embedded code, since it cannot be upgraded separately from the wheel.

Request

  • Ship the third-party licence texts in the wheel (for example under *.dist-info/licenses/).
  • If possible, publish the list of embedded libraries with their exact versions for each release (an SBOM would be ideal).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions