Bug 2333018

Summary: cantera needs to be rebuilt against NumPy 2.x
Product: [Fedora] Fedora Reporter: Sandro <gui1ty>
Component: canteraAssignee: Mark E. Fuller <mark.e.fuller>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: mark.e.fuller, stuart
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: cantera-3.1.0-1.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-18 20:12:01 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-18 14:27:30 UTC
Currently, importing cantera results in:

>>> import cantera
Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    import cantera
  File "/usr/lib64/python3.13/site-packages/cantera/__init__.py", line 4, in <module>
    from ._cantera import *
  File "build/python/cantera/_cantera.pyx", line 33, in init cantera._cantera
  File "build/python/cantera/_utils.pyx", line 1, in init cantera._utils
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. Alternatively, update to the latest release (bug 2332627).

Reproducible: Always

Comment 1 Fedora Update System 2024-12-18 18:39:02 UTC
FEDORA-2024-c377c9b45d (cantera-3.0.1-8.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c377c9b45d

Comment 2 Fedora Update System 2024-12-18 19:59:12 UTC
FEDORA-2024-8b0b751405 (cantera-3.1.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8b0b751405

Comment 3 Fedora Update System 2024-12-18 20:12:01 UTC
FEDORA-2024-8b0b751405 (cantera-3.1.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.