Browse Source

Add support for py39

Change-Id: I987a3da810613df104402a3acbe3c1c9dcd36ed1
Story: TRIPLEOCI-355
changes/73/780573/4
Sorin Sbarnea 5 months ago
parent
commit
1ca156439e
  1. 10
      bindep.txt
  2. 2
      tox.ini
  3. 2
      tripleo_common/image/base.py
  4. 2
      zuul.d/layout.yaml

10
bindep.txt

@ -18,12 +18,14 @@ gcc-c++ [platform:rpm]
git [platform:rpm]
libffi-devel [platform:rpm]
openssl-devel [platform:rpm]
python-devel [platform:rpm]
python2-dnf [platform:fedora]
python-devel [(platform:rpm platform:base-py2)]
python2-dnf [(platform:rpm platform:base-py2)]
# For SELinux
libselinux-python [platform:rpm]
libsemanage-python [platform:redhat]
libselinux-python [(platform:rpm platform:base-py2)]
python3-libselinux [(platform:rpm platform:base-py3)]
libsemanage-python [(platform:rpm platform:base-py2)]
python3-libsemanage-python [(platform:rpm platform:base-py3)]
# Required for compressing collected log files in CI
gzip

2
tox.ini

@ -1,6 +1,6 @@
[tox]
minversion = 3.8
envlist = linters,py38
envlist = linters,py
skipsdist = True
# Automatic envs will only use the python version appropriate to that

2
tripleo_common/image/base.py

@ -55,7 +55,7 @@ class BaseImageManager(object):
data = yaml.safe_load(cf.read()).get(section)
if not data:
return None
self.logger.debug('%s JSON: %s', (section, str(data)))
self.logger.debug('%s JSON: %s', section, str(data))
for item in data:
image_name = item.get('imagename')
if image_name is None:

2
zuul.d/layout.yaml

@ -19,6 +19,7 @@
- openstack-tox-py36
- openstack-tox-py37
- openstack-tox-py38
- openstack-tox-py39
- tripleo-cross-tripleoclient-py37
- tripleo-ci-centos-8-content-provider:
dependencies: &deps_unit_lint
@ -26,6 +27,7 @@
- openstack-tox-py36
- openstack-tox-py37
- openstack-tox-py38
- openstack-tox-py39
- tripleo-buildimage-overcloud-full-centos-8:
dependencies: *deps_unit_lint
- tripleo-buildimage-ironic-python-agent-centos-8:

Loading…
Cancel
Save