Remove --use-deprecated legacy-resolver flag

The pip team is planning to depreciate the
'--use-deprecated legacy-resolver' install option.

This change removes the option and fixes requirements inconsistencies.

Test Plan:

PASS: Verify that tox runs without issues.
PASS: Build snmp package and install it.
PASS: Upload and apply snmp application and check if pod
      is running.
PASS: Perform snmpget/bulk/walk commands and verify they work.
PASS: Check traps are generated.

Closes-bug: 1966075

Signed-off-by: Agustin Carranza <agustin.carranza@windriver.com>
Change-Id: Ib7fd2cdea5bbd62a7462827971485fd5121ebdce
This commit is contained in:
Agustin Carranza 2023-07-15 17:32:31 -03:00
parent c7d206abbf
commit f67c66e1e3
3 changed files with 6 additions and 8 deletions

View File

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

View File

@ -12,13 +12,13 @@ passlib>=1.7.0
psycopg2-binary
python-subunit>=0.0.18
requests-mock>=0.6.0 # Apache-2.0
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
oslosphinx<2.6.0,>=2.5.0 # Apache-2.0
sphinx>=1.8.4
oslosphinx>=4.18.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
testrepository>=0.0.18
testtools!=1.2.0,>=0.9.36
tempest-lib<0.5.0,>=0.4.0
tempest-lib
ipaddr
pytest
pyudev

View File

@ -21,8 +21,7 @@ sitepackages = False
allowlist_externals = bash
find
install_command = pip install --use-deprecated legacy-resolver \
-v -v -v \
install_command = pip install \
-c{toxinidir}/upper-constraints.txt \
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
{opts} {packages}
@ -83,7 +82,6 @@ commands =
[testenv:py39]
basepython = python3.9
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}
commands =