Remove --use-deprecated legacy-resolver flag

The pip team is planning to depreciate the
'--use-deprecated legacy-resolver'install option.
While a firm date has yet to be set, We need to be
ready for the change.

Test Plan*:

PASS: Verified that tox runs without issues
PASS: Generate Vault package.
PASS: Upload and apply Vault package and check if pod
      is running.

Note(*): Tested on kubernetes 1.21.8

Closes-bug:1966076

Signed-off-by: Karla Felix <karla.karolinenogueirafelix@windriver.com>
Change-Id: I582378ff198430c182fd9197976e9041f2910680
This commit is contained in:
Karla Felix
2022-07-06 14:55:53 -04:00
parent eade3934a2
commit fc80ae3738
3 changed files with 5 additions and 7 deletions

View File

@@ -1,2 +1,2 @@
pbr>=2.0.0
PyYAML==3.10
pbr==5.1.3
PyYAML>=3.13

View File

@@ -14,7 +14,7 @@ oslotest>=3.2.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
testrepository>=0.0.18
testtools>=2.2.0 # MIT
tempest-lib<0.5.0,>=0.4.0
tempest-lib>=0.4.0
ipaddr
pytest
pyudev

View File

@@ -21,8 +21,7 @@ sitepackages = False
whitelist_externals = bash
find
install_command = pip install --use-deprecated legacy-resolver \
-v -v -v \
install_command = pip install -v -v -v \
-c{toxinidir}/upper-constraints.txt \
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
{opts} {packages}
@@ -81,8 +80,7 @@ commands =
[testenv:py39]
basepython = python3.9
install_command = pip install \
-v -v -v \
install_command = pip install -v -v -v \
--use-deprecated legacy-resolver \
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/starlingx/root/raw/branch/master/build-tools/requirements/debian/upper-constraints.txt} \
{opts} {packages}