Add py39 gate
Add python3.9 gate, tested by running zuul locally and running on the gate. Story: 2009101 Task: 43160 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: I227b2aae6619e77caf1dc6642ac257bcd1a4ca53
This commit is contained in:
parent
1110cd18a1
commit
d1b9d53314
21
.zuul.yaml
21
.zuul.yaml
@ -5,6 +5,7 @@
|
||||
- openstack-tox-linters
|
||||
- k8sapp-auditd-tox-py27
|
||||
- k8sapp-auditd-tox-py36
|
||||
- k8sapp-auditd-tox-py39
|
||||
- k8sapp-auditd-tox-flake8
|
||||
- k8sapp-auditd-tox-pylint
|
||||
- k8sapp-auditd-tox-bandit
|
||||
@ -13,6 +14,7 @@
|
||||
- openstack-tox-linters
|
||||
- k8sapp-auditd-tox-py27
|
||||
- k8sapp-auditd-tox-py36
|
||||
- k8sapp-auditd-tox-py39
|
||||
- k8sapp-auditd-tox-flake8
|
||||
- k8sapp-auditd-tox-pylint
|
||||
- k8sapp-auditd-tox-bandit
|
||||
@ -33,6 +35,25 @@
|
||||
vars:
|
||||
tox_envlist: py27
|
||||
tox_extra_args: -c python-k8sapp-auditd/k8sapp_auditd/tox.ini
|
||||
|
||||
- job:
|
||||
name: k8sapp-auditd-tox-py39
|
||||
parent: tox-py39
|
||||
description: |
|
||||
Run py39 test for k8sapp_auditd
|
||||
nodeset: debian-bullseye
|
||||
required-projects:
|
||||
- starlingx/config
|
||||
- starlingx/fault
|
||||
- starlingx/update
|
||||
- starlingx/utilities
|
||||
files:
|
||||
- python-k8sapp-auditd/*
|
||||
vars:
|
||||
tox_envlist: py39
|
||||
python_version: 3.9
|
||||
tox_extra_args: -c python-k8sapp-auditd/k8sapp_auditd/tox.ini
|
||||
|
||||
- job:
|
||||
name: k8sapp-auditd-tox-py36
|
||||
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,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = flake8,py27,py36,pylint,bandit
|
||||
envlist = flake8,py27,py36,py39,pylint,bandit
|
||||
minversion = 1.6
|
||||
# skipsdist = True
|
||||
#,pip-missing-reqs
|
||||
@ -10,12 +10,12 @@ stxdir = {toxinidir}/../../..
|
||||
distshare={toxworkdir}/.tox/distshare
|
||||
|
||||
[testenv]
|
||||
# usedevelop = True
|
||||
# enabling usedevelop results in py27 develop-inst:
|
||||
# Exception: Versioning for this project requires either an sdist tarball,
|
||||
# or access to an upstream git repository.
|
||||
# Note. site-packages is true and rpm-python must be yum installed on your dev machine.
|
||||
sitepackages = True
|
||||
usedevelop = True
|
||||
sitepackages = False
|
||||
basepython = python3
|
||||
|
||||
# tox is silly... these need to be separated by a newline....
|
||||
@ -83,6 +83,19 @@ commands =
|
||||
stestr run {posargs}
|
||||
stestr slowest
|
||||
|
||||
[testenv:py39]
|
||||
basepython = python3.9
|
||||
install_command = pip install --use-deprecated legacy-resolver \
|
||||
-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:flake8 clone
|
||||
basepython = python3
|
||||
|
Loading…
x
Reference in New Issue
Block a user