From 036e4ae241f305880e95d2e752b24b8d1c85f28f Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 5 Oct 2023 13:41:37 +0200 Subject: [PATCH] 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 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index dbb31e3779..f0cce38ca9 100644 --- a/tox.ini +++ b/tox.ini @@ -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