Bug 2298408 - Please build python3.12-scons for epel8
Summary: Please build python3.12-scons for epel8
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: scons
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Antonio T. sagitter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2298410
TreeView+ depends on / blocked
 
Reported: 2024-07-17 07:03 UTC by Mark E. Fuller
Modified: 2024-10-11 17:42 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHEL-49963 0 None None None 2024-07-21 19:58:38 UTC

Description Mark E. Fuller 2024-07-17 07:03:48 UTC
Description of problem:

Cantera on epel8 requires an upgrade to v2.6.0
In order to do so, it needs to be built with python>3.6
scons is required for the build, but is not available as built against python3.12

Version-Release number of selected component (if applicable):

python3.12-scons

Comment 1 Antonio T. sagitter 2024-07-17 19:30:23 UTC
SCons already exists in Cent0S 8; or no longer?

Comment 2 Mark E. Fuller 2024-07-18 08:22:02 UTC
scons is present, however a python3.12 build is not

when I try to build with python3-scons, I get the following error:

"""
scons: Reading SConscript files ...
ERROR: Cantera must be built using Python 3.7 or higher; Python 3.6 is not supported.
"""

For Python packages, I have the following in my spec file:

"""
%global __python3 /usr/bin/python3.12
%global python3_pkgversion 3.12
...
BuildRequires:  python%{python3_pkgversion}-Cython
BuildRequires:  python%{python3_pkgversion}-devel
BuildRequires:  python%{python3_pkgversion}-numpy
BuildRequires:  python%{python3_pkgversion}-pip
BuildRequires:  python%{python3_pkgversion}-pytest
BuildRequires:  python3-ruamel-yaml
BuildRequires:  python3-scons
BuildRequires:  python%{python3_pkgversion}-wheel
"""

(Both python3-ruamel-yaml and python3-scons don't have 3.12 versions available)

It's entirely possible that the error is actually in my spec file, but I was reading the above as being indicative of scons being associated with python3.6 and needing to be replaced with a 3.12 build

Thanks

Comment 3 Antonio T. sagitter 2024-07-20 07:35:15 UTC
(In reply to Mark E. Fuller from comment #2)
> scons is present, however a python3.12 build is not
> 

It is not an EPEL package however.
https://discussion.fedoraproject.org/t/126339

Comment 4 Antonio T. sagitter 2024-07-21 18:12:50 UTC
Can you open a ticket in Red Hat’s JIRA?

Comment 5 Mark E. Fuller 2024-07-21 19:52:02 UTC
Issue opened at https://issues.redhat.com/browse/RHEL-49963

Comment 6 Antonio T. sagitter 2024-10-11 17:42:00 UTC
Is it really needed build Cantera in a no longer supported CentOS8 system?
I think we can focus on EPEL9+ packages. :)


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