Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Ansible Molecule unit tests #44

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Fix Ansible Molecule unit tests #44

merged 1 commit into from
Aug 30, 2024

Conversation

sleighzy
Copy link
Owner

Remove Rocky Linux and use RedHat 9 due to breaking Ansible core and Python changes

The ansible-core 2.17 release has dropped support for Python 3.6, which is the default in Rocky Linux (as it is an EL8 platform).
This leads to the "future feature annotations is not defined" error when gathering facts or installing packages.
Installing Python 3.9 also does not work as the issue lies in /usr/libexec/platform-python which is version 3.6,
and is the "system" python which is used for installing modules using dnf or yum.

To resolve this issue the testing containers have been updated to use RedHat 9.

…Python changes

The ansible-core 2.17 release has dropped support for Python 3.6, which is the default in Rocky Linux (as it is an EL8 platform).
This leads to the "future feature annotations is not defined" error when gathering facts or installing packages.
Installing Python 3.9 also does not work as the issue lies in /usr/libexec/platform-python which is version 3.6,
and is the "system" python which is used for installing modules using dnf or yum.

To resolve this issue the testing containers have been updated to use RedHat 9.
@sleighzy sleighzy merged commit b6da285 into master Aug 30, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant