diff --git a/python/ray/tune/integration/docker.py b/python/ray/tune/integration/docker.py deleted file mode 100644 index c3134bcf7394..000000000000 --- a/python/ray/tune/integration/docker.py +++ /dev/null @@ -1,21 +0,0 @@ -from ray.util.annotations import Deprecated - - -@Deprecated -class DockerSyncer: - def __init__(self, *args, **kwargs): - raise DeprecationWarning( - "DockerSyncer has been fully deprecated. There is no need to " - "use this syncer anymore - data syncing will happen automatically " - "using the Ray object store. You can just remove passing this class." - ) - - -@Deprecated -class DockerSyncClient: - def __init__(self, *args, **kwargs): - raise DeprecationWarning( - "DockerSyncClient has been fully deprecated. There is no need to " - "use this syncer anymore - data syncing will happen automatically " - "using the Ray object store. You can just remove passing this class." - ) diff --git a/python/ray/tune/integration/kubernetes.py b/python/ray/tune/integration/kubernetes.py deleted file mode 100644 index ad8dad78c722..000000000000 --- a/python/ray/tune/integration/kubernetes.py +++ /dev/null @@ -1,30 +0,0 @@ -from ray.util.annotations import Deprecated - - -@Deprecated -class KubernetesSyncer: - def __init__(self, *args, **kwargs): - - raise DeprecationWarning( - "KubernetesSyncer has been fully deprecated. There is no need to " - "use this syncer anymore - data syncing will happen automatically " - "using the Ray object store. You can just remove passing this class." - ) - - -@Deprecated -class KubernetesSyncClient: - def __init__(self, *args, **kwargs): - raise DeprecationWarning( - "KubernetesSyncClient has been fully deprecated. There is no need to " - "use this syncer anymore - data syncing will happen automatically " - "using the Ray object store. You can just remove passing this class." - ) - - -def NamespacedKubernetesSyncer(namespace: str): - raise DeprecationWarning( - "NamespacedKubernetesSyncer has been fully deprecated. There is no need to " - "use this syncer anymore - data syncing will happen automatically " - "using the Ray object store. You can just remove passing this class." - ) diff --git a/python/ray/tune/sync_client.py b/python/ray/tune/sync_client.py deleted file mode 100644 index ff106f2ad901..000000000000 --- a/python/ray/tune/sync_client.py +++ /dev/null @@ -1,44 +0,0 @@ -import abc -import logging - -from ray.util.annotations import Deprecated - -logger = logging.getLogger(__name__) - - -@Deprecated -class SyncClient(abc.ABC): - """Client interface for interacting with remote storage options.""" - - def __init__(self, *args, **kwargs): - raise DeprecationWarning( - "SyncClient has been deprecated. Please implement a " - "`ray.tune.syncer.Syncer` instead." - ) - - -@Deprecated -class FunctionBasedClient(SyncClient): - def __init__(self, *args, **kwargs): - raise DeprecationWarning( - "FunctionBasedClient has been deprecated. Please implement a " - "`ray.tune.syncer.Syncer` instead." - ) - - -@Deprecated -class CommandBasedClient(SyncClient): - def __init__(self, *args, **kwargs): - raise DeprecationWarning( - "CommandBasedClient has been deprecated. Please implement a " - "`ray.tune.syncer.Syncer` instead." - ) - - -@Deprecated -class RemoteTaskClient(SyncClient): - def __init__(self, *args, **kwargs): - raise DeprecationWarning( - "RemoteTaskClient has been deprecated. Please implement a " - "`ray.tune.syncer.Syncer` instead." - )