Skip to content

Commit c9c3fe6

Browse files
committed
Add hatchling to release deps group
1 parent 5a20240 commit c9c3fe6

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ jobs:
5151
- name: Check pre-release status
5252
id: check-version
5353
run: |
54-
uv tool install --with uv-dynamic-versioning hatchling
55-
version="$(uvx hatchling version)"
54+
version="$(hatchling version)"
5655
5756
echo "Project version: $version"
5857
echo "version=$version" >> "$GITHUB_OUTPUT"

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@ test = [
7070
"pytest-cov>=6.2.1",
7171
"pytest-httpx>=0.35.0",
7272
]
73-
release = ["towncrier>=24.8.0", "uv-dynamic-versioning>=0.8.2"]
73+
release = [
74+
"hatchling>=1.27.0",
75+
"towncrier>=24.8.0",
76+
"uv-dynamic-versioning>=0.8.2",
77+
]
7478

7579
[tool.basedpyright]
7680
pythonPlatform = "All"

uv.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)