summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2022-02-17 11:21:40 +0000
committerTim Burke <tim.burke@gmail.com>2022-03-16 15:06:19 -0700
commit2636965f38a7788bbee19fc90088384834670b10 (patch)
treeba693b60748bdcea934e6a8434b158bc7fadeb91 /tox.ini
parent22a05b2039d0178b52fa3546de8ab265df112636 (diff)
downloadpython-swiftclient-2636965f38a7788bbee19fc90088384834670b10.tar.gz
Drop support for Python 2
There's a lot of cleanup possible, but this is a start. Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Change-Id: Ia1176b7fd5434d52070d482a37abfbb98800cdb3
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini16
1 files changed, 1 insertions, 15 deletions
diff --git a/tox.ini b/tox.ini
index fbc58c7..e1e679d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,py3,pep8
+envlist = py3,pep8
minversion = 3.18.0
skipsdist = True
@@ -21,16 +21,13 @@ allowlist_externals = sh
passenv = SWIFT_* *_proxy
[testenv:pep8]
-basepython = python3
commands =
python -m flake8 swiftclient test
[testenv:venv]
-basepython = python3
commands = {posargs}
[testenv:cover]
-basepython = python3
setenv =
PYTHON=coverage run --source swiftclient --parallel-mode
commands =
@@ -41,7 +38,6 @@ commands =
coverage report
[testenv:func]
-basepython = python3
setenv =
OS_TEST_PATH=test.functional
PYTHON=coverage run --source swiftclient --parallel-mode
@@ -56,14 +52,7 @@ commands =
coverage report -m
rm -f .coverage
-[testenv:py2func]
-basepython=python2
-setenv = {[testenv:func]setenv}
-allowlist_externals = {[testenv:func]allowlist_externals}
-commands = {[testenv:func]commands}
-
[testenv:docs]
-basepython = python3
usedevelop = False
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
@@ -88,7 +77,6 @@ show-source = True
exclude = .venv,.tox,dist,doc,*egg
[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
@@ -98,14 +86,12 @@ deps = bindep
commands = bindep test
[testenv:releasenotes]
-basepython = python3
usedevelop = False
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:pdf-docs]
-basepython = python3
deps = {[testenv:docs]deps}
allowlist_externals =
make