Bug 2097101

Summary: python-nipy fails to build with the latest setuptools version
Product: [Fedora] Fedora Reporter: Charalampos Stratakis <cstratak>
Component: python-nipyAssignee: Igor Raits <igor.raits>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: igor.raits, lbalhar, neuro-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-nipy-0.5.0-5.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-27 17:21:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2064842    

Description Charalampos Stratakis 2022-06-14 21:51:34 UTC
python-nipy fails to build with the latest setuptools version.

This report is automated and not very verbose, but we'll try to get back here with details.

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/cstratak/setuptools-62.4.0-final/fedora-rawhide-x86_64/04533464-python-nipy/

For all our attempts to build python-nipy with the latest setuptools, see:
https://copr.fedorainfracloud.org/coprs/cstratak/setuptools-62.4.0-final/package/python-nipy/

Testing and rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with latest setuptools version:
https://copr.fedorainfracloud.org/coprs/cstratak/setuptools-62.4.0-final/

Let us know here if you have any questions.

Comment 1 Lumír Balhar 2022-06-22 08:50:19 UTC
Also, the package currently fails to build from source because it seems to be incompatible with Python 3.11, see the failure in Koschei: https://koschei.fedoraproject.org/package/python-nipy - it fails in %build so it's not possible to reproduce the problem with setuptools which is in %check on this line: https://src.fedoraproject.org/rpms/python-nipy/blob/rawhide/f/python-nipy.spec#_119

Comment 2 Lumír Balhar 2022-06-22 09:39:30 UTC
IIUC the core of the problem is that the sources generated by Cython upstream are not regenerated during the RPM build so they are outdated from Python 3.11 perspective even when Cython is able to generate code compatible with Python 3.11.

Comment 3 Charalampos Stratakis 2022-06-22 22:31:02 UTC
PR: https://src.fedoraproject.org/rpms/python-nipy/pull-request/4

Comment 4 Fedora Update System 2022-06-27 17:20:45 UTC
FEDORA-2022-7a2bc77d5e has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-7a2bc77d5e

Comment 5 Fedora Update System 2022-06-27 17:21:37 UTC
FEDORA-2022-7a2bc77d5e has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.