diff --git a/.zuul.yaml b/.zuul.yaml index 6a0d736f..92d4610c 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -9,7 +9,7 @@ - openstack-tox-linters - nfv-tox-pep8 - nfv-tox-py27 - - nfv-tox-py35 + - nfv-tox-py37 - nfv-tox-pylint - nova-api-proxy-tox-pep8 - nova-api-proxy-tox-pylint @@ -22,7 +22,7 @@ - openstack-tox-linters - nfv-tox-pep8 - nfv-tox-py27 - - nfv-tox-py35 + - nfv-tox-py37 - nfv-tox-pylint - nova-api-proxy-tox-pep8 - nova-api-proxy-tox-pylint @@ -43,14 +43,16 @@ tox_extra_args: -c nfv/tox.ini - job: - name: nfv-tox-py35 + name: nfv-tox-py37 parent: tox - description: Run py35 for nfv + description: Run py37 for nfv required-projects: - openstack/stx-fault vars: - tox_envlist: py35 + tox_envlist: py37 tox_extra_args: -c nfv/tox.ini + bindep_profile: test py37 + python_version: 3.7 - job: name: nfv-tox-pep8 diff --git a/nfv/tox.ini b/nfv/tox.ini index 0d76b63c..e652a5e9 100755 --- a/nfv/tox.ini +++ b/nfv/tox.ini @@ -16,7 +16,7 @@ stxdir = {toxinidir}/../.. [testenv] recreate = True -install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/queens} {opts} {packages} +install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} whitelist_externals = cp [nfv] @@ -81,7 +81,7 @@ enable-extensions = H106,H203 max-line-length = 84 [testenv:pep8] -basepython = python3.5 +basepython = python3 usedevelop = False skip_install = True deps = -r{toxinidir}/test-requirements.txt @@ -133,8 +133,8 @@ commands = cp -v {[nfv]nfv_base_dir}/nfv-tests/nfv_unit_tests/test_data/nfv_vim_ stestr --test-path={[nfv]nfv_base_dir}/nfv-tests/nfv_unit_tests/tests run '{posargs}' stestr slowest -[testenv:py35] -basepython = python3.5 +[testenv:py37] +basepython = python3.7 deps = {[nfv]deps} coverage fixtures