summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test-requirements.txt1
-rw-r--r--test/run_core_tests_manual.py2
-rw-r--r--tox.ini2
3 files changed, 4 insertions, 1 deletions
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}