Skip to content

Commit

Permalink
Update ray requirement from <2.0.0,>=0.8.7 to >=0.8.7,<3.0.0 (#740)
Browse files Browse the repository at this point in the history
* 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](ray-project/ray@ray-0.8.7...ray-2.0.0)

---
updated-dependencies:
- dependency-name: ray
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Change type-ignore error code for newer version of mypy

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Janis Klaise <jk@seldon.io>
  • Loading branch information
dependabot[bot] and jklaise authored Sep 15, 2022
1 parent 87675c6 commit 025ad70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion alibi/explainers/anchors/anchor_tabular_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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',
Expand Down

0 comments on commit 025ad70

Please sign in to comment.