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

Fixed In Version: python-cftime-1.6.4-3.fc42
Clone Of:
Environment:
Last Closed: 2024-12-15 23:40:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sandro 2024-12-15 15:33:22 UTC
Currently importing cftime results in:

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

A bump and rebuild should fix that.


Reproducible: Always


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