From f475e01e78e79607dee67006d7aa2a62bdb119f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeroen=20B=C3=A9dorf?= Date: Thu, 22 Dec 2022 19:57:47 +0100 Subject: [PATCH] Fix another couple of paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jeroen BĂ©dorf --- python/ray/_private/node.py | 3 ++- python/ray/_private/services.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/python/ray/_private/node.py b/python/ray/_private/node.py index db80b531760b5..5f3652df9d3b0 100644 --- a/python/ray/_private/node.py +++ b/python/ray/_private/node.py @@ -143,7 +143,8 @@ def __init__( ), setup_worker_path=os.path.join( os.path.dirname(os.path.abspath(__file__)), - f"workers/{ray_constants.SETUP_WORKER_FILENAME}", + "workers", + ray_constants.SETUP_WORKER_FILENAME, ), ) diff --git a/python/ray/_private/services.py b/python/ray/_private/services.py index 830b4cb5b7289..2e9a8e90a44fb 100644 --- a/python/ray/_private/services.py +++ b/python/ray/_private/services.py @@ -42,7 +42,7 @@ RAY_HOME = os.path.join(os.path.dirname(os.path.dirname(__file__)), "..", "..") RAY_PATH = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) RAY_PRIVATE_DIR = "_private" -AUTOSCALER_PRIVATE_DIR = "autoscaler/_private" +AUTOSCALER_PRIVATE_DIR = os.path.join("autoscaler", "_private") # Location of the raylet executables. RAYLET_EXECUTABLE = os.path.join(