I came across https://pypi.org/project/liccheck/ and thought we should see what it reports for Allura. With a .ini file like
[Licenses] authorized_licenses: bsd new bsd bsd license new bsd license simplified bsd apache apache 2.0 apache software license Apache Software mit mit license python software foundation license
output is:
$ liccheck -r requirements.txt -s lic.ini gathering licenses... 94 packages and dependencies. check authorized packages... 81 packages. check unknown packages... 13 packages. certifi (2019.6.16): ['MPL-2.0', 'Mozilla Public License 2.0 (MPL 2.0)'] dependencies: certifi << requests << pysolr certifi << requests << requests-oauthlib chardet (3.0.4): ['GNU Library or Lesser General Public License (LGPL)', 'LGPL'] dependencies: chardet << requests << pysolr chardet << requests << requests-oauthlib colander (1.7.0): ['BSD-derived (http://www.repoze.org/LICENSE.txt)'] dependency: colander feedparser (5.2.1): UNKNOWN dependency: feedparser ipaddress (1.0.22): ['Python Software Foundation'] dependency: ipaddress nose (1.3.7): ['GNU LGPL', 'GNU Library or Lesser General Public License (LGPL)'] dependency: nose pexpect (4.7.0): ['ISC', 'ISC License (ISCL)'] dependency: pexpect << ipython Pillow (6.2.2): ['Historical Permission Notice and Disclaimer (HPND)', 'HPND'] dependency: Pillow ptyprocess (0.6.0): ['ISC License (ISCL)'] dependency: ptyprocess << pexpect << ipython repoze.lru (0.7): ['BSD-derived (http://www.repoze.org/LICENSE.txt)'] dependency: repoze.lru << TurboGears2 simplegeneric (0.8.1): ['ZPL 2.1', 'Zope Public'] dependency: simplegeneric << ipython translationstring (1.3): ['BSD-like (http://repoze.org/license.html)'] dependency: translationstring << colander waitress (1.4.3): ['ZPL 2.1', 'Zope Public'] dependency: waitress << WebTest
chardet
LGPL is not good. nose
LGPL is not goodpytest
anyway since nose isn't maintainedfeedparser
is BSD 2-clause https://github.com/kurtmckee/feedparser/blob/develop/LICENSE
allura,forgehg,forgepastebin:db/8386
chardet
uninstalled you should still be able to run Allura, paster commands, tests, etc.nose
uninstalled you should still be able to run Allura (but not run tests of course - later we can switch to pytest [#8387])Related
Tickets:
#8387Diff:
ASF-specific discussion about
requests
andchardet
happening at https://issues.apache.org/jira/browse/LEGAL-572