uvloop icon indicating copy to clipboard operation
uvloop copied to clipboard

uvloop wheels don't include libuv LICENSE files

Open threexc opened this issue 6 months ago • 3 comments

As part of the RISE Project, we are adding builds of various Python modules for riscv64 platforms, including uvloop, in the wheel_builder repository. While building v0.21.0, we noticed that the wheels only contain the LICENSE files for uvloop itself, and not libuv:

(venv) tgamblin@megalith ~/workspace/baylibre/rise/uvloop ((HEAD detached from v0.21.0))$ unzip -l uvloop-0.21.0-cp313-cp313-manylinux_2_34_riscv64.manylinux_2_35_riscv64.whl | grep LICEN
     1105  06-21-2025 14:58   uvloop-0.21.0.dist-info/licenses/LICENSE-MIT
    11439  06-21-2025 14:58   uvloop-0.21.0.dist-info/licenses/LICENSE-APACHE

Was this intentional, or would a PR be helpful?

I've also noticed that the license field in pyproject.toml only specifies MIT, but the project is dual-licensed.

threexc avatar Jun 24 '25 15:06 threexc

Hi, i am just a passer-by adding my two cents in this discussion.


I dont think the license should be included, just pointing to the license in pyproject.toml should be enough.

What do you think?

baseplate-admin avatar Jun 24 '25 20:06 baseplate-admin

The libuv license says

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

IIUC the uvloop wheels distribute a copy of libuv (as they statically link to it) so they should include the libuv licenses.

markdryan avatar Jun 25 '25 07:06 markdryan

Also, while libuv is licensed under MIT (LICENSE), it appears to contain some pieces of code under different licenses (LICENSE-extra).

DimitriPapadopoulos avatar Oct 13 '25 20:10 DimitriPapadopoulos