Merge "Drop python 2.7 support and testing"
This commit is contained in:
commit
429c677483
51
.zuul.yaml
51
.zuul.yaml
|
@ -1,6 +1,57 @@
|
||||||
|
- job:
|
||||||
|
name: telemetry-tempest-base
|
||||||
|
description: |
|
||||||
|
This job is for stable branch prior to Ussuri for testing
|
||||||
|
on py2.
|
||||||
|
parent: devstack-tempest
|
||||||
|
irrelevant-files:
|
||||||
|
- ^(test-|)requirements.txt$
|
||||||
|
- ^setup.cfg$
|
||||||
|
- ^doc/.*$
|
||||||
|
- ^.*\.rst$
|
||||||
|
- ^releasenotes/.*$
|
||||||
|
timeout: 7800
|
||||||
|
required-projects:
|
||||||
|
- openstack/devstack-gate
|
||||||
|
- openstack/panko
|
||||||
|
- openstack/aodh
|
||||||
|
- openstack/ceilometer
|
||||||
|
- openstack/telemetry-tempest-plugin
|
||||||
|
- openstack/heat-tempest-plugin
|
||||||
|
- openstack/heat
|
||||||
|
- openstack/dib-utils
|
||||||
|
- openstack/diskimage-builder
|
||||||
|
- openstack/tempest
|
||||||
|
vars:
|
||||||
|
devstack_plugins:
|
||||||
|
heat: https://opendev.org/openstack/heat
|
||||||
|
ceilometer: https://opendev.org/openstack/ceilometer
|
||||||
|
aodh: https://opendev.org/openstack/aodh
|
||||||
|
panko: https://opendev.org/openstack/panko
|
||||||
|
devstack_services:
|
||||||
|
tempest: true
|
||||||
|
tls-proxy: false
|
||||||
|
devstack_localrc:
|
||||||
|
TEMPEST_PLUGINS: '"/opt/stack/telemetry-tempest-plugin /opt/stack/heat-tempest-plugin"'
|
||||||
|
GNOCCHI_ARCHIVE_POLICY_TEMPEST: "ceilometer-high-rate"
|
||||||
|
CEILOMETER_BACKEND: "gnocchi"
|
||||||
|
CEILOMETER_PIPELINE_INTERVAL: 15
|
||||||
|
USE_PYTHON3: False
|
||||||
|
tempest_test_regex: telemetry_tempest_plugin
|
||||||
|
tox_envlist: all
|
||||||
|
branches:
|
||||||
|
- stable/ocata
|
||||||
|
- stable/pike
|
||||||
|
- stable/queens
|
||||||
|
- stable/rocky
|
||||||
|
- stable/stein
|
||||||
|
- stable/train
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: telemetry-tempest-base
|
name: telemetry-tempest-base
|
||||||
parent: devstack-tempest
|
parent: devstack-tempest
|
||||||
|
description: |
|
||||||
|
This job is for testing on py3 which is Ussuri onwards.
|
||||||
irrelevant-files:
|
irrelevant-files:
|
||||||
- ^(test-|)requirements.txt$
|
- ^(test-|)requirements.txt$
|
||||||
- ^setup.cfg$
|
- ^setup.cfg$
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
Python 2.7 support has been dropped. Last release of telemetry-tempest-plugin
|
||||||
|
to support py2.7 is OpenStack Train. The minimum version of Python now
|
||||||
|
supported by telemetry-tempest-plugin is Python 3.6.
|
|
@ -13,8 +13,6 @@ classifier =
|
||||||
License :: OSI Approved :: Apache Software License
|
License :: OSI Approved :: Apache Software License
|
||||||
Operating System :: POSIX :: Linux
|
Operating System :: POSIX :: Linux
|
||||||
Programming Language :: Python
|
Programming Language :: Python
|
||||||
Programming Language :: Python :: 2
|
|
||||||
Programming Language :: Python :: 2.7
|
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
Programming Language :: Python :: 3.6
|
Programming Language :: Python :: 3.6
|
||||||
Programming Language :: Python :: 3.7
|
Programming Language :: Python :: 3.7
|
||||||
|
|
10
tox.ini
10
tox.ini
|
@ -1,9 +1,11 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 2.0
|
minversion = 3.1.1
|
||||||
envlist = py37,py36,py27,pypy,pep8
|
envlist = py37,py36,pypy,pep8
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
ignore_basepython_conflict = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
basepython = python3
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
|
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
|
||||||
setenv =
|
setenv =
|
||||||
|
@ -16,19 +18,15 @@ deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = stestr run {posargs}
|
commands = stestr run {posargs}
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
|
||||||
commands = flake8 {posargs}
|
commands = flake8 {posargs}
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
basepython = python3
|
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
basepython = python3
|
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue