Skip to content

Commit 7a5cd36

Browse files
authored
Remove ray.workflow package (#53612)
Completes the deprecation of workflows. `import ray.workflows` will raise: ``` RuntimeError: The experimental Ray Workflows library was deprecated in Ray 2.44 and has been removed. The last Ray release containing ray.workflows is `ray==2.47`. ``` --------- Signed-off-by: Edward Oakes <[email protected]>
1 parent 6077a93 commit 7a5cd36

File tree

115 files changed

+4
-12717
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+4
-12717
lines changed

.buildkite/core.rayci.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -158,24 +158,6 @@ steps:
158158
--test-env=TEST_EXTERNAL_REDIS=1
159159
--only-tags=tmpfs --tmp-filesystem=tmpfs
160160

161-
- label: ":ray: core: workflow tests"
162-
tags:
163-
- python
164-
- workflow
165-
- oss
166-
- skip-on-premerge
167-
instance_type: medium
168-
parallelism: 2
169-
commands:
170-
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/workflow/... core
171-
--workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}"
172-
--except-tags use_all_core
173-
--parallelism-per-worker 2
174-
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/workflow/... core
175-
--workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}"
176-
--skip-ray-installation
177-
--only-tags use_all_core
178-
179161
- label: ":ray: core: doc tests"
180162
tags:
181163
- python

ci/lint/check_api_annotations.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ def verify(symbol, scanned, ok, output, prefix=None, ignore=None):
8787
import ray.serve
8888
import ray.train
8989
import ray.tune
90-
import ray.workflow
9190

9291
output = set()
9392
ok = set()
@@ -104,13 +103,12 @@ def verify(symbol, scanned, ok, output, prefix=None, ignore=None):
104103
set(),
105104
ok,
106105
output,
107-
ignore=["ray.workflow", "ray.tune", "ray.serve"],
106+
ignore=["ray.tune", "ray.serve"],
108107
)
109108
verify(ray.serve, set(), ok, output)
110109
assert len(ok) >= 500, len(ok)
111110
# TODO(ekl) enable it for all modules.
112111
# verify(ray.tune, set(), ok, output)
113-
# verify(ray.workflow, set(), ok, output)
114112

115113
print("Num ok", len(ok))
116114
print("Num bad", len(output))

doc/BUILD

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,6 @@ doctest(
447447
"source/train/**/*.rst",
448448
"source/tune/**/*.md",
449449
"source/tune/**/*.rst",
450-
"source/workflows/**/*.md",
451-
"source/workflows/**/*.rst",
452450
],
453451
),
454452
tags = ["team:none"],
@@ -593,17 +591,6 @@ doctest(
593591
tags = ["team:ml"],
594592
)
595593

596-
doctest(
597-
name = "doctest[workflow]",
598-
files = glob(
599-
include = [
600-
"source/workflows/**/*.md",
601-
"source/workflows/**/*.rst",
602-
],
603-
),
604-
tags = ["team:core"],
605-
)
606-
607594
filegroup(
608595
name = "example_configs",
609596
srcs = glob(["source/ray-overview/examples/**/*.yaml"]),

doc/source/ray-more-libs/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ More Ray ML Libraries
1212
mars-on-ray
1313
modin/index
1414
data_juicer_distributed_data_processing
15-
Ray Workflows (Deprecated) <../workflows/index>
1615

1716

1817
.. TODO: we added the three Ray Core examples below, since they don't really belong there.

doc/source/workflows/advanced.rst

Lines changed: 0 additions & 29 deletions
This file was deleted.

doc/source/workflows/api/api.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

doc/source/workflows/api/execution.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

doc/source/workflows/api/management.rst

Lines changed: 0 additions & 18 deletions
This file was deleted.

doc/source/workflows/basic.png

-15.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)