Let rename old podman varlink package as podman1
This allows to import old varlink based podman client ase podman1 while keeping safe to install the new client podman-py package as podman. To archive such result it first temporarly rename existing podman dir, then install podman package on its place, renames it as podman1, and finally restore pre-existing podman directory if any initially found. Change-Id: If834cc383f11e656f17e49d5e6fa401ac8bee829
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -39,6 +39,8 @@ setenv =
|
||||
TOX_CONSTRAINTS_FILE = {env:TOX_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
|
||||
TOX_EXTRA_REQUIREMENTS = {env:TOX_EXTRA_REQUIREMENTS:-r{toxinidir}/extra-requirements.txt}
|
||||
VIRTUAL_ENV = {envdir}
|
||||
commands_pre =
|
||||
{envpython} {toxinidir}/tools/ensure_podman1.py
|
||||
commands =
|
||||
{envpython} {toxinidir}/tools/run_tests.py {posargs:{env:RUN_TESTS_EXTRA_ARGS}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user