diff --git a/distributedcloud/test-requirements.txt b/distributedcloud/test-requirements.txt index 216f21e41..5d0cebed6 100644 --- a/distributedcloud/test-requirements.txt +++ b/distributedcloud/test-requirements.txt @@ -21,4 +21,4 @@ tempest-lib>=0.14.0 # Apache-2.0 pylint==1.9.2;python_version<"3.0" # GPLv2 pylint==2.3.1;python_version>="3.0" # GPLv2 PyYAML>=3.1.0 -yamllint>=0.5.2 +yamllint<1.26.1;python_version>="3.0" # GPLv2 diff --git a/distributedcloud/tox.ini b/distributedcloud/tox.ini index 1ea5aab3d..ba9d982be 100644 --- a/distributedcloud/tox.ini +++ b/distributedcloud/tox.ini @@ -18,6 +18,7 @@ cgtsclient_src_dir = ../../config/sysinv/cgts-client/cgts-client cgcs_patch_src_dir = ../../update/cgcs-patch/cgcs-patch [testenv] +sitepackages = False install_command = pip install -v -v -v \ -c https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt \ {opts} {packages} @@ -184,7 +185,6 @@ import_exceptions = dcmanager.common.i18n,dcorch.common.i18n [testenv:pylint] basepython = python3 -sitepackages = False deps = {[testenv:py27]deps} -e{[dc]cgcs_patch_src_dir} diff --git a/test-requirements.txt b/test-requirements.txt index 184eec960..736d058e1 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,3 @@ PyYAML>=3.1.0 -yamllint>=0.5.2 +yamllint<1.26.1;python_version>="3.0" # GPLv2 mock>=2.0 # BSD