Package: src:hy Version: 0.12.1-2 Severity: serious Tags: sid buster X-Debbugs-CC: debian...@lists.debian.org User: debian...@lists.debian.org Usertags: breaks needs-update
hy fails its tests with Python3.7: autopkgtest [02:33:32]: test nose3: [----------------------- nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module ..............................................................E...............................................................................................................................................E..........................................................................................................................................................................E.....................................................................Hy 1 ====================================================================== ERROR: NATIVE: test slicing sequence ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/autopkgtest.sX5wU3/build.3F6/src/hy/contrib/sequences.hy", line 47, in __iter__ (yield (get self index)) File "/tmp/autopkgtest.sX5wU3/build.3F6/src/hy/contrib/sequences.hy", line 41, in __getitem__ (.append (. self cache) (.func self (. self high-water)))) File "/tmp/autopkgtest.sX5wU3/build.3F6/src/tests/native_tests/contrib/sequences.hy", line 51, in _hy_anon_fn_5 [True (end-sequence)])) File "/tmp/autopkgtest.sX5wU3/build.3F6/src/hy/contrib/sequences.hy", line 79, in end_sequence (raise (IndexError "list index out of range"))) IndexError: list index out of range During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/autopkgtest.sX5wU3/build.3F6/src/hy/contrib/sequences.hy", line 50, in __iter__ (raise StopIteration)))) StopIteration The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/usr/lib/python3/dist-packages/nose/util.py", line 620, in newfunc return func(*arg, **kw) File "/tmp/autopkgtest.sX5wU3/build.3F6/src/tests/native_tests/contrib/sequences.hy", line 56, in test_slicing_sequence (assert (= (list (rest shorty)) RuntimeError: generator raised StopIteration ====================================================================== ERROR: NATIVE: testing the take-nth function ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/autopkgtest.sX5wU3/build.3F6/src/hy/core/language.hy", line 429, in _hy_anon_fn_68 (next citer)))) StopIteration The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/usr/lib/python3/dist-packages/nose/util.py", line 620, in newfunc return func(*arg, **kw) File "/tmp/autopkgtest.sX5wU3/build.3F6/src/tests/native_tests/core.hy", line 546, in test_take_nth (setv res (list (take-nth 2 [1 2 3 4 5 6 7]))) RuntimeError: generator raised StopIteration ====================================================================== ERROR: Test pyc compilation. ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/tmp/autopkgtest.sX5wU3/build.3F6/src/tests/importer/test_pyc.py", line 17, in test_pyc mod = imp.load_compiled('pyc', cfile) File "/usr/lib/python3.7/imp.py", line 191, in load_compiled module = _load(spec) File "<frozen importlib._bootstrap>", line 696, in _load File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 724, in exec_module File "<frozen importlib._bootstrap_external>", line 1005, in get_code File "<frozen importlib._bootstrap_external>", line 467, in _classify_pyc ImportError: invalid flags 1541385218 in 'pyc' ---------------------------------------------------------------------- Ran 447 tests in 53.975s FAILED (errors=3)