Skip to content

Commit 2c8d2ba

Browse files
committed
make asyncio optional
1 parent be2ffea commit 2c8d2ba

File tree

2 files changed

+563
-484
lines changed

2 files changed

+563
-484
lines changed

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ dependencies = [
4444
"pygls>=1.3.1",
4545
"codeflash-benchmark",
4646
"filelock",
47-
"pytest-asyncio>=1.2.0",
4847
]
4948

5049
[project.urls]
@@ -53,8 +52,14 @@ Homepage = "https://codeflash.ai"
5352
[project.scripts]
5453
codeflash = "codeflash.main:main"
5554

55+
[project.optional-dependencies]
56+
asyncio = [
57+
"pytest-asyncio>=1.2.0",
58+
]
59+
5660
[dependency-groups]
5761
dev = [
62+
{include-group = "asyncio"},
5863
"ipython>=8.12.0",
5964
"mypy>=1.13",
6065
"ruff>=0.7.0",
@@ -77,6 +82,9 @@ dev = [
7782
"uv>=0.6.2",
7883
"pre-commit>=4.2.0,<5",
7984
]
85+
asyncio = [
86+
"pytest-asyncio>=1.2.0",
87+
]
8088

8189
[tool.hatch.build.targets.sdist]
8290
include = ["codeflash"]

0 commit comments

Comments
 (0)