Bug 2377043 - python-jnius fails to build with Cython 3.1.2
Summary: python-jnius fails to build with Cython 3.1.2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jnius
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2377824 2365167
TreeView+ depends on / blocked
 
Reported: 2025-07-08 03:12 UTC by Charalampos Stratakis
Modified: 2025-08-07 00:22 UTC (History)
2 users (show)

Fixed In Version: python-jnius-1.6.1-10.fc43
Clone Of:
Environment:
Last Closed: 2025-08-07 00:22:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-jnius pull-request 3 0 None None None 2025-08-05 05:39:40 UTC
Github cython cython pull 5830 0 None Merged Map Python "int" type to PyLong. 2025-07-26 18:33:29 UTC

Description Charalampos Stratakis 2025-07-08 03:12:43 UTC
Hello,

We are planning to update Cython from 3.0.12 to 3.1.2 in Rawhide.

However python-jnius fails to build with the latest Cython version.

You can inspect the build failures at https://copr.fedorainfracloud.org/coprs/cstratak/Cython-3.1.2/package/python-jnius/

Let us know here if you have any questions.

We'd appreciate help from the people who know this package best, but if you don't want
to work on this now, let us know so we can try to work around it on our side.

Comment 1 Charalampos Stratakis 2025-07-12 01:06:39 UTC
jnius/jnius_utils.pxi:323:37: undeclared name not builtin: long

Upstream Cython change relevant to the failures: https://github.com/cython/cython/pull/5830

Basically "long" should be replaced by "int".

Comment 2 Raphael Groner 2025-07-26 18:33:29 UTC
> Basically "long" should be replaced by "int".

Patches welcome, pull request recommended.

Comment 3 Charalampos Stratakis 2025-08-04 22:25:58 UTC
PR: https://src.fedoraproject.org/rpms/python-jnius/pull-request/3

Comment 4 Raphael Groner 2025-08-05 05:38:54 UTC
Thanks. PR is merged.

Comment 5 Fedora Update System 2025-08-06 23:49:14 UTC
FEDORA-2025-85b397c1b1 (python-jnius-1.6.1-10.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-85b397c1b1

Comment 6 Fedora Update System 2025-08-07 00:22:38 UTC
FEDORA-2025-85b397c1b1 (python-jnius-1.6.1-10.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.