Skip to content

Commit 56dab2e

Browse files
committed
ci(renovate): fix hatch dep version management
1 parent 3642643 commit 56dab2e

2 files changed

Lines changed: 13 additions & 9 deletions

File tree

.github/renovate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"github>TotallyNotRobots/renovate-config",
5+
"github>TotallyNotRobots/renovate-config//configs/hatch-manager.json",
56
":separateMajorReleases",
67
":separateMultipleMajorReleases",
78
":separateMultipleMinorReleases",

pyproject.toml

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

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

4043
[tool.hatch.envs.default]
4144
dependencies = [
42-
"coverage[toml]>=6.5",
43-
"pytest>=6.0",
45+
"coverage[toml]~=6.5",
46+
"pytest~=6.0",
4447
"irc-parser-tests",
45-
"pre-commit",
46-
"mypy>=1.8",
47-
"ruamel.yaml",
48+
"pre-commit~=4.3.0",
49+
"mypy~=1.8",
50+
"ruamel.yaml~=0.18.15",
4851
]
4952
post-install-commands = [
5053
"hatch run pre-commit install -f"
@@ -57,8 +60,8 @@ fix-pre-commit = ["hatch run python3 -m scripts.fix_pre_commit"]
5760
default-args = ["tests", "irclib"]
5861
extra-args = ["-vv"]
5962
extra-dependencies = [
60-
"coverage[toml]>=6.5",
61-
"pytest>=6.0",
63+
"coverage[toml]~=6.5",
64+
"pytest~=6.0",
6265
"irc-parser-tests",
6366
]
6467

@@ -71,7 +74,7 @@ cov-report = ["coverage report --show-missing --skip-covered", "coverage xml"]
7174
python = ["3.13", "3.12", "3.11", "3.10", "3.9"]
7275

7376
[tool.hatch.envs.types]
74-
extra-dependencies = ["mypy>=1.0.0"]
77+
extra-dependencies = ["mypy~=1.8"]
7578
[tool.hatch.envs.types.scripts]
7679
check = "mypy --install-types --non-interactive {args:irclib tests}"
7780

0 commit comments

Comments
 (0)