summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElod Illes <elod.illes@ericsson.com>2019-05-10 15:33:25 +0200
committerElod Illes <elod.illes@ericsson.com>2019-05-14 17:41:58 +0200
commiteff57e09b55aaf1f00b01c289526ceddefdf25d9 (patch)
tree0b6ee6eb51b3adce63e0a99ec4570d7aae9c0550
parent0e740282ac522ba8a1b2ba9e8c98bb0a72c65bed (diff)
downloadosprofiler-eff57e09b55aaf1f00b01c289526ceddefdf25d9.tar.gz
Use upper constraints
Sphinx 2.0.0 dropped python 2.7 and 3.4 support. Because osprofiler uses global upper-constraints.txt only from Rocky, job openstack-tox-py27 tries to install Sphinx 2.0.1 and fails [1] with: Downloading http://mirror.iad.rax.openstack.org/wheel/ubuntu-16.04-x86_64/sphinx/Sphinx-2.0.1-py2.py3-none-any.whl (3.2MB) ERROR: Sphinx requires Python '>=3.5' but the running Python is 2.7.12 Note: .[oslo.config] could be removed as the packages will be installed perfectly and constrained without this and it breaks installation if upper-constraints.txt is used anyway. [1] http://logs.openstack.org/periodic-stable/opendev.org/openstack/osprofiler/stable/queens/openstack-tox-py27/3d469d3/job-output.txt.gz#_2019-05-10_06_10_56_192617 Change-Id: Ife6bcaca347d914cb1fc7e2fe71665ea5c93ca80
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 8d33520..1f6db45 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,7 +8,7 @@ setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
-deps = .[oslo_config]
+deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/queens}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install -U {opts} {packages}