Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pydantic-v1 = ["pydantic>=1.10.26,<2"]
pydantic-v2 = ["pydantic>=2,<3"]
# Isolated build requirements are exported with hashes by scripts/build.
build = [
"hatchling==1.27.0",
"hatchling==1.32.0",
"packaging==26.3",
"pathspec==1.1.1",
"pluggy==1.6.0",
Expand All @@ -96,7 +96,7 @@ constraint-dependencies = [
]
# Also constrain editable/source builds performed by uv sync.
build-constraint-dependencies = [
"hatchling==1.27.0",
"hatchling==1.32.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Pin tomlkit in the isolated-build constraints

When uv sync --locked performs the editable/source build described above this list, Hatchling 1.32 resolves its new tomlkit runtime dependency in an isolated build environment, but tomlkit is absent from these constraints. As uv help sync states, --locked only asserts that uv.lock remains unchanged, so after another compatible tomlkit release clears the rolling cutoff, sync may execute that unreviewed version instead of the locked 0.15.1; add tomlkit==0.15.1 to the build constraints and build dependency group.

AGENTS.md reference: AGENTS.md:L21-L24

Useful? React with 👍 / 👎.

"packaging==26.3",
"pathspec==1.1.1",
"pluggy==1.6.0",
Expand All @@ -106,7 +106,7 @@ build-constraint-dependencies = [


[build-system]
requires = ["hatchling==1.27.0"]
requires = ["hatchling==1.32.0"]
build-backend = "hatchling.build"

[tool.hatch.build]
Expand Down
22 changes: 16 additions & 6 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading