Upgrade Ansible to maximum allowed version on oldest supported OS distributions#4139
Merged
Merged
Conversation
3eb1188 to
a8fc8c0
Compare
cdunbar13
reviewed
May 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements an in-place upgrade of Ansible after support for CentOS 7 was dropped in #4138. When reviewing our supported operating systems, the minimum Python we must support is Python 3.8 from Ubuntu 20.04. This imposes a set of version limits which can be summarized as:
Ubuntu 20.04 itself will be EOL in 2 weeks on 30 May 2025. The a3-highgpu-8g solution still has dependencies upon Ubuntu 20.04, however, so we cannot immediately drop support for it. Once we transition the A3 High solution to a new OS, our new limit will be imposed by Debian 11 (Python 3.9).
To obtain support for Python 3.8 and above, we must install a newer version of Python in Rocky Linux 8 which includes Python 3.6 in a base installation. Rocky Linux 9 includes Python 3.9 by default, which should suffice, however this PR makes the affirmative choice to update Rocky Linux 8 and 9 to include Python 3.12 but retain Python 3.6 and 3.9 (respectively) as the default Python 3 interpeter for users. The reasoning behind this:
Submission Checklist
NOTE: Community submissions can take up to 2 weeks to be reviewed.
Please take the following actions before submitting this pull request.