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
text-unidecode is released under the Artistic license #727
Comments
According to https://en.wikipedia.org/wiki/Artistic_License, the Artistic license allows linking from code with a different license. I think 'this Package' in 'You may not charge a fee for this Package' refers to |
That's true of the any FOSS license, surely? The problem of license compatibility comes from two licenses having conflicting terms. E.g. you can't use Apache licensed code with a GPLv2 project due to Apache's patent clause conflicting with the GPLv2's "no additional restrictions" clause. With regard to the Artistic license v1.0, I think it's clause 5 (the restrictions on commercial use) that make it non-free in the eyes of the FSF.
Yes, that's how I understood it too. But I can't distribute Faker without text-unidecode. |
Also, it appears I was wrong about |
@moggers87 Can you send a PR that replaces |
Did something change with the license of text-unidecode? |
Sorry, I closed it by accident |
@fcurella I came across this issue when packaging dependencies for inclusion in the Fedora distribution and wanted to mention that it is still problematic. The "Artistic 1.0" license is explicitely listed in incompatible licenses here: https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Bad_Licenses
It is documented on gnu.org as:
|
@dmsimard I 100% agree with you. The problem is that we don't have any decent alternative. If you can think of any solution, please let us know (and possibly send a PR ;) |
@fcurella I am actually not familiar with faker but it looks like the only place where text-unidecode is used is here: faker/faker/providers/internet/__init__.py Line 126 in c412d56
Surely there could be an alternative implementation ? |
We use
There is one, but it's not actively maintained. See #728
In 5 months, we can finally drop Python2. But we'll still need a library for transliteration. |
text-unidecode has switched its license in version 1.3 to GPL+ or Artistic. |
Good to know, running tests against 1.3 and will submit a PR shortly |
It does not seem that text-unidecode is using the version 2 of the artistic license which makes it compatible with other licenses such as MIT, but rather switched to the initial non-compat version 1. I wanted for the open source GCNotify project to use faker but from what I learned, artistic v1 will not suit MIT, which faker also depend upon. I am not well versed with the subtleties of licensing so feel free to enlighten me, but I wonder how can faker even be able to depend on text-unidecode if the latter does not use artistic v2? Thanks for your awesome library btw, I just wish I could use it. |
@jimleroyer I've replaced |
Honestly impressed, what an amazing support. If I can help in the future with an issue, I will take a deeper look. |
text-unidecode
is released under the Artistic license v1.0, which is considered non-free by the FSF (and therefore not compatible with the GPL). I believe this clause is also of concern to commercial users of faker too:Not being able to charge a fee for the software is problematic for those of us who are contractors, for example.
I realise there aren't really any good alternatives (
unidecode
is GPL licensed as pointed out in #628 ,isounidecode
doesn't support Python 3), so would a patch makingtext-unidecode
an optional dependency be acceptable?The text was updated successfully, but these errors were encountered: