Skip to content

Commit 387f256

Browse files
authored
Move test dependencies to pyproject.toml (#500)
1 parent 3c912ef commit 387f256

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

docs/source/changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ releases are available on [PyPI](https://pypi.org/project/pytask) and
2525
- {pull}`497` removes unnecessary code in the collection of tasks.
2626
- {pull}`498` fixes an error when using {class}`~pytask.Task` and
2727
{class}`~pytask.TaskWithoutPath` in task modules.
28+
- {pull}`500` refactors the dependencies for tests.
2829

2930
## 0.4.2 - 2023-11-08
3031

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ docs = [
6969
"sphinx-toolbox",
7070
"sphinxext-opengraph",
7171
]
72+
test = ["pytest", "pytest-cov", "pytest-xdist", "syrupy", "deepdiff", "pexpect"]
73+
7274
[project.urls]
7375
Changelog = "https://pytask-dev.readthedocs.io/en/stable/changes.html"
7476
Documentation = "https://pytask-dev.readthedocs.io/en/stable"

tox.ini

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,8 @@ platform =
99
windows: win32
1010

1111
[testenv:pytest]
12+
extras = test
1213
deps =
13-
# pytest
14-
coverage
15-
pytest
16-
pytest-cov
17-
pytest-xdist
18-
syrupy
19-
20-
# Optional and test dependencies
21-
deepdiff
22-
pexpect
2314
linux, macos: pygraphviz
2415

2516
commands =

0 commit comments

Comments
 (0)