EE/usr/lib/python3.10/site-packages/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release warnings.warn( /usr/lib/python3.10/site-packages/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release warnings.warn( E.. ====================================================================== ERROR: test_dkimvalidityfilter (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_dkimvalidityfilter Traceback (most recent call last): File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/build/afew/src/afew-3.0.1/afew/tests/test_dkimvalidityfilter.py", line 10, in from afew.Database import Database File "/build/afew/src/afew-3.0.1/afew/Database.py", line 8, in import notmuch ModuleNotFoundError: No module named 'notmuch' ====================================================================== ERROR: test_mailmover (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_mailmover Traceback (most recent call last): File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/build/afew/src/afew-3.0.1/afew/tests/test_mailmover.py", line 7, in import notmuch ModuleNotFoundError: No module named 'notmuch' ====================================================================== ERROR: test_add_FilterRegistry (test_settings.TestFilterRegistry) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/afew/src/afew-3.0.1/afew/tests/test_settings.py", line 29, in test_add_FilterRegistry FilterRegistry.all_filters['test'] = 'class' File "/build/afew/src/afew-3.0.1/afew/FilterRegistry.py", line 39, in __setitem__ self.filter[key] = value File "/build/afew/src/afew-3.0.1/afew/FilterRegistry.py", line 26, in filter self._filter[f.name] = f.load() File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2454, in load self.require(*args, **kwargs) File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2477, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 777, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'notmuch' distribution was not found and is required by the application During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build/afew/src/afew-3.0.1/afew/tests/test_settings.py", line 32, in test_add_FilterRegistry del FilterRegistry.all_filters['test'] File "/build/afew/src/afew-3.0.1/afew/FilterRegistry.py", line 42, in __delitem__ del self.filter[key] KeyError: 'test' ---------------------------------------------------------------------- Ran 5 tests in 0.529s FAILED (errors=3) ==> ERROR: A failure occurred in check().  Aborting...