summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2023-04-28 12:23:40 -0700
committerTim Burke <tim.burke@gmail.com>2023-05-01 08:49:55 -0700
commit415efe08f28216d94c220547b5e54e10e0b09b02 (patch)
tree5fc867ea384b8ca242d82a1b991e9b8ea6d71561
parent4ce04d1d5c13d0845d0166b0552375c62e115cbe (diff)
downloadpyeclib-master.tar.gz
Fix gateHEADmaster
Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/881890 Change-Id: I9ebf7457e0fc0c98711ba1b093b0f1b8a9f25dff
-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}