Bug 2332500 - netcdf4 needs to be rebuilt against NumPy 2.x
Summary: netcdf4 needs to be rebuilt against NumPy 2.x
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: netcdf4-python
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2332484
Blocks: NUMPY2
TreeView+ depends on / blocked
 
Reported: 2024-12-15 20:27 UTC by Sandro
Modified: 2024-12-15 23:40 UTC (History)
3 users (show)

Fixed In Version: netcdf4-python-1.7.2-2.fc42
Clone Of:
Environment:
Last Closed: 2024-12-15 23:40:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sandro 2024-12-15 20:27:50 UTC
Currently, importing netCDF4 results in:

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


Reproducible: Always

Comment 1 Sandro 2024-12-15 20:29:00 UTC
A simple bump and rebuild _after_ cftime has been rebuilt should fix it.

Comment 2 Fedora Update System 2024-12-15 23:37:26 UTC
FEDORA-2024-50e64ece19 (netcdf4-python-1.7.2-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-50e64ece19

Comment 3 Fedora Update System 2024-12-15 23:40:48 UTC
FEDORA-2024-50e64ece19 (netcdf4-python-1.7.2-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.