diff --git a/runtimes/alibi-explain/requirements-dev.txt b/runtimes/alibi-explain/requirements-dev.txt index 94a88f660..672b5dce1 100644 --- a/runtimes/alibi-explain/requirements-dev.txt +++ b/runtimes/alibi-explain/requirements-dev.txt @@ -1,3 +1,2 @@ -numpy nest_asyncio==1.5.4 types-requests diff --git a/runtimes/alibi-explain/setup.py b/runtimes/alibi-explain/setup.py index f57a68836..afc580582 100644 --- a/runtimes/alibi-explain/setup.py +++ b/runtimes/alibi-explain/setup.py @@ -37,6 +37,8 @@ def _load_description() -> str: "mlserver", "alibi[shap]", "orjson", + # numba 0.55.0 requires: numpy <1.22 (for Shap / alibi) + "numpy<1.22", ], long_description=_load_description(), long_description_content_type="text/markdown", diff --git a/setup.cfg b/setup.cfg index 5e0eb57ba..d6b4fdf7e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -67,21 +67,21 @@ commands = pytest {posargs} {toxinidir}/runtimes/mlflow [testenv:alibiexplain] deps = - -e{toxinidir} -e{toxinidir}/runtimes/alibi-explain + -e{toxinidir} -r{toxinidir}/requirements/dev.txt -r{toxinidir}/runtimes/alibi-explain/requirements-dev.txt commands = pytest {posargs} {toxinidir}/runtimes/alibi-explain [testenv:all-runtimes] -deps = - -e{toxinidir}[all] +deps = + -e{toxinidir}/runtimes/alibi-explain -e{toxinidir}/runtimes/sklearn -e{toxinidir}/runtimes/xgboost -e{toxinidir}/runtimes/mllib -e{toxinidir}/runtimes/lightgbm -e{toxinidir}/runtimes/mlflow - -e{toxinidir}/runtimes/alibi-explain + -e{toxinidir}[all] -r{toxinidir}/requirements/dev.txt -r{toxinidir}/runtimes/mlflow/requirements-dev.txt -r{toxinidir}/runtimes/alibi-explain/requirements-dev.txt