google / pygtrie

Python library implementing a trie data structure.
Apache License 2.0
811 stars 132 forks source link

Apache v2 license (only) is incompatible with GPLv2 #38

Open dralley opened 2 years ago

dralley commented 2 years ago

Unfortunately the Apache v2 license is generally considered to be incompatible with the GPLv2 license, making this library unusable from many projects.

The standard workaround for this (very common in the Rust community) is to license projects as MIT OR Apache 2.0, which means that contributions invoke the Apache 2.0 protections but downstream users can choose which license they want to accept the code under.

It would be excellent if pygtrie did as well.

mina86 commented 2 years ago

First of, pygtrie is now at https://github.com/mina86/pygtrie

Second of, I honestly don’t know if I can do anything about it. I don’t really have a way to influence the license of commits copyrighted by Google.

Lastly, I never understood dual licensing as MIT or Apache. It seems dumb to me since anyone can choose MIT and ignore any protections Apache provides. A more sensible would be to dual license as Apache and GPLv2.