Bug 2333778 - mlpack needs to be rebuilt against NumPy 2.x
Summary: mlpack needs to be rebuilt against NumPy 2.x
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mlpack
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ryan Curtin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: NUMPY2
TreeView+ depends on / blocked
 
Reported: 2024-12-22 20:39 UTC by Sandro
Modified: 2024-12-23 03:07 UTC (History)
2 users (show)

Fixed In Version: mlpack-4.5.0-2.fc42
Clone Of:
Environment:
Last Closed: 2024-12-23 03:07:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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