I have double and triple checked. There will be no python2 in RHEL9 in any form.
qt5-qtwebengine uses python2, heavily. It has a Fedora exception, because it is based off Chromium.
Although I don't know of any other KDE packages that require python2, there are many that require qt5-qtwebengine.
Any thoughts on what to do for epel9 / epel9-next ?
(EDITED by @ngompa: There will not be any python2 for F41+, so this needs to be addressed there too.)
I know one option might be to put python2 in epel9. But I believe that is beyond the scope of the kde-sig.
This is probably something we should sync with KDE upstream about, because this is going to be a problem for everybody.
Metadata Update from @ngompa: - Issue tagged with: meeting
So @tdawson will reach out to Adriaan de Groot on his patches to port the build dependency to Python 3.
Metadata Update from @ngompa: - Issue untagged with: meeting - Issue assigned to tdawson - Issue tagged with: pending-action
Metadata Update from @ngompa: - Issue set to the milestone: Red Hat Enterprise Linux 9.0
It looks like qt5-qtwebengine is the only package in the KDE Plasma Desktop that requires python2 to build. And none of them require python2 to run. After months of attempting to patch qt5-qtwebengine to build with python3, it was decided to use a bundled python binary to build it. I took the python2.7-2.7.18-19.fc6, turned off tkineter and doc building, then scratch compiled it in epel9. Then then bundled the corresponding source rpm, and binary rpms into the srpm, and used the binaries to build qt5-qtwebengine-5.15.8-3.el9.1.
Not an ideal solution, but it works, and there are no extra code patches for qtwebengine.
Note: qt6-qtwebengine-6.3 builds using python3.
Metadata Update from @tdawson: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
It looks like this has now been fixed, and we're going to need this fixed in Rawhide too.
This change needs to be backported if Qt hasn't made a QtWebEngine release with it already: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/542809
Metadata Update from @ngompa: - Issue set to the milestone: None (was: Red Hat Enterprise Linux 9.0) - Issue status updated to: Open (was: Closed)
Metadata Update from @ngompa: - Issue set to the milestone: Red Hat Enterprise Linux 9.5
I've adjusted this and the target for Fedora 41, since this is now a problem for everyone.
Metadata Update from @ngompa: - Issue set to the milestone: Fedora Linux 41 (was: Red Hat Enterprise Linux 9.5)
ping @jgrulich
Metadata Update from @timaeos: - Issue tagged with: meeting
Metadata Update from @timaeos: - Issue untagged with: meeting
Log in to comment on this ticket.