Skip to content

Commit 91697b6

Browse files
authored
Merge pull request #17 from jonathan343/meta-package-improvements
Minor Improvements to `aws-sdk`: - Add `__version__` attribute. - Pin to specific AWS client versions
2 parents 4812bd3 + b1ab7f9 commit 91697b6

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

clients/aws-sdk/pyproject.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "aws-sdk"
3-
version = "0.0.1"
3+
dynamic = ["version"]
44
description = "Meta-package containing all AWS service clients."
55
readme = "README.md"
66
requires-python = ">=3.12"
@@ -21,16 +21,17 @@ classifiers = [
2121
dependencies = []
2222

2323
[project.optional-dependencies]
24+
bedrock_runtime = ["aws_sdk_bedrock_runtime==0.0.2"]
2425
all = [
25-
"aws_sdk_bedrock_runtime",
26-
]
27-
bedrock_runtime = [
28-
"aws_sdk_bedrock_runtime",
26+
"aws_sdk[bedrock_runtime]",
2927
]
3028

3129
[build-system]
3230
requires = ["hatchling"]
3331
build-backend = "hatchling.build"
3432

33+
[tool.hatch.version]
34+
path = "src/aws_sdk/__init__.py"
35+
3536
[tool.ruff]
3637
src = ["src"]
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
3+
__version__ = "0.0.1"
4+
35

46
# TODO: Consider adding relative imports for services from the top level namespace?

0 commit comments

Comments
 (0)