All major and minor version changes will be documented in this file. Details of patch-level version changes can be found in commit messages.
- New Feature: Improve error messages (#44)
- New Feature: Support Transitive Dependencies 1 layer deep (#42)
- Fixed Bug: Unexpected warnings for ignored license (#48)
- Fixed Bug: A compatible dual licensed library is shown as incompatible (#47)
- Fixed Bug: licensecheck gives IndexError: list index out of range (#41)
- Fixed Bug: Apache2 is shown as incompatible with LGPL3 (#40)
- Update format to output info and detected package license
- Bump dep versions
- Merge PR FHPythonUtils#39 (Fixes #38)
- Merge PR FHPythonUtils#33 (implements feature: Support for PEP631: Declaring dependencies in pyproject.toml enhancement)
- Fix crash if setup.cfg exists with no metadata section (FHPythonUtils#34)
- Fix: FHPythonUtils#26
- Fix python 3.8 compatibility, thanks https://github.com/NicolaDonelli !
- Fix: use constant
JOINS
(";; ") in place of hardcoded ", " string to avoid splitting single license with commas - Fix: Add
GPL_X
for GPL without a defined version - Minor refactoring eg renaming functions
- Make namever consistent
- Add regression tests
- Combined
PackageCompat
andPackageInfo
to a@dataclass
ofPackageInfo
get_deps.py
andpackageinfo.py
use sets in-place of lists. NOTE:list(depsWithLicenses)
is passed toformatter.py
(which expects lists ofPackageInfo
)
- Add support for
setup.cfg
FHPythonUtils#21 (thank you https://github.com/NicolaDonelli for the code :)) - Use rich for table rendering FHPythonUtils#20
- More detailed warnings per FHPythonUtils#19
- Add check using spdx identifiers
- Remove metprint
- Move docs
- Update precommit
- Fix crash when calculating module size
- Fix crash when module name was in different case to the requirement
- Hopefully fix FHPythonUtils#14 for real this time
- Update deps
- Remove
pip
- Replace
tomlkit
withtomli
- Fix FHPythonUtils#18
- Compatible with pip 21.3
- Code quality improvements
- Add
-u poetry:dev
to command-line to include dev packages (excluded by default) per FHPythonUtils#16 - Add support for proprietary license per FHPythonUtils#15
- Raise RuntimeError if missing license and classifier FHPythonUtils#14
- Quality improvements to license_matrix.py
- Add additional examples to readme
- Support pre-commit-hooks FHPythonUtils#8
- Command-line options take precedent over config options as expected
- Add config file functionality per FHPythonUtils#11
- Parsed in the following order:
pyproject.toml
,setup.cfg
,licensecheck.toml
,licensecheck.json
,licensecheck.ini
,~/licensecheck.toml
,~/licensecheck.json
,~/licensecheck.ini
- Note that the config takes precedent over command-line options
- Parsed in the following order:
- Add optional path to requirements.txt as outlined in FHPythonUtils#9 (comment)
- Eg.
licensecheck --using requirements:c:/path/to/reqs.txt;path/to/other/reqs.txt
- Eg.
- Add
--ignore-packages
,--fail-packages
,--ignore-licenses
,--fail-licenses
, per FHPythonUtils#7 - Fix spelling
- Added a couple examples to the readme
- Added pylintrc to pyproject.toml
- Added ability to use requirements.txt per FHPythonUtils#6
- Code clean-up + refactoring
- Fix spelling
- packagecompat.py → types.py as this module holds types + typing info
- reformat
- improve docstrings
- Add PSFL to matrix.
- Tidied up
- Added
--zero/-0
flag to return non-zero exit code when an incompatible license is found
- Updated requirements
- Fallback to requirements.txt when poetry throws an error and direct the user to troubleshoot
- Improved support for GPL fans out there by detecting variants in a more granular manner. Fewer false -ves for said GPL variants. E.g. a dependency with GPL2 only will be flagged for a project using GPL3
- set stdout to utf-8
- fancy tables in simple and ansi formats
- dependencies bugfix
- First release