Skip to content

Commit 4166e25

Browse files
authored
Pin dependencies in groups (#1265)
1 parent ca79007 commit 4166e25

File tree

2 files changed

+28
-25
lines changed

2 files changed

+28
-25
lines changed

justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ push:
3232
git push && git push --tags
3333

3434
types:
35-
uv run tox -e types
35+
uv run --group test -- tox -e types
3636

3737
lint:
38-
uv run ruff check
38+
uv run --group quality -- ruff check
3939

4040
format:
41-
uv run ruff format --diff
41+
uv run --group quality -- ruff format --diff

pyproject.toml

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -74,35 +74,38 @@ Documentation = "http://torchio.rtfd.io"
7474
dev = [
7575
{ include-group = "doc" },
7676
{ include-group = "maintain" },
77+
{ include-group = "quality" },
7778
{ include-group = "test" },
78-
"ipykernel",
79-
"ruff>0.0.40",
80-
"ipywidgets",
79+
"ipykernel==6.29.5",
80+
"ipywidgets==8.1.5",
81+
"pre-commit-uv==4.1.4",
8182
]
8283
doc = [
83-
"einops",
84-
"furo",
85-
"matplotlib",
86-
"sphinx",
87-
"sphinx-autobuild",
88-
"sphinx-copybutton",
89-
"sphinx-gallery",
90-
"sphinxext-opengraph",
84+
"einops==0.8.0",
85+
"furo==2024.8.6",
86+
"matplotlib==3.9.4",
87+
"sphinx==7.4.7",
88+
"sphinx-autobuild==2024.10.3",
89+
"sphinx-copybutton==0.5.2",
90+
"sphinx-gallery==0.18.0",
91+
"sphinxext-opengraph==0.9.1",
9192
]
9293
maintain = [
93-
"bump-my-version",
94-
"pre-commit-uv",
94+
"bump-my-version==0.30.1",
95+
]
96+
quality = [
97+
"ruff==0.9.4",
98+
"mypy==1.14.1",
9599
]
96100
test = [
97-
"coverage>=5",
98-
"mypy>=0.800",
99-
"parameterized>=0.7",
100-
"pillow>=8",
101-
"pytest>=5",
102-
"pytest-cov",
103-
"pytest-sugar>=0.10",
104-
"tox-uv",
105-
"types-deprecated",
101+
"coverage==7.6.10",
102+
"parameterized==0.9.0",
103+
"pillow==11.0.0",
104+
"pytest==8.3.4",
105+
"pytest-cov==6.0.0",
106+
"pytest-sugar==1.0.0",
107+
"tox-uv==1.20.2",
108+
"types-deprecated==1.2.15.20241117",
106109
]
107110

108111
[tool.bumpversion]

0 commit comments

Comments
 (0)