Skip to content

Commit 6f4e5ec

Browse files
Pin dev/test dependencies (#256)
2 parents a636054 + cc0f95a commit 6f4e5ec

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

pyproject.toml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -56,35 +56,35 @@ docs-gen = [
5656
"mkdocstrings[python] >= 0.19.0, < 0.20.0",
5757
]
5858
docs-lint = [
59-
"pydocstyle",
60-
"darglint",
61-
"tomli", # Needed by pydocstyle to read pyproject.toml
59+
"pydocstyle >= 6.3.0, < 7",
60+
"darglint >= 1.8.1, < 2",
61+
"tomli >= 2.0.1, < 3", # Needed by pydocstyle to read pyproject.toml
6262
]
6363
format = [
64-
"black",
65-
"isort",
64+
"black >= 23.1.0, < 24",
65+
"isort >= 5.12.0, < 6",
6666
]
6767
nox = [
68-
"nox",
69-
"toml",
68+
"nox == 2022.11.21",
69+
"toml >= 0.10.2, < 1",
7070
]
7171
pytest = [
72-
"pytest",
73-
"pytest-cov",
74-
"pytest-mock",
75-
"pytest-asyncio",
76-
"time-machine",
77-
"async-solipsism",
72+
"pytest >= 7.2.1, < 8",
73+
"pytest-cov >= 4.0.0, < 5",
74+
"pytest-mock >= 3.10.0, < 4",
75+
"pytest-asyncio >= 0.20.3, < 1",
76+
"time-machine >= 2.9.0, < 3",
77+
"async-solipsism >= 0.5, < 1",
7878
]
7979
mypy = [
80-
"mypy",
81-
"pandas-stubs",
82-
"grpc-stubs",
80+
"mypy >= 1.0.1, < 2",
81+
"pandas-stubs == 1.5.3.230304",
82+
"grpc-stubs == 1.24.12", # This dependency introduces breaking changes in patch releases
8383
# For checking the noxfile, docs/ script, and tests
8484
"frequenz-sdk[docs-gen,nox,pytest]",
8585
]
8686
pylint = [
87-
"pylint",
87+
"pylint >= 2.17.0, < 3",
8888
# For checking the noxfile, docs/ script, and tests
8989
"frequenz-sdk[docs-gen,nox,pytest]",
9090
]

0 commit comments

Comments
 (0)