Add caps for pip-extra-reqs/pip-missing-reqs

pip-check-reqs fails with latest pip, cap both packages until
https://github.com/r1chardj0n3s/pip-check-reqs/issues/66 is fixed.

Co-Authored-By: Gregory Thiemonge <gthiemon@redhat.com>

Change-Id: I6ae2740557f0e62b6805e5dadd025e7bf44ec57d
(cherry picked from commit b89c929c12)
This commit is contained in:
Takashi Kajinami 2021-08-04 19:57:49 +09:00 committed by Gregory Thiemonge
parent 9ba1182579
commit f16f72cca2
1 changed files with 15 additions and 3 deletions

18
tox.ini
View File

@ -229,7 +229,13 @@ commands =
# determining missing packages
# this also means that pip-check-reqs must be installed separately, outside
# of the requirements.txt files
deps = pip-check-reqs
# pip-check-reqs 2.3.0 is broken with latest pip release (21.2.2), so cap it to
# a previous release. But the latest pip-check-reqs working release doesn't
# work with recent pip release, also cap pip to a release that is supported by
# pip-check-reqs). Those caps will be removed once
# https://github.com/r1chardj0n3s/pip-check-reqs/issues/66 is fixed.
deps = pip-check-reqs<=2.2.2
pip<=21.1.3
-r{toxinidir}/requirements.txt
commands =
pip-missing-reqs --ignore-file=octavia/tests/* octavia
@ -239,7 +245,13 @@ commands =
# determining missing packages
# this also means that pip-check-reqs must be installed separately, outside
# of the requirements.txt files
deps = pip-check-reqs
# pip-check-reqs 2.3.0 is broken with latest pip release (21.2.2), so cap it to
# a previous release. But the latest pip-check-reqs working release doesn't
# work with recent pip release, also cap pip to a release that is supported by
# pip-check-reqs). Those caps will be removed once
# https://github.com/r1chardj0n3s/pip-check-reqs/issues/66 is fixed.
deps = pip-check-reqs<=2.2.2
pip<=21.1.3
-r{toxinidir}/requirements.txt
commands =
pip-extra-reqs octavia
pip-extra-reqs --ignore-file=octavia/tests/* octavia