New comment by skmpz on void-packages repository https://github.com/void-linux/void-packages/pull/29744#issuecomment-813020652 Comment: Tests for pyannotate are failing (they also need pip/wheel to run).. ``` ====================================================================== ERROR: test_annotate_json_py3 (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_annotate_json_py3 Traceback (most recent call last): File "/usr/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/builddir/pyannotate-1.2.0/pyannotate_tools/fixes/tests/test_annotate_json_py3.py", line 8, in from lib2to3.tests.test_fixers import FixerTestCase ModuleNotFoundError: No module named 'lib2to3.tests' ====================================================================== ERROR: test_annotate_py3 (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_annotate_py3 Traceback (most recent call last): File "/usr/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/builddir/pyannotate-1.2.0/pyannotate_tools/fixes/tests/test_annotate_py3.py", line 4, in from lib2to3.tests.test_fixers import FixerTestCase ModuleNotFoundError: No module named 'lib2to3.tests' ====================================================================== ERROR: test_annotate_py2 (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_annotate_py2 Traceback (most recent call last): File "/usr/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/builddir/pyannotate-1.2.0/pyannotate_tools/fixes/tests/test_annotate_py2.py", line 4, in from lib2to3.tests.test_fixers import FixerTestCase ModuleNotFoundError: No module named 'lib2to3.tests' ====================================================================== ERROR: test_annotate_json_py2 (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_annotate_json_py2 Traceback (most recent call last): File "/usr/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/builddir/pyannotate-1.2.0/pyannotate_tools/fixes/tests/test_annotate_json_py2.py", line 8, in from lib2to3.tests.test_fixers import FixerTestCase ModuleNotFoundError: No module named 'lib2to3.tests' ====================================================================== ERROR: pyannotate_tools.fixes.tests.test_annotate_json_py2 (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: pyannotate_tools.fixes.tests.test_annotate_json_py2 Traceback (most recent call last): File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/builddir/pyannotate-1.2.0/pyannotate_tools/fixes/tests/test_annotate_json_py2.py", line 8, in from lib2to3.tests.test_fixers import FixerTestCase ModuleNotFoundError: No module named 'lib2to3.tests' ====================================================================== ERROR: pyannotate_tools.fixes.tests.test_annotate_json_py3 (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: pyannotate_tools.fixes.tests.test_annotate_json_py3 Traceback (most recent call last): File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/builddir/pyannotate-1.2.0/pyannotate_tools/fixes/tests/test_annotate_json_py3.py", line 8, in from lib2to3.tests.test_fixers import FixerTestCase ModuleNotFoundError: No module named 'lib2to3.tests' ====================================================================== ERROR: pyannotate_tools.fixes.tests.test_annotate_py2 (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: pyannotate_tools.fixes.tests.test_annotate_py2 Traceback (most recent call last): File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/builddir/pyannotate-1.2.0/pyannotate_tools/fixes/tests/test_annotate_py2.py", line 4, in from lib2to3.tests.test_fixers import FixerTestCase ModuleNotFoundError: No module named 'lib2to3.tests' ====================================================================== ERROR: pyannotate_tools.fixes.tests.test_annotate_py3 (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: pyannotate_tools.fixes.tests.test_annotate_py3 Traceback (most recent call last): File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/builddir/pyannotate-1.2.0/pyannotate_tools/fixes/tests/test_annotate_py3.py", line 4, in from lib2to3.tests.test_fixers import FixerTestCase ModuleNotFoundError: No module named 'lib2to3.tests' ---------------------------------------------------------------------- Ran 86 tests in 0.063s FAILED (errors=8) Test failed: [52, 'foo,', 32] [52, 32] 52 1 tada 1 error: Test failed: => ERROR: python3-pyannotate-1.2.0_1: do_check: 'python3 setup.py ${make_check_target} ${make_check_args}' exited with 1 => ERROR: in do_check() at common/build-style/python3-module.sh:39 ```