Skip to content

Commit

Permalink
chore: upgrade deadline-cloud version to 0.34.* (#81)
Browse files Browse the repository at this point in the history
Signed-off-by: Gahyun Suh <[email protected]>
  • Loading branch information
gahyusuh authored and gmchale79 committed Feb 12, 2024
1 parent ccae501 commit df5d55f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ dynamic = ["version"]
dependencies = [
"requests ~= 2.31",
"boto3 >= 1.28.80",
"deadline == 0.33.*",
"openjd-sessions >= 0.2.3, < 0.3.0",
"deadline == 0.34.*",
"openjd-sessions == 0.2.*",
# tomli became tomllib in standard library in Python 3.11
"tomli == 2.0.* ; python_version<'3.11'",
"typing_extensions ~= 4.8",
Expand Down
1 change: 1 addition & 0 deletions src/deadline_worker_agent/sessions/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,7 @@ def progress_handler(job_upload_status: ProgressReportMetadata) -> bool:
if not isinstance(self._os_user, PosixSessionUser):
raise ValueError(f"The user must be a posix-user. Got {type(self._os_user)}")
fs_permission_settings = PosixFileSystemPermissionSettings(
os_user=self._os_user.user,
os_group=self._os_user.group,
dir_mode=0o20,
file_mode=0o20,
Expand Down
2 changes: 1 addition & 1 deletion test/unit/sessions/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
WindowsFileSystemPermissionSettings,
WindowsPermissionEnum,
)

import deadline_worker_agent.sessions.session as session_mod


Expand Down Expand Up @@ -560,6 +559,7 @@ def test_asset_loading_method(
fileSystem=job_attachments_file_system,
),
fs_permission_settings=PosixFileSystemPermissionSettings(
os_user="some-user",
os_group="some-group",
dir_mode=0o20,
file_mode=0o20,
Expand Down

0 comments on commit df5d55f

Please sign in to comment.