Bug 2336965

Summary: python-sep: FTBFS in Fedora Rawhide: Error compiling Cython file: 'int_t' is not a type identifier
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-sepAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: sergio.pasra
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/python-sep
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 09:36:07 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: 2300528, 2322407, 2332159    

Description Karolina Surma 2025-01-10 16:15:25 UTC
Description of problem:
Package python-sep fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
1.2.1-11.fc41

Steps to Reproduce:
koji build --scratch f42 python-sep-1.2.1-11.fc41.src.rpm

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

Reproducible: Always

Actual Results:  
Multiple times:

+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP'
/usr/lib64/python3.13/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /builddir/build/BUILD/python-sep-1.2.1-build/sep-1.2.1/sep.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
# Source Extraction
# This needs to match the result from extract
cdef packed struct Object:
    np.float64_t thresh
    np.int_t npix
    ^
------------------------------------------------------------
sep.pyx:555:4: 'int_t' is not a type identifier


This has started to happen since update to numpy 2.