Skip to content
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

Upstream Licencing conflict with GPL: POT and CVXOPT #622

Open
SarahG-579462 opened this issue May 13, 2024 · 2 comments
Open

Upstream Licencing conflict with GPL: POT and CVXOPT #622

SarahG-579462 opened this issue May 13, 2024 · 2 comments

Comments

@SarahG-579462
Copy link

SarahG-579462 commented May 13, 2024

Describe the bug

POT uses MIT, but has a requirement for CVXOPT, which uses GPLv3 (Likely because it uses GLPK). This means that any upstream code cannot use an incompatible license with GPL (e.g. Apache).

Additional context

This arose in the context of exploring the possibility of having POT as a requirement for xclim. We can't downgrade our licenses due to branding issues, so as a result we cannot use POT without licensing violations.

https://opensource.stackexchange.com/questions/1640/if-im-using-a-gpl-3-library-in-my-project-can-i-license-my-project-under-mit-l (specifically: this answer suggests that until the CVXOPT is imported, POT is MIT, but after that, it is GPLv3. )

@SarahG-579462
Copy link
Author

SarahG-579462 commented May 13, 2024

An option for fixing this might be making CVXOPT an optional requirement. It already seems to be optional in the codebase, given the try-catch on the import, but it is not in requirements.txt

@rflamary
Copy link
Collaborator

CVXOPTis already a optional requirement and run perfectly without it (albeit slower on some functions), it is in the requirement.txt but we are pkaning on making a requiremenat_all.txt with all optional dependencies. Optional depenencies are imported only if available so you can instal POT without CVXOPT and remain full MIT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants