From cb9f28f0498db15bda6e5ab9570df50987d56444 Mon Sep 17 00:00:00 2001 From: Stephen Crowe Date: Thu, 5 Sep 2024 12:30:25 -0700 Subject: [PATCH] fix: auto-install GUI dependencies (#114) * fix: auto-install GUI dependencies Signed-off-by: Stephen Crowe --- pyproject.toml | 2 +- src/deadline/keyshot_submitter/Submit to AWS Deadline Cloud.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ccdb221..70bec61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ classifiers = [ ] dependencies = [ - "deadline >= 0.48.7,< 0.49", + "deadline >= 0.48.8,< 0.49", "openjd-adaptor-runtime >= 0.7,< 0.9", ] diff --git a/src/deadline/keyshot_submitter/Submit to AWS Deadline Cloud.py b/src/deadline/keyshot_submitter/Submit to AWS Deadline Cloud.py index 8041d42..f2a11b8 100644 --- a/src/deadline/keyshot_submitter/Submit to AWS Deadline Cloud.py +++ b/src/deadline/keyshot_submitter/Submit to AWS Deadline Cloud.py @@ -318,7 +318,7 @@ def gui_submit(bundle_directory: str) -> Optional[dict[str, Any]]: shell_executable, "-i", "-c", - f"echo \"START_DEADLINE_OUTPUT\";deadline bundle gui-submit '{bundle_directory}' --output json", + f"echo \"START_DEADLINE_OUTPUT\";deadline bundle gui-submit '{bundle_directory}' --output json --install-gui", ], check=True, capture_output=True, @@ -335,6 +335,7 @@ def gui_submit(bundle_directory: str) -> Optional[dict[str, Any]]: str(bundle_directory), "--output", "json", + "--install-gui", ], check=True, capture_output=True,