Drop RHEL 7 / CentOS 7 support and move to Python 3.8 minimum?

Andrew Bartlett abartlet at samba.org
Thu Aug 17 23:20:02 UTC 2023

I was reviewing patches recently when it was mentioned at
that addClassCleanup() would be a cleaner way to work.

We need to reduce our CI time, and one way to do that is to reuse
objects as much as possible, creating read-only objects once per class,
not per test.  

This is much cleaner if with the addCleanup() and addClassCleanup()
methods, so I would like to be able to do that.

To do that we need Python 3.8.  The primary blocker for this is the
CentOS 7 build which uses Python 3.6 from EPEL, and a newer Python is
not in that repo.

Centos 7 is already only working because of an externally maintained
GnuTLS package, not in any distribution similar. 

I propose that we drop the CentOS 7 CI build, also reducing our CI
count, and increase our python requirement to 3.8.

The other interesting feature, while not a major change, is the =
support in f-strings:

What do folks think?  I know CentOS 7 was for a while quite important
due to the changes in the RHEL clone landscape (CentOS stream etc), so
I'm keen to hear views.
Andrew Bartlett
Andrew Bartlett (he/him)       https://samba.org/~abartlet/Samba Team Member (since 2001) https://samba.orgSamba Team Lead                https://catalyst.net.nz/services/sambaCatalyst.Net Ltd
Proudly developing Samba for Catalyst.Net Ltd - a Catalyst IT group
Samba Development and Support: https://catalyst.net.nz/services/samba
Catalyst IT - Expert Open Source Solutions

More information about the samba-technical mailing list