Add py3.9 gate
Add python3.9 gate, tested by running tox locally and in zuul gate. Story: 2009101 Task: 43148 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: Iebd62739bb52f471213229263aa01fc206baf216
This commit is contained in:
parent
8fcb259d37
commit
f482dc7c8f
21
.zuul.yaml
21
.zuul.yaml
@ -5,6 +5,7 @@
|
|||||||
- openstack-tox-linters
|
- openstack-tox-linters
|
||||||
- k8sapp-rook-ceph-tox-py27
|
- k8sapp-rook-ceph-tox-py27
|
||||||
- k8sapp-rook-ceph-tox-py36
|
- k8sapp-rook-ceph-tox-py36
|
||||||
|
- k8sapp-rook-ceph-tox-py39
|
||||||
- k8sapp-rook-ceph-tox-flake8
|
- k8sapp-rook-ceph-tox-flake8
|
||||||
- k8sapp-rook-ceph-tox-pylint
|
- k8sapp-rook-ceph-tox-pylint
|
||||||
- k8sapp-rook-ceph-tox-bandit
|
- k8sapp-rook-ceph-tox-bandit
|
||||||
@ -13,6 +14,7 @@
|
|||||||
- openstack-tox-linters
|
- openstack-tox-linters
|
||||||
- k8sapp-rook-ceph-tox-py27
|
- k8sapp-rook-ceph-tox-py27
|
||||||
- k8sapp-rook-ceph-tox-py36
|
- k8sapp-rook-ceph-tox-py36
|
||||||
|
- k8sapp-rook-ceph-tox-py39
|
||||||
- k8sapp-rook-ceph-tox-flake8
|
- k8sapp-rook-ceph-tox-flake8
|
||||||
- k8sapp-rook-ceph-tox-pylint
|
- k8sapp-rook-ceph-tox-pylint
|
||||||
- k8sapp-rook-ceph-tox-bandit
|
- k8sapp-rook-ceph-tox-bandit
|
||||||
@ -54,6 +56,25 @@
|
|||||||
tox_envlist: py36
|
tox_envlist: py36
|
||||||
tox_extra_args: -c python-k8sapp-rook/k8sapp_rook/tox.ini
|
tox_extra_args: -c python-k8sapp-rook/k8sapp_rook/tox.ini
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: k8sapp-rook-ceph-tox-py39
|
||||||
|
parent: tox-py39
|
||||||
|
description: |
|
||||||
|
Run py39 test for k8sapp_rook_ceph
|
||||||
|
nodeset: debian-bullseye
|
||||||
|
required-projects:
|
||||||
|
- starlingx/config
|
||||||
|
- starlingx/fault
|
||||||
|
- starlingx/update
|
||||||
|
- starlingx/utilities
|
||||||
|
files:
|
||||||
|
- python-k8sapp-rook/*
|
||||||
|
vars:
|
||||||
|
python_version: 3.9
|
||||||
|
tox_envlist: py39
|
||||||
|
tox_extra_args: -c python-k8sapp-rook/k8sapp_rook/tox.ini
|
||||||
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: k8sapp-rook-ceph-tox-flake8
|
name: k8sapp-rook-ceph-tox-flake8
|
||||||
parent: tox
|
parent: tox
|
||||||
|
10
bindep.txt
Normal file
10
bindep.txt
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# This is a cross-platform list tracking distribution packages needed for install and tests;
|
||||||
|
# see https://docs.openstack.org/infra/bindep/ for additional information.
|
||||||
|
|
||||||
|
libffi-dev [platform:dpkg]
|
||||||
|
libldap2-dev [platform:dpkg]
|
||||||
|
libxml2-dev [platform:dpkg]
|
||||||
|
libxslt1-dev [platform:dpkg]
|
||||||
|
libsasl2-dev [platform:dpkg]
|
||||||
|
libffi-devel [platform:rpm]
|
||||||
|
python3-all-dev [platform:dpkg]
|
@ -1,2 +1,3 @@
|
|||||||
pbr>=0.5
|
pbr>=0.5
|
||||||
PyYAML>=3.10
|
PyYAML>=3.10
|
||||||
|
pycryptodome
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = flake8,py27,py36,pylint,bandit
|
envlist = flake8,py27,py36,py39,pylint,bandit
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
# skipsdist = True
|
# skipsdist = True
|
||||||
#,pip-missing-reqs
|
#,pip-missing-reqs
|
||||||
@ -82,6 +82,19 @@ commands =
|
|||||||
stestr run {posargs}
|
stestr run {posargs}
|
||||||
stestr slowest
|
stestr slowest
|
||||||
|
|
||||||
|
[testenv:py39]
|
||||||
|
basepython = python3.9
|
||||||
|
sitepackages = False
|
||||||
|
install_command = pip install \
|
||||||
|
-v -v -v \
|
||||||
|
-c{toxinidir}/upper-constraints.txt \
|
||||||
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/starlingx/root/raw/branch/master/build-tools/requirements/debian/upper-constraints.txt} \
|
||||||
|
{opts} {packages}
|
||||||
|
commands =
|
||||||
|
{[testenv]commands}
|
||||||
|
stestr run {posargs}
|
||||||
|
stestr slowest
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
# testenv:flake8 clone
|
# testenv:flake8 clone
|
||||||
basepython = {[testenv:flake8]basepython}
|
basepython = {[testenv:flake8]basepython}
|
||||||
|
Loading…
Reference in New Issue
Block a user