Hide Forgot
jpype fails to build with Python 3.10.0a2. native/common/jp_exception.cpp: In function ‘PyTracebackObject* tb_create(PyTracebackObject*, PyObject*, const char*, const char*, int)’: native/common/jp_exception.cpp:492:9: error: ‘PyFrameObject’ {aka ‘struct _frame’} has no member named ‘f_executing’ 492 | frame->f_executing = 0; | ^~~~~~~~~~~ native/common/jp_exception.cpp:501:9: error: ‘PyFrameObject’ {aka ‘struct _frame’} has no member named ‘f_stacktop’; did you mean ‘f_stackdepth’? 501 | frame->f_stacktop = NULL; | ^~~~~~~~~~ | f_stackdepth error: command '/usr/bin/gcc' failed with exit code 1 For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01772938-jpype/ For all our attempts to build jpype with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/jpype/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. 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.
Thanks for the report. Is that upstream bug related? https://bugs.python.org/issue40421 I'm going to reproduce with new version 1.1.2, see bug #1890022.
This bug seems fixed with new version 1.2.1 but execution of tests fail due to a pytest error, see bug #1890022.
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.