Skip to content

Commit f18c99c

Browse files
authored
Merge pull request #54 from AI-agent-assembly/v0.0.1/AAASM-1216/config/pyproject_runtime_extras
[AAASM-1216] ✨ (pyproject): Add [runtime] extras and split [dependency-groups]
2 parents 14c1a0e + 070cbe9 commit f18c99c

2 files changed

Lines changed: 50 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ dependencies = [
3333
"protobuf>=5,<8",
3434
]
3535

36+
[project.optional-dependencies]
37+
# Triggers the platform wheel that bundles the aasm sidecar binary at
38+
# agent_assembly/bin/aasm. Empty list — selection is purely by the
39+
# platform-tagged wheel that maturin produces, not by extra deps.
40+
runtime = []
41+
# Catch-all alias for users who want the full SDK + runtime install.
42+
all = ["agent-assembly[runtime]"]
43+
3644
[project.scripts]
3745
aasm = "agent_assembly.cli.main:main"
3846

@@ -42,23 +50,30 @@ Repository = "https://github.com/agent-assembly/python-sdk"
4250

4351
[dependency-groups]
4452
dev = [
45-
"pytest>=8.1.1,<10",
46-
"pytest-cov>=5.0.0,<8",
4753
"coverage~=7.10",
48-
"pytest-rerunfailures>=14.0,<17",
49-
"pytest-asyncio>=0.23.0,<2",
5054
"python-dotenv>=1.0.1,<2",
51-
"ruff>=0.1.0",
52-
"pytest-benchmark>=4.0.0,<6",
5355
# AAASM-1654 (PR-E): grpcio-tools provides protoc + Python plugin used by
5456
# scripts/gen_proto.py to regenerate agent_assembly/proto/*_pb2*.py from
5557
# the sibling agent-assembly/proto/ checkout.
5658
"grpcio-tools>=1.66,<2",
59+
{ include-group = "lint" },
60+
{ include-group = "test" },
61+
]
62+
lint = [
63+
"ruff>=0.1.0",
64+
"mypy>=1.2.0,<3",
65+
]
66+
test = [
67+
"pytest>=8.1.1,<10",
68+
"pytest-cov>=5.0.0,<8",
69+
"pytest-rerunfailures>=14.0,<17",
70+
"pytest-asyncio>=0.23.0,<2",
71+
"pytest-benchmark>=4.0.0,<6",
5772
]
5873
pre-commit-ci = [
5974
"pre-commit>=3.5.0,<5",
6075
"pylint>=3.1.0,<5",
61-
"mypy>=1.2.0,<3",
76+
{ include-group = "lint" },
6277
]
6378
docs = [
6479
"mkdocs>=1.6.0,<2",

uv.lock

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)