Attempting to install dependencies with Poetry results in a build error for typed-ast (1.4.3). The error appears to be related to a missing code.h file during compilation.
Steps to Reproduce
Run poetry install on a project that includes typed-ast==1.4.3.
Encounter the following error during the installation of typed-ast:
Error Log
Backend subprocess exited when trying to invoke build_wheel
running bdist_wheel
running build
...
In file included from ast27/Custom/typed_ast.c:3:
ast27/Custom/../Include/compile.h:5:10: fatal error: code.h: No such file or directory
5 | #include "code.h"
| ^~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
Fixes?
Is there a recommended version or workaround to install it?
System Information
typed-ast
(version 1.4.3)Error Description
Attempting to install dependencies with Poetry results in a build error for
typed-ast
(1.4.3). The error appears to be related to a missingcode.h
file during compilation.Steps to Reproduce
poetry install
on a project that includestyped-ast==1.4.3
.typed-ast
:Error Log
Fixes?
Is there a recommended version or workaround to install it?
Thank you for your assistance!