Skip to content

Commit 9a6659d

Browse files
committedNov 6, 2024·
Pin dependency versions in pyproject.toml
It is good for top-level application to pin versions of direct dependencies. This then makes updates to those explicit with the help of automated update tools like dependabot and Mend renovate.
1 parent 099841d commit 9a6659d

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed
 

‎pyproject.toml

+11-11
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ description = ""
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
8-
"attrs >=24.2.0,<25",
9-
"typer >=0.12.5,<0.13",
10-
"joblib >=1.4.2,<2",
8+
"attrs ==24.2.0",
9+
"typer ==0.12.5",
10+
"joblib ==1.4.2",
1111
]
1212

1313
[project.scripts]
@@ -40,14 +40,14 @@ shellcheck $(git ls-files | grep '\\..*sh')
4040

4141
[dependency-groups]
4242
dev = [
43-
"ruff >=0.7,<0.8",
44-
"pyright[nodejs] >=1.1.383,<2,!=1.1.384",
45-
"joblib-stubs >=1.4.2.5.20240918,<2",
46-
"mypy >=1.11.2,<2",
47-
"pytest >=8.3.3,<9",
48-
"snakeviz >=2.2.0,<3",
49-
"tuna >=0.5.11,<0.6",
50-
"pyinstrument >=5,<6",
43+
"ruff ==0.7.2",
44+
"pyright[nodejs] ==1.1.387",
45+
"joblib-stubs ==1.4.2.5.20240918",
46+
"mypy ==1.13.0",
47+
"pytest ==8.3.3",
48+
"snakeviz ==2.2.0",
49+
"tuna ==0.5.11",
50+
"pyinstrument ==5.0.0",
5151
]
5252

5353
[tool.pyright]

‎uv.lock

+13-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.