From e6ef01de32f784f3a0419ad0c12dd20702ef674f Mon Sep 17 00:00:00 2001 From: Tom White Date: Thu, 22 Feb 2024 10:55:02 +0000 Subject: [PATCH] Remove CUBED_MODAL_FORCE_BUILD env var since modal supports the equivalent MODAL_FORCE_BUILD from version 0.57.42 (#393) --- cubed/runtime/executors/modal.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/cubed/runtime/executors/modal.py b/cubed/runtime/executors/modal.py index 60c3fccf..68d1b24f 100644 --- a/cubed/runtime/executors/modal.py +++ b/cubed/runtime/executors/modal.py @@ -18,7 +18,6 @@ from cubed.spec import Spec RUNTIME_MEMORY_MIB = 2000 -FORCE_BUILD = os.getenv("CUBED_MODAL_FORCE_BUILD") is not None stub = modal.Stub("cubed-stub") @@ -40,8 +39,7 @@ "tenacity", "toolz", "zarr", - ], - force_build=FORCE_BUILD, + ] ) gcp_image = modal.Image.debian_slim().pip_install( [ @@ -54,8 +52,7 @@ "tenacity", "toolz", "zarr", - ], - force_build=FORCE_BUILD, + ] )