Skip to content

Commit 01e4ccb

Browse files
committed
fix(deps): only pin build dependencies
Libraries should allow a broad version range, to be more compatible (within reason)
1 parent 84a5d9b commit 01e4ccb

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

pyproject.toml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ classifiers = [
2020
"Programming Language :: Python :: 3.11",
2121
"Programming Language :: Python :: 3.12",
2222
]
23-
dependencies = [
24-
"attrs~=20.3.0",
25-
"typing_extensions~=4.12.2",
26-
]
23+
dependencies = ["attrs>=20.3.0", "typing_extensions"]
2724

2825
[project.urls]
2926
Homepage = "https://github.com/TotallyNotRobots/py-irclib"
@@ -42,12 +39,12 @@ version-file = "irclib/_version.py"
4239

4340
[tool.hatch.envs.default]
4441
dependencies = [
45-
"coverage[toml]~=7.10",
46-
"pytest~=8.4",
47-
"irc-parser-tests",
48-
"pre-commit~=4.3.0",
49-
"mypy~=1.8",
50-
"ruamel.yaml~=0.18.15",
42+
"coverage[toml]==7.10",
43+
"pytest==8.4",
44+
"irc-parser-tests==0.0.4",
45+
"pre-commit==4.3.0",
46+
"mypy==1.8",
47+
"ruamel.yaml==0.18.15",
5148
]
5249
post-install-commands = [
5350
"hatch run pre-commit install -f"
@@ -60,9 +57,9 @@ fix-pre-commit = ["hatch run python3 -m scripts.fix_pre_commit"]
6057
default-args = ["tests", "irclib"]
6158
extra-args = ["-vv"]
6259
extra-dependencies = [
63-
"coverage[toml]~=7.10",
64-
"pytest~=8.4",
65-
"irc-parser-tests",
60+
"coverage[toml]==7.10",
61+
"pytest==8.4",
62+
"irc-parser-tests==0.0.4",
6663
]
6764

6865
[tool.hatch.envs.hatch-test.scripts]
@@ -74,7 +71,7 @@ cov-report = ["coverage report --show-missing --skip-covered", "coverage xml"]
7471
python = ["3.13", "3.12", "3.11", "3.10", "3.9"]
7572

7673
[tool.hatch.envs.types]
77-
extra-dependencies = ["mypy~=1.8"]
74+
extra-dependencies = ["mypy==1.8"]
7875
[tool.hatch.envs.types.scripts]
7976
check = "mypy --install-types --non-interactive {args:irclib tests}"
8077

0 commit comments

Comments
 (0)