Skip to content

Commit

Permalink
Fix Mac Version in Setup.py (#1224)
Browse files Browse the repository at this point in the history
Fix mac
  • Loading branch information
michaelzhiluo authored Oct 11, 2022
1 parent c4fd2b1 commit 16e4083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/setup_files/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
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):
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\'')
Expand Down

0 comments on commit 16e4083

Please sign in to comment.