summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorHervé Beraud <hberaud@redhat.com>2020-06-09 11:27:17 +0200
committerHervé Beraud <hberaud@redhat.com>2020-06-09 11:43:40 +0200
commitabba67bf5483ffd2ce0eafcb4381764bc7d516c0 (patch)
treef742bbd5b591441af45e5f2fa1ac4ebe3e63ba39 /tox.ini
parent9c141d7db2ee8ac5e2c9d43a71054b7f45ab972d (diff)
downloadceilometer-abba67bf5483ffd2ce0eafcb4381764bc7d516c0.tar.gz
Refresh tox
Add ignore_basepython_conflict [1], this will fix tox warnings about python versions. Bump tox minversion to 3.1.0 to ensure that ignore_basepython_conflict is supported. Use the default install_commandi [2]. [1] https://tox.readthedocs.io/en/latest/config.html#conf-ignore_basepython_conflict [2] https://tox.readthedocs.io/en/latest/config.html#conf-install_command Change-Id: Ic76f25bcd2d70525d02c565449da753c4ba58bc3
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 13f5317b..2e79a80c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,14 +1,14 @@
[tox]
-minversion = 2.0
+minversion = 3.1.0
skipsdist = True
envlist = py{36,37},pep8
+ignore_basepython_conflict=true
[testenv]
basepython = python3
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-install_command = pip install {opts} {packages}
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
CEILOMETER_TEST_BACKEND={env:CEILOMETER_TEST_BACKEND:none}