Skip to content

Commit f3a8f1e

Browse files
committed
📌 move pytest and pytest-asyncio to test dependencies in pyproject.toml
1 parent a3b6eb9 commit f3a8f1e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,17 @@ dev = [
7070
"coverage~=7.8",
7171
"mypy~=1.15.0",
7272
"pre-commit==4.2.0",
73-
"pytest~=8.3.5",
74-
"pytest-asyncio~=0.24.0",
7573
"ruff>=0.11.9",
7674
"tox>=4.27.0",
7775
"tox-gh>=1.5.0",
7876
"tox-uv>=1.26.1",
7977
]
8078

79+
test = [# Not in `dev` becuase we use tox for testing. Tox will install these dependencies.
80+
"pytest~=8.3.5",
81+
"pytest-asyncio~=0.24.0",
82+
]
83+
8184
[tool.hatch.version]
8285
source = "vcs"
8386

@@ -326,8 +329,7 @@ env_list = ["3.13", "3.12", "3.11", "3.10"]
326329
[tool.tox.env_run_base]
327330
description = "run unit tests"
328331
commands = [["pytest", { replace = "posargs", default = ["tests"], extend = true }]]
329-
#runner = "uv-venv-lock-runner"
330-
dependency_groups = ["dev"]
332+
dependency_groups = ["test"]
331333

332334
# GitHub actions
333335
[tool.tox.gh.python]

0 commit comments

Comments
 (0)