From d5a3e7077587985da5823906b43a28c68d4e4ab1 Mon Sep 17 00:00:00 2001 From: albailey Date: Tue, 30 Nov 2021 10:08:05 -0600 Subject: [PATCH] Fix zuul failures due to new version of python-ldap ceph-manager depends on sysinv which depends on python-ldap which was updated on Nov 26, 2021 and is causing tox to fail. By clamping python-ldap to be less than 3.4.0, the pylint job should be able to pass. Story: 2008943 Task: 44095 Signed-off-by: albailey Change-Id: I0086ab34c86884c1f66549b29d5c4cf20a588486 --- test-requirements.txt | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 2b5b92c9..ce78d98c 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,4 +4,5 @@ bashate >= 0.2 isort<5;python_version>="3.0" pylint<2.1.0;python_version<"3.0" # GPLv2 pylint<2.3.0;python_version>="3.0" # GPLv2 +python-ldap<3.4.0 diff --git a/tox.ini b/tox.ini index f330ce49..f0dd1e77 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ stxdir = {toxinidir}/.. [testenv] sitepackages = False basepython = python3 -install_command = pip install -v -v -v -U {opts} {packages} +install_command = pip install {opts} {packages} setenv = VIRTUAL_ENV={envdir} OS_STDOUT_CAPTURE=1