From: Anil Belur Date: Thu, 31 Mar 2022 03:47:04 +0000 (+1000) Subject: Chore!: Update base version of python to 3.8 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F35%2F69935%2F11;p=ansible%2Froles%2Fpython-install.git Chore!: Update base version of python to 3.8 - Python 3.6 is EOL, update to 3.8. - Remove Ubuntu 16.04 from the molecule, since Ubuntu 16.04 is EOL. - Update tox and molecule depenencies. Change-Id: I4131008a04c8feaf25b239bd4054709a7d797a4f Signed-off-by: Anil Belur --- diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 56d1c7d..a129c9d 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -11,9 +11,7 @@ platforms: - name: centos7 image: centos:7 - name: centos8 - image: centos:8 - - name: ubuntu1604 - image: ubuntu:16.04 + image: quay.io/pycontribs/centos:stream8 - name: ubuntu1804 image: ubuntu:18.04 - name: ubuntu2004 diff --git a/tox.ini b/tox.ini index 76423c7..0226738 100644 --- a/tox.ini +++ b/tox.ini @@ -10,9 +10,12 @@ basepython = python3 deps = ansible~=2.9.6 ansible-lint~=4.2.0 + detox~=0.18 docker + yamllint + molecule~=3.0.8 molecule[docker] - pytest + pytest~=5.4.0 passenv = * commands = ./molecule.sh diff --git a/vars/CentOS-8.yml b/vars/CentOS-8.yml index 1e76d18..3e9a103 100644 --- a/vars/CentOS-8.yml +++ b/vars/CentOS-8.yml @@ -1,8 +1,8 @@ --- python_packages_distro: - libffi-devel - - python36 - - python36-devel + - python38 + - python38-devel - python3-pip - python3-setuptools - python3-virtualenv