Skip to content

Commit

Permalink
Move dev-dependencies to [dependency-groups] (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
markwaddle authored Dec 17, 2024
1 parent cb16997 commit a80b3b7
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 30 deletions.
5 changes: 2 additions & 3 deletions libraries/python/anthropic-client/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ dependencies = [
"semantic-workbench-assistant>=0.1.0",
]

[tool.uv]
package = true
dev-dependencies = ["pyright>=1.1.389", "pytest>=8.3.3"]
[dependency-groups]
dev = ["pyright>=1.1.389", "pytest>=8.3.3"]

[tool.uv.sources]
assistant-extensions = { path = "../assistant-extensions", editable = true }
Expand Down
5 changes: 2 additions & 3 deletions libraries/python/assistant-drive/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ dependencies = [
# "python-magic-bin>=0.4.14",
]

[tool.uv]
package = true
dev-dependencies = [
[dependency-groups]
dev = [
"pytest>=8.3.1",
"pytest-asyncio>=0.23.8",
"pytest-repeat>=0.9.3",
Expand Down
9 changes: 2 additions & 7 deletions libraries/python/assistant-extensions/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,8 @@ dependencies = [
[project.optional-dependencies]
attachments = ["docx2txt>=0.8", "pdfplumber>=0.11.2", "assistant-drive>=0.1.0"]

[tool.uv]
package = true
dev-dependencies = [
"pyright>=1.1.389",
"pytest>=8.3.1",
"pytest-asyncio>=0.23.8",
]
[dependency-groups]
dev = ["pyright>=1.1.389", "pytest>=8.3.1", "pytest-asyncio>=0.23.8"]

[tool.uv.sources]
anthropic-client = { path = "../anthropic-client", editable = true }
Expand Down
5 changes: 2 additions & 3 deletions libraries/python/context/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ dependencies = [
"events>=0.1.0",
]

[tool.uv]
package = true
dev-dependencies = [
[dependency-groups]
dev = [
"pyright>=1.1.389",
"pytest>=8.3.1",
"pytest-asyncio>=0.23.8",
Expand Down
5 changes: 2 additions & 3 deletions libraries/python/openai-client/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ dependencies = [
"tiktoken>=0.7.0",
]

[tool.uv]
package = true
dev-dependencies = ["pyright>=1.1.389", "pytest>=8.3.3"]
[dependency-groups]
dev = ["pyright>=1.1.389", "pytest>=8.3.3"]

[tool.uv.sources]
assistant-extensions = { path = "../assistant-extensions", editable = true }
Expand Down
5 changes: 2 additions & 3 deletions libraries/python/semantic-workbench-assistant/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ dependencies = [
"semantic-workbench-api-model>=0.1.0",
]

[tool.uv]
package = true
dev-dependencies = [
[dependency-groups]
dev = [
"asgi-lifespan>=2.1.0",
"pyright>=1.1.389",
"pytest>=7.4.3",
Expand Down
4 changes: 2 additions & 2 deletions libraries/python/skills/notebooks/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ dependencies = [
"skill-library>=0.1.0",
]

[tool.uv]
dev-dependencies = [
[dependency-groups]
dev = [
"ipykernel>=6.29.4",
"pyright>=1.1.389",
]
Expand Down
5 changes: 2 additions & 3 deletions libraries/python/skills/skill-library/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ dependencies = [
"tiktoken>=0.7.0",
]

[tool.uv]
package = true
dev-dependencies = [
[dependency-groups]
dev = [
"pyright>=1.1.389",
"pytest>=8.3.1",
"pytest-asyncio>=0.23.8",
Expand Down
5 changes: 2 additions & 3 deletions workbench-service/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ dependencies = [
"sse-starlette>=1.8.2",
]

[tool.uv]
package = true
dev-dependencies = [
[dependency-groups]
dev = [
"asgi-lifespan>=2.1.0",
"pyright>=1.1.389",
"pytest>=7.4.3",
Expand Down

0 comments on commit a80b3b7

Please sign in to comment.