You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just passing by facing the same/similar problem. The issue is that one of the dependencies: typed-ast, which is not maintained anymore [0] (the authors suggest moving to the builtin module ast), has this code in it:
#include "code.h"
According to what's new in Python 3.11 [1]:
The non-limited API files cellobject.h, classobject.h, code.h, context.h, funcobject.h, genobject.h and longintrepr.h have been moved to the Include/cpython directory. Moreover, the eval.h header file was removed. These files must not be included directly, as they are already included in Python.h: Include Files. If they have been included directly, consider including Python.h instead. (Contributed by Victor Stinner in bpo-35134.)
Porting m2r2 from typed-ast to builtin ast module is probably the best long term fix. In the meanwhile, just replacing the
#include "code.h"
with
#include <Python.h>
should do, but requires patching the source of the dependency...
Hello, Team!
I got an error when I try to run
pip install -r requirements-dev.txt
:ReqDevInstallDoesNotWork
Can you please support?
The text was updated successfully, but these errors were encountered: