Bug 2264231 - cantera fails to build with Python 3.13: Error loading Python extension support (no Python 3.13 listed)
Summary: cantera fails to build with Python 3.13: Error loading Python extension suppo...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cantera
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mark E. Fuller
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-02-14 17:17 UTC by Karolina Surma
Modified: 2024-03-31 14:46 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-03-31 14:46:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2024-02-14 17:17:04 UTC
cantera fails to build with Python 3.13.0a3.
It looks like there needs to be Python 3.13 added to some configuration.


[ RUN      ] Reaction.PythonExtensibleRate
unknown file: Failure
C++ exception with description "
*******************************************************************************
CanteraError thrown by Application::loadExtension:
Error loading Python extension support. Tried the following:
Python 3.12: boost::dll::shared_library::load() failed (dlerror system message: cantera_python3_12: cannot open shared object file: No such file or directory): Bad file descriptor

Python 3.11: boost::dll::shared_library::load() failed (dlerror system message: cantera_python3_11: cannot open shared object file: No such file or directory): Bad file descriptor

Python 3.10: boost::dll::shared_library::load() failed (dlerror system message: cantera_python3_10: cannot open shared object file: No such file or directory): Bad file descriptor

Python 3.9: boost::dll::shared_library::load() failed (dlerror system message: cantera_python3_9: cannot open shared object file: No such file or directory): Bad file descriptor

Python 3.8: boost::dll::shared_library::load() failed (dlerror system message: cantera_python3_8: cannot open shared object file: No such file or directory): Bad file descriptor
*******************************************************************************
" thrown in the test body.



https://docs.python.org/3.13/whatsnew/3.13.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/07016128-cantera/

For all our attempts to build cantera with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/cantera/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.


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