Skip to content

Commit c1683de

Browse files
committed
fix: replace lambdainternal client with botocore lib having latest Lambda client model
- Remove load_preview_botocore_models() calls from initialize_from_env() - Update boto3.client() calls from lambdainternal to lambda - Remove lambdainternal botocore model files - Add boto3/botocore wheel files to lib directory - Update tests to expect lambda client instead of lambdainternal - Add allow-direct-references = true to pyproject.toml
1 parent 0307cf9 commit c1683de

6 files changed

Lines changed: 17 additions & 12096 deletions

File tree

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ classifiers = [
1818
"Programming Language :: Python :: Implementation :: CPython",
1919
"Programming Language :: Python :: Implementation :: PyPy",
2020
]
21-
dependencies = ["boto3>=1.40.30"]
21+
dependencies = [
22+
# TODO replace following with `"boto3>=1.40.30"` when we switch bundled botocore with publically available one
23+
"botocore @ file:lib/botocore-1.40.51-py3-none-any.whl",
24+
"boto3 @ file:lib/boto3-1.40.51-py3-none-any.whl"
25+
]
2226

2327
[project.urls]
2428
Documentation = "https://github.com/aws/aws-durable-execution-sdk-python#readme"
@@ -34,6 +38,10 @@ packages = ["src/aws_durable_execution_sdk_python"]
3438
[tool.hatch.version]
3539
path = "src/aws_durable_execution_sdk_python/__about__.py"
3640

41+
# TODO remove this when we switch bundled botocore with publically available one
42+
[tool.hatch.metadata]
43+
allow-direct-references = true
44+
3745
[tool.hatch.envs.test]
3846
dependencies = ["coverage[toml]", "pytest", "pytest-cov"]
3947

0 commit comments

Comments
 (0)