Skip to content

Commit

Permalink
Merge pull request #207 from austlane/python3.11
Browse files Browse the repository at this point in the history
Update `python_interpreter` to 3.11
  • Loading branch information
jessicamack authored Aug 16, 2024
2 parents 00fe06c + 21795b9 commit ed26cac
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions execution-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ images:
base_image:
name: quay.io/centos/centos:stream9
dependencies:
python_interpreter:
package_system: python3.11
python_path: /usr/bin/python3.11
ansible_core:
# Require minimum of 2.15 to get ansible-inventory --limit option
package_pip: ansible-core>=2.15.0rc2,<2.16
Expand All @@ -28,7 +31,7 @@ dependencies:
- name: kubevirt.core
system: |
git-core [platform:rpm]
python3.9-devel [platform:rpm compile]
python3.11-devel [platform:rpm compile]
libcurl-devel [platform:rpm compile]
krb5-devel [platform:rpm compile]
krb5-workstation [platform:rpm]
Expand All @@ -38,7 +41,6 @@ dependencies:
sshpass [platform:rpm]
rsync [platform:rpm]
epel-release [platform:rpm]
python-unversioned-command [platform:rpm]
unzip [platform:rpm]
podman-remote [platform:rpm]
cmake [platform:rpm compile]
Expand Down Expand Up @@ -67,3 +69,5 @@ additional_build_steps:
- COPY --from=quay.io/ansible/receptor:devel /usr/bin/receptor /usr/bin/receptor
- RUN mkdir -p /var/run/receptor
- RUN git lfs install --system
# SymLink `python` -> `python3.11`
- RUN alternatives --install /usr/bin/python python /usr/bin/python3.11 311

0 comments on commit ed26cac

Please sign in to comment.