Description of problem: It looks like the Cython available in rawhide python3-Cython 0.29.22-3.fc35 does not contain some bugfixes from the upstream https://github.com/cython/cython/pull/3921 and uses `_PyGen_Send` in the generated code for the newest python3 3.10.0~b4-1.fc35 How reproducible: Always Some build logs from copr: https://download.copr.fedorainfracloud.org/results/averbyts/HEPrpms/fedora-rawhide-x86_64/02329289-YODA/builder-live.log.gz
python3-Cython 0.29.22-3.fc35 includes fixes in https://github.com/cython/cython/pull/3921 I've just verified that.
I've added to %prep: rm $(grep -Flr '/* Generated by Cython') And running a sratchbuild: https://koji.fedoraproject.org/koji/taskinfo?taskID=71870424
It built fine. It only fails when it uses pre-generated sources. See also https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_packages_using_cython
Thank you! Python packaging guidelines: yes, I know that and the package should re-generate the bindings once the Cython was detected. If that did not happen -- that is a bug, but in the package, in Cython. Thank you once again! Andrii