Skip to content

Commit

Permalink
Python 3.11 upgrade
Browse files Browse the repository at this point in the history
Shoud be built with appropriate build arg
ansible-builder build -v3 --build-arg PYCMD=/usr/bin/python3.11 -t py311
  • Loading branch information
dmzoneill committed Apr 19, 2024
1 parent 00fe06c commit 4d29238
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion execution-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ dependencies:
- name: kubevirt.core
system: |
git-core [platform:rpm]
python3.9-devel [platform:rpm compile]
python3.11 [platform:rpm]
python3.11-devel [platform:rpm compile]
libcurl-devel [platform:rpm compile]
krb5-devel [platform:rpm compile]
krb5-workstation [platform:rpm]
Expand Down Expand Up @@ -61,6 +62,8 @@ dependencies:
six
receptorctl
additional_build_steps:
prepend_base:
- RUN $PKGMGR install -y python3.11
append_base:
- RUN $PYCMD -m pip install -U pip
append_final:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ minversion = 1.6
skipsdist = True

[testenv]
basepython = python3
basepython = python3.11
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt

Expand Down

0 comments on commit 4d29238

Please sign in to comment.