Bug 2332605 - Needs rebuild agains numpy 2.x
Summary: Needs rebuild agains numpy 2.x
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-scikit-learn
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2326488
Blocks: NUMPY2 2332430
TreeView+ depends on / blocked
 
Reported: 2024-12-16 17:03 UTC by Gwyn Ciesla
Modified: 2024-12-20 08:35 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-12-20 08:35:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-scikit-learn pull-request 5 0 None None None 2024-12-19 01:11:57 UTC

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.


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