RHEL 7 is now EOL, which means that no current distribution uses YUM anymore. This allows us to reduce our maintenance burden by removing this backend. Besides cleaning up tl-setup, it also means removing the last part that needs Python 2, which means further cleanups in the build system.
Python 2 doesn't build with a new gcc, so this blocks bug 8361. Doing now.
Our ancient mesa also uses Python 2. Upgrading to the lates Mesa is probably a lot of work (e.g. bug 4594). But hopefully, we can do a minor upgrade just to get Python 3 support.
I tested removing the YUM backend, and upgrading Mesa to 18.3.6. Everything seems to work nicely, both automatic package installation in tl-setup, and OpenGL in the session. Tested on RHEL 8, and Ubuntu 24.04.
Tested server build 4067 RHEL 8 and 9. Server installer worked as expected. Tested some WebGL demos [1], did not see any issues or difference in performance. Commits look good, could no longer find any references to "yum" in our code. [1] https://webglsamples.org/
Reopening as this caused issued with our jenkins TigerVNC builds.
False alarm. The TigerVNC build wasn't updated with the changes we did for the mesa build in bug 5241.
Mesa build is failing when Python 3 is being used.