Closed thehale closed 2 years ago
This is an excellent catch @jhale1805 . Thank you. Any chance you (or anyone else in this community) might be able to put together a PR for this?
Looking at epub2txt, it's probably pretty straightforward to update the code here.
As long as I can figure out how to run the test suite to make sure I don't break anything, that doesn't look too bad.
I'll see if I can get that done within the next week or so.
Amazing; TYTYTYTY! If the test suite causes you any problems, just let me know. You may need to update the test data in this directory
@deanmalmgren I just opened PR #411 which fixes the AGPL dependency issue.
SIDE NOTE: I did have a lot of trouble with the tests. For anyone else contributing to the project, I recommend ignoring the setup instructions in the Contributing.rst
(they're outdated) and instead following the commands used in .travis.yml
to configure your environment and run the unit test suite.
Thanks so much for your work on this, @jhale1805 and for your patience in me merging in your PR. This is now released in 1.6.5
Describe the bug I currently work on a project that is using
textract
to help parse pdfs and word documents. It looks great and works well!However, when I ran an analysis of its license dependencies, I discovered that
textract
depends onEbookLib
which is AGPL licensed. Legally, that means thattextract
should also carry an AGPL license, as should all programs which usetextract
, unlesstextract
switches to a different dependency that doesn't use a strict copyleft license.One alternative epub parsing package that shows promise is
epub2txt
which carries an MIT license.To Reproduce Steps to reproduce the behavior:
textract
as the only dependency.liccheck
and follow its documentation for creating aliccheck.ini
file, but with no approved licenses. (This will force the tool to list out all dependencies with their licenses.Expected behavior An MIT licensed library like
textract
should not (in fact, legally cannot) depend on an AGPL licensed library.Screenshots
Desktop (please complete the following information):
Additional context N/A