Skip to content

Commit 6baf6cc

Browse files
author
EhteshamSid
committed
chore(integration): bump cryptography to 46.0.6
1 parent 81fac52 commit 6baf6cc

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

samcli/lib/sync/infra_sync_executor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class InfraSyncResult:
7272
_infra_sync_executed: bool
7373
_code_sync_resources: Set[ResourceIdentifier]
7474

75-
def __init__(self, executed: bool, code_sync_resources: Set[ResourceIdentifier] = set()) -> None:
75+
def __init__(self, executed: bool, code_sync_resources: Set[ResourceIdentifier] = None) -> None:
7676
"""
7777
Constructor
7878
@@ -83,6 +83,8 @@ def __init__(self, executed: bool, code_sync_resources: Set[ResourceIdentifier]
8383
code_sync_resources: Set[ResourceIdentifier]
8484
Resources that needs a code sync
8585
"""
86+
if code_sync_resources is None:
87+
code_sync_resources = set()
8688
self._infra_sync_executed = executed
8789
self._code_sync_resources = code_sync_resources
8890

tests/integration/durable_integ_base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,13 @@ def log_output():
143143
def assert_invoke_output(
144144
self,
145145
stdout: str,
146-
input_data: Dict[str, Any] = {},
146+
input_data: Dict[str, Any] = None,
147147
execution_name: Optional[str] = None,
148148
expected_status: str = "SUCCEEDED",
149149
) -> str:
150150
"""Assert invoke output contains expected fields and return execution ARN."""
151+
if input_data is None:
152+
input_data = {}
151153
stdout_str = stdout.strip()
152154

153155
self.assertIn("Execution Summary:", stdout_str, f"Expected execution summary in output: {stdout_str}")
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
numpy<1.20.3; python_version < '3.10'
22
numpy==1.26.4; python_version >= '3.10'
3-
cryptography==3.3.2
3+
cryptography==46.0.6
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
numpy<=2.2.6
2-
requests
2+
requests==2.33.0

tests/regression/deploy/regression_deploy_base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ def get_deploy_command_list(
8585

8686
return command_list
8787

88-
def deploy_regression_check(self, args, sam_return_code=0, aws_return_code=0, commands=[]):
88+
def deploy_regression_check(self, args, sam_return_code=0, aws_return_code=0, commands=None):
89+
if commands is None:
90+
commands = []
8991
sam_stack_name = args.get("sam_stack_name", None)
9092
aws_stack_name = args.get("aws_stack_name", None)
9193
if sam_stack_name:

0 commit comments

Comments
 (0)