Package: hy Version: 0.11.0-4 Severity: grave Justification: renders package unusable
Dear Maintainer, Since python3.5 recently became the default python3 in Debian sid, hy3 no longer works. Running most hy3 commands, whether in the REPL or calling a script, now leads to compiler errors. For example: hy3 -c "(+ 3 2)" Results in: Traceback (most recent call last): File "/usr/bin/hy3", line 9, in <module> load_entry_point('hy==0.11.0', 'console_scripts', 'hy')() File "/usr/lib/python3/dist-packages/hy/cmdline.py", line 347, in hy_main sys.exit(cmdline_handler("hy", sys.argv)) File "/usr/lib/python3/dist-packages/hy/cmdline.py", line 317, in cmdline_handler return run_command(options.command) File "/usr/lib/python3/dist-packages/hy/cmdline.py", line 184, in run_command import_buffer_to_module("__main__", source) File "/usr/lib/python3/dist-packages/hy/importer.py", line 93, in import_buffer_to_module _ast = import_buffer_to_ast(buf, module_name) File "/usr/lib/python3/dist-packages/hy/importer.py", line 62, in import_buffer_to_ast return hy_compile(import_buffer_to_hst(buf), module_name) File "/usr/lib/python3/dist-packages/hy/compiler.py", line 2278, in hy_compile compiler = HyASTCompiler(module_name) File "/usr/lib/python3/dist-packages/hy/compiler.py", line 378, in __init__ load_stdlib() File "/usr/lib/python3/dist-packages/hy/compiler.py", line 73, in load_stdlib mod = importlib.import_module(module) File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible File "/usr/lib/python3/dist-packages/hy/importer.py", line 180, in load_module self.path) File "/usr/lib/python3/dist-packages/hy/importer.py", line 75, in import_file_to_module _ast = import_file_to_ast(fpath, module_name) File "/usr/lib/python3/dist-packages/hy/importer.py", line 67, in import_file_to_ast return hy_compile(import_file_to_hst(fpath), module_name) File "/usr/lib/python3/dist-packages/hy/compiler.py", line 2279, in hy_compile result = compiler.compile(tree) File "/usr/lib/python3/dist-packages/hy/compiler.py", line 428, in compile ret = self.compile_atom(_type, tree) File "/usr/lib/python3/dist-packages/hy/compiler.py", line 420, in compile_atom ret = _compile_table[atom_type](self, atom) File "/usr/lib/python3/dist-packages/hy/compiler.py", line 596, in compile_raw_list ret = self._compile_branch(entries) File "/usr/lib/python3/dist-packages/hy/compiler.py", line 483, in _compile_branch return _branch(self.compile(expr) for expr in exprs) File "/usr/lib/python3/dist-packages/hy/compiler.py", line 313, in _branch results = list(results) File "/usr/lib/python3/dist-packages/hy/compiler.py", line 483, in <genexpr> return _branch(self.compile(expr) for expr in exprs) File "/usr/lib/python3/dist-packages/hy/compiler.py", line 440, in compile raise_empty(HyCompileError, e, sys.exc_info()[2]) File "<string>", line 1, in raise_empty hy.errors.HyCompileError: Internal Compiler Bug 😱 ⤷ TypeError: required field "lineno" missing from arg Compilation traceback: File "/usr/lib/python3/dist-packages/hy/compiler.py", line 428, in compile ret = self.compile_atom(_type, tree) File "/usr/lib/python3/dist-packages/hy/compiler.py", line 420, in compile_atom ret = _compile_table[atom_type](self, atom) File "/usr/lib/python3/dist-packages/hy/compiler.py", line 1767, in compile_expression expression = macroexpand(expression, self.module_name) File "/usr/lib/python3/dist-packages/hy/macros.py", line 170, in macroexpand load_macros(module_name) File "/usr/lib/python3/dist-packages/hy/macros.py", line 154, in load_macros _import(module) File "/usr/lib/python3/dist-packages/hy/macros.py", line 151, in _import __import__(module) File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible File "/usr/lib/python3/dist-packages/hy/importer.py", line 180, in load_module self.path) File "/usr/lib/python3/dist-packages/hy/importer.py", line 78, in import_file_to_module eval(ast_compile(_ast, fpath, "exec"), mod.__dict__) File "/usr/lib/python3/dist-packages/hy/importer.py", line 43, in ast_compile return compile(ast, filename, mode, flags) Thank you very much, and best regards. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.3.0-1-amd64 (SMP w/3 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages hy depends on: ii python3-hy 0.11.0-4 hy recommends no packages. hy suggests no packages. -- no debconf information