Bug 2332605

Summary: Needs rebuild agains numpy 2.x
Product: [Fedora] Fedora Reporter: Gwyn Ciesla <gwync>
Component: python-scikit-learnAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: besser82, gui1ty, igor.raits, orion, sergio.pasra
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-20 08:35:39 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: 2326488    
Bug Blocks: 2332159, 2332430    

Description Gwyn Ciesla 2024-12-16 17:03:48 UTC
Tests in jsonpickle:

==================================== ERRORS ====================================
____________________ ERROR collecting tests/sklearn_test.py ____________________
tests/sklearn_test.py:5: in <module>
    import sklearn.datasets
/usr/lib64/python3.13/site-packages/sklearn/datasets/__init__.py:53: in <module>
    from ._twenty_newsgroups import fetch_20newsgroups, fetch_20newsgroups_vectorized
/usr/lib64/python3.13/site-packages/sklearn/datasets/_twenty_newsgroups.py:43: in <module>
    from ..feature_extraction.text import CountVectorizer
/usr/lib64/python3.13/site-packages/sklearn/feature_extraction/__init__.py:3: in <module>
    from . import text
/usr/lib64/python3.13/site-packages/sklearn/feature_extraction/text.py:31: in <module>
    from ._hash import FeatureHasher
/usr/lib64/python3.13/site-packages/sklearn/feature_extraction/_hash.py:12: in <module>
    from ._hashing_fast import transform as _hashing_transform
_hashing_fast.pyx:1: in init sklearn.feature_extraction._hashing_fast
    ???
E   ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
____________________ ERROR collecting tests/sklearn_test.py ____________________
tests/sklearn_test.py:5: in <module>
    import sklearn.datasets
/usr/lib64/python3.13/site-packages/sklearn/datasets/__init__.py:53: in <module>
    from ._twenty_newsgroups import fetch_20newsgroups, fetch_20newsgroups_vectorized
/usr/lib64/python3.13/site-packages/sklearn/datasets/_twenty_newsgroups.py:43: in <module>
    from ..feature_extraction.text import CountVectorizer
/usr/lib64/python3.13/site-packages/sklearn/feature_extraction/__init__.py:3: in <module>
    from . import text
/usr/lib64/python3.13/site-packages/sklearn/feature_extraction/text.py:31: in <module>
    from ._hash import FeatureHasher
/usr/lib64/python3.13/site-packages/sklearn/feature_extraction/_hash.py:12: in <module>
    from ._hashing_fast import transform as _hashing_transform
_hashing_fast.pyx:1: in init sklearn.feature_extraction._hashing_fast
    ???
E   ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
=========================== short test summary info ============================
ERROR tests/sklearn_test.py - ValueError: numpy.dtype size changed, may indic...
ERROR tests/sklearn_test.py - ValueError: numpy.dtype size changed, may indic...
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 2 errors in 2.54s ===============================


Reproducible: Always

Comment 1 Sandro 2024-12-16 18:31:40 UTC
Current version currently fails to build on aarch64.