uvloop wheels don't include libuv LICENSE files
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.
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?
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.
Also, while libuv is licensed under MIT (LICENSE), it appears to contain some pieces of code under different licenses (LICENSE-extra).