Skip to content

Commit aa6f383

Browse files
committed
use uv workspaces to handle deps
1 parent ca5f211 commit aa6f383

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
cache-dependency-path: "python/${{ matrix.project }}/uv.lock" # Update cache if uv.lock changes
4040

4141
- name: Install the project
42-
run: uv sync --all-extras --dev
42+
run: uv sync --group dev --all-extras
4343

4444
- name: Configure path
4545
run: echo "$PWD/.venv/bin" >> $GITHUB_PATH

python/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tool.uv.workspace]
2+
members = ["thirdweb-ai", "thirdweb-mcp"]

python/thirdweb-ai/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ dev = [
4949
"pytest-mock>=3.12.0,<4",
5050
"pytest-cov>=4.1.0,<5",
5151
"ipython>=8.34.0",
52+
"thirdweb-mcp",
5253
]
5354

5455
[tool.hatch.build.targets.sdist]
@@ -88,6 +89,9 @@ vcs = "git"
8889
style = "semver"
8990
format = "{base}"
9091

92+
[tool.uv.sources]
93+
thirdweb-mcp = { workspace = true }
94+
9195
[tool.pyright]
9296
include = ["src"]
9397
typeCheckingMode = "strict"

python/thirdweb-mcp/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ thirdweb-mcp = "src.mcp:main"
1414
dev = [
1515
"ruff>=0.9.10,<0.10",
1616
"pyright>=1.1.396,<2",
17+
"thirdweb-ai[mcp]",
1718
]
1819

1920
[tool.hatch.build.targets.sdist]
@@ -47,3 +48,6 @@ vcs = "git"
4748
style = "semver"
4849
format = "{base}"
4950
dev_mode = "env:THIRDWEB_DEV_MODE"
51+
52+
[tool.uv.sources]
53+
thirdweb-ai = { workspace = true }

0 commit comments

Comments
 (0)