-
Notifications
You must be signed in to change notification settings - Fork 107
Expand file tree
/
Copy pathpyproject.toml
More file actions
169 lines (150 loc) · 4.03 KB
/
pyproject.toml
File metadata and controls
169 lines (150 loc) · 4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "bedrock-agentcore"
version = "1.6.1"
description = "An SDK for using Bedrock AgentCore"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
authors = [
{ name = "AWS", email = "opensource@amazon.com" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"boto3>=1.42.86",
"botocore>=1.42.86",
"pydantic>=2.0.0,<2.41.3",
"urllib3>=1.26.0",
"starlette>=0.46.2",
"typing-extensions>=4.13.2,<5.0.0",
"uvicorn>=0.34.2",
"websockets>=12.0",
]
[project.scripts]
bedrock-agentcore = "bedrock_agentcore.cli:main"
[tool.hatch.metadata]
allow-direct-references = true
[project.urls]
Homepage = "https://github.com/aws/bedrock-agentcore-sdk-python"
"Bug Tracker" = "https://github.com/aws/bedrock-agentcore-sdk-python/issues"
Documentation = "https://github.com/aws/bedrock-agentcore-sdk-python"
[tool.hatch.build.targets.wheel]
packages = ["src/bedrock_agentcore"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
follow_untyped_imports = true
ignore_missing_imports = false
[tool.ruff]
line-length = 120
include = ["examples/**/*.py", "src/**/*.py", "tests/**/*.py", "tests_integ/**/*.py"]
exclude = ["**/*.md"]
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"D", # pydocstyle
"E", # pycodestyle
"F", # pyflakes
"G", # logging format
"I", # isort
"LOG", # logging
]
[tool.ruff.lint.per-file-ignores]
"!src/**/*.py" = ["D"]
"src/bedrock_agentcore/memory/metadata-workflow.ipynb" = ["E501"]
[tool.ruff.lint.isort]
known-third-party = ["a2a"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
testpaths = [
"tests"
]
asyncio_mode = "auto"
[tool.coverage.run]
branch = true
source = ["src"]
context = "thread"
parallel = true
concurrency = ["thread", "multiprocessing"]
[tool.coverage.report]
show_missing = true
fail_under = 90
skip_covered = false
skip_empty = false
[tool.coverage.html]
directory = "build/coverage/html"
[tool.coverage.xml]
output = "build/coverage/coverage.xml"
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
bump_message = "chore(release): bump version $current_version -> $new_version"
version_files = [
"pyproject.toml:version",
]
update_changelog_on_bump = true
style = [
["qmark", "fg:#ff9d00 bold"],
["question", "bold"],
["answer", "fg:#ff9d00 bold"],
["pointer", "fg:#ff9d00 bold"],
["highlighted", "fg:#ff9d00 bold"],
["selected", "fg:#cc5454"],
["separator", "fg:#cc5454"],
["instruction", ""],
["text", ""],
["disabled", "fg:#858585 italic"]
]
[dependency-groups]
dev = [
"httpx>=0.28.1",
"moto>=5.1.6",
"mypy>=1.16.1",
"pre-commit>=4.2.0",
"pytest>=8.4.1",
"pytest-asyncio>=0.24.0",
"pytest-cov>=6.0.0",
"pytest-order>=1.3.0",
"pytest-rerunfailures>=15.0",
"ruff>=0.12.0",
"websockets>=14.1",
"wheel>=0.45.1",
"strands-agents>=1.18.0",
"strands-agents-evals>=0.1.0",
"a2a-sdk[http-server]>=0.3",
"ag-ui-protocol>=0.1.10",
]
[project.optional-dependencies]
a2a = ["a2a-sdk[http-server]>=0.3"]
ag-ui = ["ag-ui-protocol>=0.1.10"]
strands-agents = [
"strands-agents>=1.1.0"
]
strands-agents-evals = [
"strands-agents-evals>=0.1.0"
]