Re: NumPy 2.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14-12-2024 20:12, Miro Hrončok wrote:
On 14. 12. 24 11:35, Sandro wrote:
On 12-12-2024 21:07, Gwyn Ciesla via devel wrote:
I hadn't, but that's a good idea.  Here you are.

https://bugzilla.redhat.com/show_bug.cgi?id=2332159

Thanks. I saw a handful of FTBFS/FTI bugs filed by a script[1]. Obviously that's just the tip of the iceberg and many more packages started to fail when NumPy was updated.

Seems liek no dependent packages were rebuilt. And some of them might need it.

I think that needs to be done for all packages using the C API as was mentioned in the change proposal. For example, importing h5py throws the following error:

>>> import h5py
Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    import h5py
File "/usr/lib64/python3.13/site-packages/h5py/__init__.py", line 45, in <module>
    from ._conv import register_converters as _register_converters, \
                       unregister_converters as _unregister_converters
  File "h5py/_conv.pyx", line 1, in init h5py._conv
  File "h5py/h5r.pyx", line 1, in init h5py.h5r
  File "h5py/h5p.pyx", line 1, in init h5py.h5p
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

I've seen very similar error messages from modules using NumPy's C API, usually showing up when some test imports them.

Probably those should have been rebuilt as part of the NumPy update. I can spent some time filing bugs manually tomorrow, unless someone has a better idea.

-- Sandro

--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux