with Foreman 3.4 dropping Debian 10 support (see Deprecation plans for Foreman on EL7, Debian 10 and Ubuntu 18.04), we’ll end up with all supported platforms running with Ruby 2.7.
Therefor I’d like to also deprecate Ruby 2.5 support in Foreman altogether, and remove it in 3.4.
This would mean less time spent in CI (at least as long we don’t add Ruby 3.0 in the future), and fewer obscure Ruby bugs (like https://bugs.ruby-lang.org/issues/14373).
The only downside that I could see is that this would mean we’d need to bump the “start” version of our upgrade tests. They currently start at Foreman 1.21 with Ruby 2.5, but I am not sure that version supports 2.7 too. Foreman 2.5 certainly does, as that’s the version we switched to 2.7 by default on EL7 and introduced Ubuntu 20.04 Focal.
I have opened a PR against the 3.3 release notes to express this: