Skip to content

pyzstd wheels on PyPI are missing license information for zstd #42

@markdryan

Description

@markdryan

As far as I can tell the pyzstd wheels available on PyPI (at least the manylinux ones anyway) statically link to, and hence distribute, zstd. The wheels do not however include copies of zstd's copyright notices and licenses, which they should really do. Zstd seems to be dual licensed so I guess both licenses should really be included in the pyzstd wheels.

For example, if we look in ztd's BSD license file we see the following text.

Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this
    list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice,
    this list of conditions and the following disclaimer in the documentation
    and/or other materials provided with the distribution.

The pyzstd wheels are redistributing zstd in binary form but do not seem to be honouring the terms of its licenses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions