Remove networking-l2gw python2 jobs

Python 2 will be EOL at the end of 2019. Ussuri will no longer support
Python 2 so it's safe to remove python2 jobs and save some CI resources.

Change-Id: I12ec23f9f8879b984099cce3495f4687dd2e0f61
stable/ussuri
elajkat 3 years ago
parent f16915d099
commit f317bfae10
  1. 1
      .zuul.yaml
  2. 2
      setup.cfg
  3. 14
      tox.ini

@ -1,7 +1,6 @@
- project:
templates:
- check-requirements
- openstack-python-jobs-neutron
- openstack-python3-ussuri-jobs-neutron
- build-openstack-docs-pti
check:

@ -13,8 +13,6 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6

@ -1,9 +1,10 @@
[tox]
envlist = py36,py37,py27,pep8
envlist = py36,py37,pep8
minversion = 2.0
skipsdist = True
[testenv]
basepython = python3
setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
@ -18,30 +19,22 @@ commands =
bash tools/pretty_tox_serial.sh '{posargs}'
[testenv:pep8]
basepython = python3
commands =
flake8
neutron-db-manage --subproject networking-l2gw check_migration
[testenv:py27]
setenv = OS_FAIL_ON_MISSING_DEPS=1
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:cover]
basepython = python3
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:docs]
basepython = python3
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -d doc/build/doctrees -b html doc/source doc/build/html
[testenv:pdf-docs]
basepython = python3
envdir = {toxworkdir}/docs
deps = {[testenv:docs]deps}
whitelist_externals =
@ -65,7 +58,6 @@ import-order-style = pep8
import_exceptions = networking_l2gw._i18n
[testenv:bindep]
basepython = python3
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
@ -77,7 +69,6 @@ commands = bindep test
usedevelop = False
[testenv:lower-constraints]
basepython = python3
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt
@ -90,7 +81,6 @@ commands =
pip install -q -e "git+https://opendev.org/openstack/neutron#egg=neutron"
[testenv:py3-dev]
basepython = python3
commands =
{[testenv:dev]commands}
{[testenv]commands}

Loading…
Cancel
Save