From 025ad70b9d5d84901525a32ac2251206ca8c08b3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 Sep 2022 10:59:39 +0100 Subject: [PATCH] Update ray requirement from <2.0.0,>=0.8.7 to >=0.8.7,<3.0.0 (#740) * Update ray requirement from <2.0.0,>=0.8.7 to >=0.8.7,<3.0.0 Updates the requirements on [ray](https://github.com/ray-project/ray) to permit the latest version. - [Release notes](https://github.com/ray-project/ray/releases) - [Commits](https://github.com/ray-project/ray/compare/ray-0.8.7...ray-2.0.0) --- updated-dependencies: - dependency-name: ray dependency-type: direct:development ... Signed-off-by: dependabot[bot] * Change type-ignore error code for newer version of mypy Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Janis Klaise --- alibi/explainers/anchors/anchor_tabular_distributed.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/alibi/explainers/anchors/anchor_tabular_distributed.py b/alibi/explainers/anchors/anchor_tabular_distributed.py index b1f91114f..e23109bb9 100644 --- a/alibi/explainers/anchors/anchor_tabular_distributed.py +++ b/alibi/explainers/anchors/anchor_tabular_distributed.py @@ -235,7 +235,7 @@ def fit(self, # type: ignore[override] d_samplers = [] for sampler in samplers: d_samplers.append( - ray.remote(RemoteSampler).remote( # type: ignore[call-overload] + ray.remote(RemoteSampler).remote( # type: ignore[call-arg] *(train_data_id, d_train_data_id, sampler) ) ) diff --git a/setup.py b/setup.py index d1f17d68b..cc3f2aa26 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ def readme(): exec(open('alibi/version.py').read()) extras_require = { - 'ray': ['ray>=0.8.7, <2.0.0'], + 'ray': ['ray>=0.8.7, <3.0.0'], # shap is separated due to build issues, see https://github.com/slundberg/shap/pull/1802 'shap': [ 'shap>=0.40.0, <0.42.0', # versioning: https://github.com/SeldonIO/alibi/issues/333 @@ -19,7 +19,7 @@ def readme(): 'tensorflow': ['tensorflow>=2.0.0, !=2.6.0, !=2.6.1, <2.11.0'], 'torch': ['torch>=1.9.0, <2.0.0'], 'all': [ - 'ray>=0.8.7, <2.0.0', + 'ray>=0.8.7, <3.0.0', 'shap>=0.40.0, <0.42.0', 'numba>=0.50.0, !=0.54.0, <0.56.0', 'tensorflow>=2.0.0, !=2.6.0, !=2.6.1, <2.11.0',