Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 1.48 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (51 loc) · 1.48 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
[project]
name = "temporalio-samples-bedrock-agentcore-strands"
version = "0.1a1"
description = "Temporal.io Python SDK Strands agent on Amazon Bedrock AgentCore sample"
authors = [{ name = "Temporal Technologies Inc", email = "sdk@temporal.io" }]
requires-python = ">=3.10"
readme = "README.md"
license = "MIT"
dependencies = [
"temporalio[strands-agents,pydantic]>=1.32.0,<2",
"strands-agents>=1.39.0",
"bedrock-agentcore>=1.9.1",
"strands-agents-tools>=0.5.2",
]
[dependency-groups]
dev = [
"ruff>=0.5.0,<0.6",
"mypy>=1.4.1,<2",
"poethepoet>=0.36.0",
"pytest>=7.1.2,<8",
"pytest-asyncio>=0.18.3,<0.19",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["."]
[tool.poe.tasks]
format = [
{ cmd = "uv run ruff check --select I --fix" },
{ cmd = "uv run ruff format" },
]
lint = [
{ cmd = "uv run ruff check --select I" },
{ cmd = "uv run ruff format --check" },
{ ref = "lint-types" },
]
lint-types = "uv run --all-groups mypy --check-untyped-defs --namespace-packages ."
test = "uv run pytest"
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.ruff]
target-version = "py310"
# `agentcore deploy` generates a CDK scaffold here and stages the whole
# dependency tree under .cache/ when it builds; neither is ours to lint.
extend-exclude = ["agentcore"]
[tool.mypy]
ignore_missing_imports = true
exclude = ["agentcore/"]