jnius/jnius_utils.pxi:323:37: undeclared name not builtin: long

41 views
Skip to first unread message

net...@virgilio.it

unread,
Aug 18, 2025, 8:42:47 PMAug 18
to Kivy users support
Hello at all.
I have never had problems buildings app with buildozer, but since this morning I am having this error:
"""""""""
   RAN: /usr/bin/python3 '-cimport sys; from Cython.Compiler.Main import setuptools_main; sys.exit(setuptools_main());' ./jnius/jnius.pyx

  STDOUT:
warning: jnius/jnius.pyx:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310

Error compiling Cython file:
------------------------------------------------------------
...
            score += 10
            continue

        if r == 'S' or r == 'I':
            if isinstance(arg, int) or (
                    (isinstance(arg, long) and arg < 2147483648)):
                                     ^
------------------------------------------------------------

jnius/jnius_utils.pxi:323:37: undeclared name not builtin: long

""""""""""

It seems that it is still the declaration of an integer varbiable as LONG instead of INT inside the jnius library. It is deprecated in python 3. Right? How can I solve?
Reply all
Reply to author
Forward
0 new messages