From 827db0d7f5e574e5d1c888597754369656ef0cf2 Mon Sep 17 00:00:00 2001 From: Balaji Veeramani Date: Wed, 31 May 2023 10:33:50 -0700 Subject: [PATCH] Fix CI failures (#35910) https://github.com/ray-project/ray/pull/35286 broke CI. These issues weren't caught earlier because the PR was out of date with master. --- bazel/BUILD | 2 +- doc/BUILD | 3 ++- python/ray/experimental/BUILD | 1 + python/ray/scripts/BUILD | 1 + python/ray/serve/BUILD | 11 ++++++++++- python/ray/tests/gcp/test_gcp_node_provider.py | 2 +- python/ray/workflow/BUILD | 1 + 7 files changed, 17 insertions(+), 4 deletions(-) diff --git a/bazel/BUILD b/bazel/BUILD index ba6d78cecbe6e..4c5629d65863b 100644 --- a/bazel/BUILD +++ b/bazel/BUILD @@ -1,4 +1,4 @@ exports_files([ "pytest_wrapper.py", - "conftest.py" + "conftest.py", ]) diff --git a/doc/BUILD b/doc/BUILD index b013e027572b8..6937676f34e3c 100644 --- a/doc/BUILD +++ b/doc/BUILD @@ -319,5 +319,6 @@ doctest( "source/rllib/rllib-sample-collection.rst", ] ), - size="large" + size = "large", + tags = ["team:none"] ) diff --git a/python/ray/experimental/BUILD b/python/ray/experimental/BUILD index bda22e70d1f63..8055e04e7871f 100644 --- a/python/ray/experimental/BUILD +++ b/python/ray/experimental/BUILD @@ -2,4 +2,5 @@ load("//bazel:python.bzl", "doctest") doctest( files = glob(["**/*.py"]), + tags = ["team:none"] ) diff --git a/python/ray/scripts/BUILD b/python/ray/scripts/BUILD index bda22e70d1f63..297b3cf70fe6a 100644 --- a/python/ray/scripts/BUILD +++ b/python/ray/scripts/BUILD @@ -2,4 +2,5 @@ load("//bazel:python.bzl", "doctest") doctest( files = glob(["**/*.py"]), + tags = ["team:core"] ) diff --git a/python/ray/serve/BUILD b/python/ray/serve/BUILD index ebb03210c5ec4..474b418b6c91e 100644 --- a/python/ray/serve/BUILD +++ b/python/ray/serve/BUILD @@ -1,7 +1,16 @@ load("//bazel:python.bzl", "doctest") doctest( - files = glob(["**/*.py"], exclude=["examples/**/*", "tests/**/*", "benchmarks/**/*"]), + files = glob( + ["**/*.py"], + exclude=[ + "examples/**", + "tests/**", + "benchmarks/**", + # FIXME: Failing on Windows + "gradio_integrations.py" + ] + ), tags = ["team:serve"] ) diff --git a/python/ray/tests/gcp/test_gcp_node_provider.py b/python/ray/tests/gcp/test_gcp_node_provider.py index 7c551455a29ff..88d77d77c33ce 100644 --- a/python/ray/tests/gcp/test_gcp_node_provider.py +++ b/python/ray/tests/gcp/test_gcp_node_provider.py @@ -10,7 +10,7 @@ GCPResource, ) -from python.ray.autoscaler._private.gcp.node_provider import GCPNodeProvider +from ray.autoscaler._private.gcp.node_provider import GCPNodeProvider _PROJECT_NAME = "project-one" _AZ = "us-west1-b" diff --git a/python/ray/workflow/BUILD b/python/ray/workflow/BUILD index f572392099c8f..eae454c6865ac 100644 --- a/python/ray/workflow/BUILD +++ b/python/ray/workflow/BUILD @@ -8,6 +8,7 @@ load("//bazel:python.bzl", "doctest") doctest( files = glob(["**/*.py"], exclude=["tests/**/*", "examples/**/*"]), + tags = ["team:none"] ) SRCS = glob(["**/conftest.py"])