Skip to content

Commit

Permalink
[CI] Fix error in setup-dev (ray-project#38342)
Browse files Browse the repository at this point in the history
ray-project#38247 introduced a bug. If you --extras isn't specified, you get an error like "Can't iterate through NoneType". This PR fixes the error.

Signed-off-by: Balaji Veeramani <[email protected]>
  • Loading branch information
bveeramani authored Aug 11, 2023
1 parent 29bfa85 commit 4a49653
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/ray/setup-dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,9 @@ def do_link(package, force=False, skip_list=None, local_path=None):
local_path="../../../dashboard",
)

for package in args.extras:
do_link(package, force=args.yes, skip_list=args.skip)
if args.extras is not None:
for package in args.extras:
do_link(package, force=args.yes, skip_list=args.skip)

print(
"Created links.\n\nIf you run into issues initializing Ray, please "
Expand Down

0 comments on commit 4a49653

Please sign in to comment.