-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
Development libraries in the release version, including GPL-2.0 licensed mysqlclient #21775
Comments
I looked into this once, but the licensing of that package was super ambiguous, and a lot of people were wrestling with the same ambiguity. I'm not sure how big of a problem this is... maybe @mistercrunch or @dpgaspar can let us know how big of a concern this is? |
I'd say flush it out of |
I think that would kill our |
Can we move it to |
I'd do it quickly, but pip-compile-multi has been broken - re: #26944 |
Assuming we're in a good place to tackle this now... while I see a |
Yes when I took on python dependency management originally I wanted to simplify from 5-6 (base, development, ci, docker, testing) bundles down to 2. We could bring back some of that complexity if we wanted to (back to 3 total bundles). I think we might want to create a new |
I think this is a non-issue now. |
Dockerfile defines installation of the packages for development from
requirements/development.txt
also tolean
version of Docker image. This results in inclusion of packages for development in a Docker image not tagged for development, i.e.apache/superset:latest
(notlatest-dev
). I would like to verify, if it is desired.I am asking because I noticed the
mysqlclient
package between the packages inrequirements/development.txt
which is licensed under GPL-2.0. Wouldn't this impose the requirement to license the whole project under GPL-2.0?mysqlclient package license: https://github.com/PyMySQL/mysqlclient/blob/main/LICENSE
How to reproduce the bug
pip freeze
in Docker image with release version of Superset:docker run --rm apache/superset:latest pip freeze
mysqlclient
library which is installed fromrequirements/development.txt
:superset/requirements/development.txt
Line 57 in bd3166b
docker run --rm apache/superset:latest pip show -v mysqlclient
Expected results
I did not expect to find GPL-2.0 licensed package installed if the project is licensed under Apache-2.0.
Actual results
Environment
(please complete the following information):
Checklist
Make sure to follow these steps before submitting your issue - thank you!
The text was updated successfully, but these errors were encountered: