From 24103df5cb255ff698c59c8fa776047878b6fd23 Mon Sep 17 00:00:00 2001 From: Tom White Date: Mon, 17 Feb 2025 09:08:33 +0000 Subject: [PATCH] Changes in preparation for Modal 1.0 https://modal.com/docs/guide/modal-1-0-migration --- cubed/runtime/executors/modal.py | 2 +- cubed/tests/runtime/test_modal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cubed/runtime/executors/modal.py b/cubed/runtime/executors/modal.py index b285445f..41ecb242 100644 --- a/cubed/runtime/executors/modal.py +++ b/cubed/runtime/executors/modal.py @@ -16,7 +16,7 @@ RUNTIME_MEMORY_MIB = 2000 -app = modal.App("cubed-app") +app = modal.App("cubed-app", include_source=True) requirements_file = os.getenv("CUBED_MODAL_REQUIREMENTS_FILE") diff --git a/cubed/tests/runtime/test_modal.py b/cubed/tests/runtime/test_modal.py index a92dbaeb..399802e5 100644 --- a/cubed/tests/runtime/test_modal.py +++ b/cubed/tests/runtime/test_modal.py @@ -16,7 +16,7 @@ tmp_path = "s3://cubed-unittest/map_unordered" -app = modal.App("cubed-test-app") +app = modal.App("cubed-test-app", include_source=True) image = modal.Image.debian_slim().pip_install( [