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 2a674e6576)
This commit is contained in:
2
tox.ini
2
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 =
|
||||
|
||||
Reference in New Issue
Block a user