Skip to content

Commit 96e6497

Browse files
committed
chore: Pin hatchling 1.26 for build
1 parent 7f2863a commit 96e6497

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
[build-system]
2-
requires = ["hatchling", "hatch-vcs"]
2+
# Pin hatchling 1.26 to keep metadata 2.3
3+
# The hynek/build-and-inspect-python-package action is pinned at 2.8,
4+
# which in turn pins a twine that rejects 2.4.
5+
# Until uv build fixes a problem with its tar library, we're stuck here.
6+
# https://github.com/hynek/build-and-inspect-python-package/issues/155
7+
# https://github.com/astral-sh/uv/issues/5450
8+
requires = ["hatchling~=1.26.3", "hatch-vcs"]
39
build-backend = "hatchling.build"
410

511
[project]

0 commit comments

Comments
 (0)