Skip to content

Commit

Permalink
Expand supported Ray versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dongreenberg committed May 22, 2024
1 parent ed1205a commit 8eda986
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ opentelemetry-sdk==1.20.0
pint==0.20.1
pyarrow==9.0.0
pydata-sphinx-theme==0.13.3
ray<=2.4.0,>=2.2.0
ray>=2.2.0
sagemaker
sentry-sdk==1.28.1
sphinx-book-theme==1.0.1
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ opentelemetry-instrumentation-requests
opentelemetry-sdk
pexpect
pyopenssl>=23.3.0
ray[default] >= 2.2.0, <= 2.6.3, != 2.6.0
ray[default] >= 2.2.0, != 2.6.0
rich
sentry-sdk
sshfs >= 2023.1.0, <= 2023.4.1
Expand Down
4 changes: 2 additions & 2 deletions runhouse/resources/envs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ def _get_conda_yaml(conda_env=None):
for dep in conda_yaml["dependencies"]
if isinstance(dep, Dict) and "pip" in dep
]:
conda_yaml["dependencies"].append({"pip": ["ray >= 2.2.0, <= 2.6.3, != 2.6.0"]})
conda_yaml["dependencies"].append({"pip": ["ray >= 2.2.0, != 2.6.0"]})
else:
for dep in conda_yaml["dependencies"]:
if (
isinstance(dep, Dict)
and "pip" in dep
and not [pip for pip in dep["pip"] if "ray" in pip]
):
dep["pip"].append("ray >= 2.2.0, <= 2.6.3, != 2.6.0")
dep["pip"].append("ray >= 2.2.0, != 2.6.0")
continue
return conda_yaml

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def parse_readme(readme: str) -> str:
"opentelemetry-sdk",
"pexpect",
"pyOpenSSL>=23.3.0",
"ray[default] >= 2.2.0, <= 2.6.3, != 2.6.0",
"ray[default] >= 2.2.0, != 2.6.0",
"rich",
"sentry-sdk",
"sshfs >= 2023.1.0, <= 2023.4.1",
Expand Down

0 comments on commit 8eda986

Please sign in to comment.