Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dependency] Allow latest ray version on local machine #2401

Merged
merged 5 commits into from
Aug 15, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions sky/setup_files/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@
ROOT_DIR = os.path.dirname(__file__)

system = platform.system()
if system == 'Darwin':
mac_version = platform.mac_ver()[0]
mac_major, mac_minor = mac_version.split('.')[:2]
mac_major = int(mac_major)
mac_minor = int(mac_minor)
if mac_major < 10 or (mac_major == 10 and mac_minor < 15):
warnings.warn(
f'\'Detected MacOS version {mac_version}. MacOS version >=10.15 '
'is required to install ray>=1.9\'')


def find_version(*filepath):
Expand Down Expand Up @@ -89,7 +80,7 @@ def parse_readme(readme: str) -> str:
'python-dotenv',
# Lower version of ray will cause dependency conflict for
# click/grpcio/protobuf.
'ray[default]>=2.2.0,<=2.4.0',
'ray[default]>=2.2.0,<=2.6.2, != 2.6.0',
'rich',
'tabulate',
# Light weight requirement, can be replaced with "typing" once
Expand All @@ -113,7 +104,9 @@ def parse_readme(readme: str) -> str:
'pulp',
# Ray job has an issue with pydantic>2.0.0, due to API changes of pydantic. See
# https://github.com/ray-project/ray/issues/36990
'pydantic<2.0',
# >=1.10.8 is needed for ray>=2.6. See
# https://github.com/ray-project/ray/issues/35661
'pydantic<2.0, >=1.10.8',
# Cython 3.0 release breaks PyYAML installed by aws-cli.
# https://github.com/yaml/pyyaml/issues/601
# https://github.com/aws/aws-cli/issues/8036
Expand Down