ansible / awx-ee

An Ansible execution environment for AWX project
https://quay.io/ansible/awx-ee
Other
129 stars 151 forks source link

Switch to `centos:stream9-minimal` and `python3.11` #246

Open austlane opened 1 month ago

austlane commented 1 month ago

This is another take on https://github.com/ansible/awx-ee/pull/207 and https://github.com/ansible/awx-ee/pull/244

This PR switches the base image to centos:stream9-minimal which uses microdnf and does not bundle Python3.9, allowing us to ship a final image without Python 3.9 installed at all.

Also removes subversion, as it hard-depends upon python3.9, no love lost.


Currently this PR relies upon https://github.com/ansible/ansible-builder/pull/664 which enables dependency exclusions, allowing overrides of bindep.txt dependencies directly inherited from collections.

This PR will be marked as a Draft until https://github.com/ansible/ansible-builder/pull/664 is merged.

EDIT: https://github.com/ansible/ansible-builder/pull/664 has been merged. This PR is ready for review.

TheRealHaoLiu commented 1 month ago

@austlane this is awesome, is this PR ready?

austlane commented 1 month ago

@austlane this is awesome, is this PR ready?

This PR works as-is 👍 But I'd imagine it shouldn't be merged until ansible/ansible-builder#664 is merged into ansible-builder, depending directly on a PR seems hacky. I'll rebase when it's merged and remove my changes to requirements.txt.