I noticed there are some packages that fail with a segmentation fault when build with Python 3.10. All of them are using Cython. This is a common bugzilla and I'll open a separate bugzilla for each package.
Propably let's try to rebuild Cython due to changed gcc settings maybe. In assumption as first attempt that could simply help to fix failing execution of some tests seen in referenced packages.
Please consider https://github.com/cython/cython/blob/master/runtests.py for %check.
(In reply to Raphael Groner from comment #1) > Propably let's try to rebuild Cython due to changed gcc settings maybe. In > assumption as first attempt that could simply help to fix failing execution > of some tests seen in referenced packages. I've tried to rebuilt Cython, but python-jnius fails with the same error. See: https://download.copr.fedorainfracloud.org/results/@python/python3.10/fedora-rawhide-x86_64/02080888-python-jnius/builder-live.log.gz
Note that currently Cython is not compiled on Python 3.10, we use the pure Python implementation. Hence rebuilding Cython has no possitive/negative side effects, it just copy-pastes Python files around.
Cython has multiple compatibility issues with Python 3.10. I created https://github.com/cython/cython/issues/4046 meta issue to track them all. I wrote 3 fixes to port Cython 0.29.x to Python 3.10: * https://github.com/cython/cython/pull/4042 * https://github.com/cython/cython/pull/4044 * https://github.com/cython/cython/pull/4045
Miro reported https://github.com/cython/cython/issues/4025 "[BUG] Cython 0.29.22 SIGSEGV with Python 3.10.0a6" upstream.
> Miro reported https://github.com/cython/cython/issues/4025 "[BUG] Cython 0.29.22 SIGSEGV with Python 3.10.0a6" upstream. It looks like a Python 3.10 regression in PyEval_EvalCodeEx(). I reported the issue to Python: https://bugs.python.org/issue43541
I'm building python3.10 in the Copr with https://github.com/python/cpython/pull/24918