lupa
lupa copied to clipboard
Cython error: Lua "undeclared name not builtin: long"
ArchLinux, Python 3.10, Cython 3.0.10 (0.29.36 didn't got accepted)
Error compiling Cython file:
------------------------------------------------------------
...
args = cpython.tuple.PyTuple_New(length)
lua.lua_pushnil(L) # nil (first key)
while lua.lua_next(L, -2): # key value
key = py_from_lua(runtime, L, -2)
value = py_from_lua(runtime, L, -1)
if isinstance(key, (int, long)) and not isinstance(key, bool):
^
------------------------------------------------------------
lupa/lua51.pyx:752:37: undeclared name not builtin: long
I don't have lua51 installed on my system; this is the bundled version.
PS: Building 1.14.1 against cython 0.29.36 works.
Try lupa 2.1.
My source file is lupa-2.1.tar.gz (sha256 d0fd4e60ad149fe25c90530e2a0e032a42a6f0455f29ca0edb8170d6ec751c6e) from https://gitlab.archlinux.org/archlinux/packaging/packages/python-lupa
But deviating from vanilla ArchLinux I'm using an older Python version