-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
License compliance #4907
Comments
Thanks @hakostra, we'll investigate. @tieguy any thoughts? Also @hakostra can you please provide an example of a wheel "done right" so we can compare? Most likely you are correct, and we can address the issue by doing whatever-it-is-people-do-to-address-this-kind-of-issue (e.g. include "some kind of copyright notice and/or the licensing terms itself" in the wheel I guess?) Also to fully address, we'll need to list "every licence of every dependency you ship" here. Off the type of my head, we depend on at least:
I'll go look up their licenses and report back, along with whatever deps I missed. |
I can of course not guarantee that Numpy do everything right, but the Numpy wheel do include these 3rd party library dependencies:
The LICENSE.txt found in the Numpy wheel is attached. Notice the section below on bundled software after the Numpy license. I assume this is one way to do it. As far as I know, libquadmath is also from the GCC runtime libraries, and covered by the same license as libgfortran. libz do not require a notice at all I think (https://zlib.net/zlib_license.html), so ny assumption is that the Numpy license file is OK. As a reference,
So it is a quite comprehensive list. |
Hey! Sorry it took a while to get to this, I’d never actually looked at the wheel documentation before so needed to do a bit of research, and was also moving house last week :) There’s no perfect way to do this. One way is simply concatenating the upstream licenses into If you want to play with a cutting-edge solution, there is https://reuse.software/tutorial/ - Alex, I’d actually be very curious to hear your thoughts/feedback on Reuse and how it works for python generally and wheel specifically. |
I've created python-pillow/pillow-wheels#178 as an implementation of the first option, concatenating the upstream licenses. |
That PR has now been merged. |
The Pillow wheels pushed to PyPi contain a lot of embedded libraries in the *.so format, like
libfreetype, libjpeg, liblcms2, liblzma, libopenjp2
to mention some.Most or all of these have licensing terms that require you to carry on at least some kind of copyright notice and/or the licensing terms itself. I cannot find this anywhere in the wheels from PyPi.
As far as I see you are non-compliant with more or less every licence of every dependency you ship.
The text was updated successfully, but these errors were encountered: