This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-task.git


The following commit(s) were added to refs/heads/main by this push:
     new 16e5943  added deps
16e5943 is described below

commit 16e5943c4e25ae873448783f793b787d9d87afed
Author: Michele Sciabarra <[email protected]>
AuthorDate: Tue Jul 8 11:48:32 2025 +0200

    added deps
---
 setup/docker/space.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/setup/docker/space.py b/setup/docker/space.py
index a5eac67..768f0cb 100644
--- a/setup/docker/space.py
+++ b/setup/docker/space.py
@@ -1,3 +1,8 @@
+# /// script
+# requires-python = ">=3.12"
+# depencies = []
+# ///
+
 import shutil
 import platform
 import os
@@ -14,6 +19,7 @@ def get_disk_space_gb(path=None):
 REQUIRED_SPACE = int(os.getenv("OPS_REQUIRED_SPACE", "34"))
 
 if __name__ == "__main__":
+    print(f"Checking disk space, required: {REQUIRED_SPACE}GB")
     free = get_disk_space_gb()
     if free < REQUIRED_SPACE:
         print(f"Not enough free disk space ({free}/{REQUIRED_SPACE}GB.)")

Reply via email to