diff --git a/python/ray/autoscaler/_private/autoscaler.py b/python/ray/autoscaler/_private/autoscaler.py index 3d787c4956a8..ba62e5c7d2ba 100644 --- a/python/ray/autoscaler/_private/autoscaler.py +++ b/python/ray/autoscaler/_private/autoscaler.py @@ -78,12 +78,6 @@ ) from ray.core.generated import gcs_service_pb2, gcs_service_pb2_grpc -try: - from urllib3.exceptions import MaxRetryError -except ImportError: - MaxRetryError = None - - logger = logging.getLogger(__name__) # Status of a node e.g. "up-to-date", see ray/autoscaler/tags.py diff --git a/python/requirements.txt b/python/requirements.txt index e04d5847ac42..59ce5d7448f1 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -40,7 +40,6 @@ colorful pyyaml rich gpustat>=1.0.0 -urllib3 opentelemetry-sdk fastapi virtualenv<20.21.1,>=20.0.24 diff --git a/python/setup.py b/python/setup.py index 08b4c91fb6db..776d09b7b531 100644 --- a/python/setup.py +++ b/python/setup.py @@ -264,7 +264,6 @@ def get_packages(self): ], "serve": ["uvicorn", "requests", "starlette", "fastapi", "aiorwlock"], "tune": ["pandas", "tensorboardX>=1.9", "requests", pyarrow_dep], - "k8s": ["urllib3"], "observability": [ "opentelemetry-api", "opentelemetry-sdk",