Bug 2332766

Summary: rasterio needs to be rebuilt against NumPy 2.x
Product: [Fedora] Fedora Reporter: Sandro <gui1ty>
Component: python-rasterioAssignee: Elliott Sales de Andrade <quantum.analyst>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: epel-packagers-sig, jonathan, python-packagers-sig, quantum.analyst
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: python-rasterio-1.4.3-2.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-17 23:49:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2332159    

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.