Bug 2332766 - rasterio needs to be rebuilt against NumPy 2.x
Summary: rasterio needs to be rebuilt against NumPy 2.x
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-rasterio
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: NUMPY2
TreeView+ depends on / blocked
 
Reported: 2024-12-17 09:56 UTC by Sandro
Modified: 2024-12-17 23:49 UTC (History)
4 users (show)

Fixed In Version: python-rasterio-1.4.3-2.fc42
Clone Of:
Environment:
Last Closed: 2024-12-17 23:49:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sandro 2024-12-17 09:56:09 UTC
Currently importing raterio results in:

>>> import rasterio
Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    import rasterio
  File "/usr/lib64/python3.13/site-packages/rasterio/__init__.py", line 26, in <module>
    from rasterio._io import Statistics
  File "rasterio/_io.pyx", line 1, in init rasterio._io
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-17 23:46:47 UTC
FEDORA-2024-32347bee9c (python-rasterio-1.4.3-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-32347bee9c

Comment 2 Fedora Update System 2024-12-17 23:49:49 UTC
FEDORA-2024-32347bee9c (python-rasterio-1.4.3-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.