diff --git a/pyproject.toml b/pyproject.toml index d6b1f9b3..3196bc8b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ dynamic = ["version"] dependencies = [ "requests ~= 2.31", "boto3 >= 1.28.80", - "deadline == 0.37.*", + "deadline == 0.38.*", "openjd-sessions == 0.5.*", # tomli became tomllib in standard library in Python 3.11 "tomli == 2.0.* ; python_version<'3.11'", diff --git a/src/deadline_worker_agent/sessions/session.py b/src/deadline_worker_agent/sessions/session.py index a3360fb6..3ba3e9f2 100644 --- a/src/deadline_worker_agent/sessions/session.py +++ b/src/deadline_worker_agent/sessions/session.py @@ -376,7 +376,7 @@ def _cleanup(self) -> None: finally: if self._asset_sync is not None and self._job_attachment_details is not None: # terminate any running virtual file systems - self._asset_sync.cleanup_session( # type: ignore[attr-defined] + self._asset_sync.cleanup_session( session_dir=self._session.working_directory, file_system=self._job_attachment_details.job_attachments_file_system, )