Bug 2333496

Summary: python-nipy: FTBFS in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Sandro <gui1ty>
Component: python-nipyAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: igor.raits, neuro-sig, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/python-nipy
Whiteboard:
Fixed In Version: python-nipy-0.6.1-3.fc42 python-nipy-0.6.1-3.fc41 python-nipy-0.6.1-3.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-21 13:37:52 UTC Type: ---
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: 2332159    

Description Sandro 2024-12-20 13:18:39 UTC
Description of problem:
Package python-nipy fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
0.6.1-1.fc42

Steps to Reproduce:
koji build --scratch f42 python-nipy-0.6.1-1.fc42.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-nipy

Reproducible: Always

Actual Results:  

[9/63] Generating 'nipy/algorithms/graph/_graph.cpython-313-x86_64-linux-gnu.so.p/_graph.c'
FAILED: nipy/algorithms/graph/_graph.cpython-313-x86_64-linux-gnu.so.p/_graph.c
/builddir/build/BUILD/python-nipy-0.6.1-build/nipy-0.6.0/nipy/_build_utils/cythoner.py ../nipy/algorithms/graph/_graph.pyx nipy/algorithms/graph/_graph.cpython-313-x86_64-linux-gnu.so.p/_graph.c
Error compiling Cython file:
------------------------------------------------------------
...
import numpy as np
cimport numpy as np
cimport cython
ctypedef np.float64_t DOUBLE
ctypedef np.int_t INT
         ^
------------------------------------------------------------
/builddir/build/BUILD/python-nipy-0.6.1-build/nipy-0.6.0/nipy/algorithms/graph/_graph.pyx:5:9: 'int_t' is not a type identifier
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-nipy-0.6.1-build/nipy-0.6.0/nipy/_build_utils/cythoner.py", line 37, in <module>
    main()
    ~~~~^^
  File "/builddir/build/BUILD/python-nipy-0.6.1-build/nipy-0.6.0/nipy/_build_utils/cythoner.py", line 20, in main
    sbp.run(
    ~~~~~~~^
        [
        ^
    ...<10 lines>...
        check=True,
        ^^^^^^^^^^^
    )
    ^
  File "/usr/lib64/python3.13/subprocess.py", line 577, in run
    raise CalledProcessError(retcode, process.args,
                             output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['cython', '-3', '--fast-fail', '--output-file', '/builddir/build/BUILD/python-nipy-0.6.1-build/nipy-0.6.0/.mesonpy-11n2xx_m/nipy/algorithms/graph/_graph.cpython-313-x86_64-linux-gnu.so.p/_graph.c', '--include-dir', '/builddir/build/BUILD/python-nipy-0.6.1-build/nipy-0.6.0/.mesonpy-11n2xx_m', '/builddir/build/BUILD/python-nipy-0.6.1-build/nipy-0.6.0/nipy/algorithms/graph/_graph.pyx']' returned non-zero exit status 1.

Comment 1 Fedora Update System 2024-12-21 13:34:22 UTC
FEDORA-2024-26cf3ad95d (python-nipy-0.6.1-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-26cf3ad95d

Comment 2 Fedora Update System 2024-12-21 13:37:52 UTC
FEDORA-2024-26cf3ad95d (python-nipy-0.6.1-3.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2024-12-21 13:39:10 UTC
FEDORA-2024-b89c686e2f (python-nipy-0.6.1-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b89c686e2f

Comment 4 Fedora Update System 2024-12-22 02:29:22 UTC
FEDORA-2024-7f71b9d817 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-7f71b9d817`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7f71b9d817

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-12-22 04:40:06 UTC
FEDORA-2024-b89c686e2f has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b89c686e2f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b89c686e2f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-12-30 02:11:30 UTC
FEDORA-2024-b89c686e2f (python-nipy-0.6.1-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-12-30 02:25:33 UTC
FEDORA-2024-7f71b9d817 (python-nipy-0.6.1-3.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.