Skip to content

Commit 2b0da56

Browse files
authored
build: pin PEP 517 build dependencies (#2547)
1 parent 3d7b311 commit 2b0da56

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,24 @@ mcp = "mcp.cli:app [cli]"
5454
[tool.uv]
5555
default-groups = ["dev", "docs"]
5656
required-version = ">=0.9.5"
57+
# PEP 517 build isolation fetches [build-system].requires (and transitives) at
58+
# floating-latest with no hash check on every fresh sync; uv does not lock them
59+
# (astral-sh/uv#5190). Pinning here narrows that to known-good versions. Covers
60+
# the workspace builds (hatchling + uv-dynamic-versioning) and the legacy
61+
# setuptools fallback used by the strict-no-cover git dep.
62+
build-constraint-dependencies = [
63+
"hatchling==1.29.0",
64+
"uv-dynamic-versioning==0.14.0",
65+
"dunamai==1.26.1",
66+
"jinja2==3.1.6",
67+
"markupsafe==3.0.3",
68+
"packaging==26.1",
69+
"pathspec==1.0.4",
70+
"pluggy==1.6.0",
71+
"tomlkit==0.14.0",
72+
"trove-classifiers==2026.1.14.14",
73+
"setuptools==82.0.1",
74+
]
5775

5876
[dependency-groups]
5977
dev = [

uv.lock

Lines changed: 13 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)