From 415efe08f28216d94c220547b5e54e10e0b09b02 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Fri, 28 Apr 2023 12:23:40 -0700 Subject: Fix gate Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/881890 Change-Id: I9ebf7457e0fc0c98711ba1b093b0f1b8a9f25dff --- test-requirements.txt | 1 + test/run_core_tests_manual.py | 2 +- tox.ini | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 66b0d94..cef2af8 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,5 +3,6 @@ # process, which may cause wedges in the gate later. coverage +attrs<22; python_version<"3.5" pytest six>=1.9.0 diff --git a/test/run_core_tests_manual.py b/test/run_core_tests_manual.py index e19b024..4b536d3 100644 --- a/test/run_core_tests_manual.py +++ b/test/run_core_tests_manual.py @@ -67,7 +67,7 @@ class CoreTests(): (pythonpath, test_cmd_prefix, test, cur_dir, log_filename_prefix, test)) - assert(0 == ret) + assert (0 == ret) os.system("rm -f *.pyc") os.chdir(cur_dir) print('ok') diff --git a/tox.ini b/tox.ini index e7ca727..c07c3e9 100644 --- a/tox.ini +++ b/tox.ini @@ -11,6 +11,8 @@ setenv = LIBERASURECODE_DIR={envdir}/liberasurecode JERASURE_DIR={envdir}/jerasure GFCOMPLETE_DIR={envdir}/gf-complete passenv = LIBERASURECODE_REF +allowlist_externals = + compilelibs: {toxinidir}/tools/pip-install-with-liberasurecode.sh install_command = compilelibs: {toxinidir}/tools/pip-install-with-liberasurecode.sh {opts} {packages} !compilelibs: pip install {opts} {packages} -- cgit v1.2.1