Bug 2097101 - python-nipy fails to build with the latest setuptools version
Summary: python-nipy fails to build with the latest setuptools version
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nipy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Raits
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2064842
TreeView+ depends on / blocked
 
Reported: 2022-06-14 21:51 UTC by Charalampos Stratakis
Modified: 2022-06-27 17:21 UTC (History)
3 users (show)

Fixed In Version: python-nipy-0.5.0-5.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-27 17:21:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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