Bug 2333778

Summary: mlpack needs to be rebuilt against NumPy 2.x
Product: [Fedora] Fedora Reporter: Sandro <gui1ty>
Component: mlpackAssignee: Ryan Curtin <ryan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: benson_muite, ryan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: mlpack-4.5.0-2.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-23 03:07:56 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-22 20:39:39 UTC
Currently, importing mlpack results in:

>>> import mlpack
Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    import mlpack
  File "/usr/lib64/python3.13/site-packages/mlpack/__init__.py", line 13, in <module>
    from .approx_kfn import approx_kfn
  File "mlpack/approx_kfn.pyx", line 1, in init mlpack.approx_kfn
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

A simple bump and rebuild should fix that.

Reproducible: Always

Comment 1 Fedora Update System 2024-12-23 02:41:32 UTC
FEDORA-2024-0b4d5d3fe8 (mlpack-4.5.0-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-0b4d5d3fe8

Comment 2 Fedora Update System 2024-12-23 03:07:56 UTC
FEDORA-2024-0b4d5d3fe8 (mlpack-4.5.0-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.