Bug 2298408

Summary: Please build python3.12-scons for epel8
Product: [Fedora] Fedora EPEL Reporter: Mark E. Fuller <mark.e.fuller>
Component: sconsAssignee: Antonio T. sagitter <trpost>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: moceap, trpost
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
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: 2298410    

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. :)