Description
As requested by @reactive-firewall, we need to explore and properly design changes suggested in PR #184.
Summary findings:
- It seems overly complex to require the
python packaging
module to check dependencies, which includespackaging
itself, leading to a circular dependency issue. Consider the AHA principle. - It may violate the Single Responsibility Principle. The tool is checking licenses (a kind of metadata) and known security advisories (another kind of metadata) of Python dependencies; in our Python tests elsewhere (see
tests/test_install_requires.py
andtests/test_deps.py
), we test other aspects of our dependencies, including checks with the Python packaging module already. Consider the Single Responsibility Principle. - Complex work belongs on separate development branches to isolate issues. Consider the Open/Closed Principle.
References: