Merge "[ussuri][goal] Drop python 2.7 support"

This commit is contained in:
Zuul 2020-02-07 05:16:37 +00:00 committed by Gerrit Code Review
commit e75d3482bf
3 changed files with 16 additions and 6 deletions

View File

@ -3,7 +3,7 @@
- openstack-specs-jobs
check:
jobs:
- openstack-tox-py27
- openstack-tox-py37
gate:
jobs:
- openstack-tox-py27
- openstack-tox-py37

10
bindep.txt Normal file
View File

@ -0,0 +1,10 @@
# This is a cross-platform list tracking distribution packages needed for install and tests; # see http://docs.openstack.org/infra/bindep/ for additional information.
gcc [platform:rpm test]
libffi-dev [platform:dpkg]
libffi-devel [platform:redhat]
libffi48-devel [platform:suse]
virtual/libffi [platform:gentoo]
libpcre3-dev [platform:dpkg test]
pcre-devel [platform:rpm test]

View File

@ -1,9 +1,11 @@
[tox]
minversion = 1.6
envlist = docs,py27
minversion = 3.1.1
envlist = docs,pep8
skipsdist = True
ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
@ -11,11 +13,9 @@ deps = -r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:docs]
basepython = python3
whitelist_externals =
rm
commands =