Skip to content

pyjnius: pin cython version #3151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2025
Merged

pyjnius: pin cython version #3151

merged 1 commit into from
May 12, 2025

Conversation

T-Dynamos
Copy link
Contributor

As pyjnius build fails on latest cython.

[1/1] Cythonizing jnius/jnius.pyx
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
Traceback (most recent call last):

@T-Dynamos
Copy link
Contributor Author

Ci fails because of #3150, which I will fix in following PR.

@clayote clayote merged commit 40993e3 into kivy:develop May 12, 2025
30 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants