Replace Python3.9 with 3.12 for ansible-test

- Addresses issue #476
This commit is contained in:
Hideki Saito 2023-06-27 16:04:09 +09:00
parent 2ed8bdc8e8
commit 1f02c571bb
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
trivial:
- "Drop Python3.9 and replace Fedora37 with 38(https://github.com/ansible-collections/ansible.posix/issues/476).

View file

@ -147,7 +147,7 @@ function cleanup
if [ "${process_coverage}" ]; then
# use python 3.9 for coverage to avoid running out of memory during coverage xml processing
# only use it for coverage to avoid the additional overhead of setting up a virtual environment for a potential no-op job
virtualenv --python /usr/bin/python3.9 ~/ansible-venv
/usr/bin/python3.12 -m venv ~/ansible-venv
set +ux
. ~/ansible-venv/bin/activate
set -ux