Temporary don't use u-c for inventory tox test

Right now u-c constrains requests version to 2.28.2 while ansible-lint
requires minimum of 2.31.0.

To temporary workaround the issue and unblock gates we define
alternative install_command that does not care about u-c.
This should be reverted in the future once u-c will be patched to
support new version of requests.

Change-Id: If350731a7bb08e71a57f120fdf70106bfccc0b52
This commit is contained in:
Dmitriy Rabotyagov 2023-10-05 13:41:37 +02:00
parent ba9a248550
commit 036e4ae241
1 changed files with 3 additions and 0 deletions

View File

@ -120,6 +120,9 @@ commands =
deps =
{[testenv]deps}
-e .
# NOTE(noonedeadpunk): Overriding install_command is a temporary solution until `requests` module version
# will be updated in u-c as it's incompatible with ansible-lint requirements.
install_command = pip install {opts} {packages}
setenv =
{[testenv]setenv}
PYTHONHASHSEED = 100