ansible-middleware/keycloak

Using collection as dependency in Execution Environment with RHEL9 fails (python39-devel)

JoelKle opened this issue · 0 comments

SUMMARY

With Ansible Automation Platform release 4.4 new Execution Environments have been released. These EEs are based on RHEL9.

registry.redhat.io/ansible-automation-platform-24/ee-minimal-rhel9:latest
registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel9:latest

The build of a custom execution environment with the tool ansible-builder, the above mentioned RHEL9 based base EE images and this collections as dependency fails.

Error from ansible-builder:

[3/4] STEP 13/14: RUN $PYCMD /output/scripts/introspect.py introspect --sanitize --user-pip=requirements.txt --user-bindep=bindep.txt --write-bindep=/tmp/src/bindep.txt --write-pip=/tmp/src/requirements.txt
...
- 'python39-devel [platform:rpm compile]  # from collection redhat.sso'
...
+ /usr/bin/microdnf install -y --nodocs --setopt install_weak_deps=0 bind-utils cryptsetup dnf gcc hostname krb5-devel libssh-devel nmap-ncat openldap-devel python3-Cython python3-devel python39-devel unzip
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
error: No package matches 'python39-devel'
ISSUE TYPE
  • Bug Report
ANSIBLE VERSION
core 2.15.0
COLLECTION VERSION
redhat.sso v1.2.7