Skip to content

Commit

Permalink
specify dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyan128 committed Jul 17, 2024
1 parent 125b4ea commit eba7d38
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,17 @@ dependencies = [
]

[tool.hatch.envs.hatch-test]
template = "default"
dependencies= [
"coverage[toml] < 7.3.0"
dependencies = [
# The default hatch-test dependencies are not compatible with Python 3.7, a version we want to test against. Hence
# we need to specify our own dependencies here.
# https://github.com/pypa/hatch/blob/3adae6c0dfd5c20dfe9bf6bae19b44a696c22a43/src/hatch/env/internal/test.py
"coverage[toml] < 7.3.0",
'coverage-enable-subprocess==1.0',
'pytest~=8.1',
'pytest-mock~=3.12',
'pytest-randomly~=3.15',
'pytest-rerunfailures~=14.0',
'pytest-xdist[psutil]~=3.5',
]

[[tool.hatch.envs.hatch-test.matrix]]
Expand Down

0 comments on commit eba7d38

Please sign in to comment.