Skip to content

Python wheels do not include license text #187

Open
@musicinmybrain

Description

The chosen MIT license says,

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

The license text is included in the sdists, semi-accidentally, as part of the bundled jiter crate sources, but there is no top-level LICENSE file.

$ curl -L https://files.pythonhosted.org/packages/source/j/jiter/jiter-0.8.2.tar.gz 2>/dev/null | tar -tz | grep LICENSE
jiter-0.8.2/crates/jiter/LICENSE

The license text is not included in the bdist/wheel at all:

$ python3 -m venv _e
(_e) $ . _e/bin/activate
(_e) $ pip install jiter
$ ls _e/lib/python3.13/site-packages/jiter-*.dist-info/
INSTALLER  METADATA  RECORD  REQUESTED  WHEEL

I would normally offer a PR, but I’m not quite sure of the ideal way to make this work with maturin involved.

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