Some level of testing should be done for each Python package expression.
If the checkPhase reports there are no tests, it might be necessary to:
- If the tests are in a different directory than
tests/, tellpytestorpytestCheckHookwhere to find them. - If the upstream source code repository contains tests but they are not shipped with package on PyPI, switch to fetching from the repository (e.g. using
fetchFromGitHub) and open an issue upstream asking to ship tests in the PyPI packages (example). - If the package does not contain any tests, add
doCheck = false;with a comment that there are no tests, and apythonImportsCheckas a smoke test.