From d285e08562c16afbc0560b922d7fa69633e17cb2 Mon Sep 17 00:00:00 2001 From: Xinran Wang Date: Fri, 19 Mar 2021 07:11:10 +0000 Subject: [PATCH] bug fix: tox wrongly install client from repo path. This will cause version conflict: Obtaining file:///opt/stack/python-cyborgclient ERROR: Could not satisfy constraints for 'python-cyborgclient': installation from path or url cannot be constrained to a version or ERROR: Could not find a version that satisfies the requirement python-cyborgclient 1.3.1.dev1 ERROR: No matching distribution found for python-cyborgclient 1.3.1.dev1 Change-Id: I521f880606fa1aab25cd85875153275c5dd2e125 (cherry picked from commit 2a674e6576e35746c86d914b4fe1891e8a726125) --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 511b3d3..aa685ea 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ ignore_basepython_conflict = True [testenv] basepython = python3 -usedevelop = True +usedevelop = False whitelist_externals = rm install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} setenv =