fix(release): pin hatchling core metadata to 2.4
hatchling emits Metadata-Version 2.5, which twine 6.x (the whole 6.x line, as of 6.1.0 in our lock) rejects during 'twine check' — the v2.1.0 release run failed at Verify distributions. Publish metadata at 2.4 until the twine line accepts 2.5.
This commit is contained in:
@@ -67,6 +67,9 @@ requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
# Metadata-Version 2.5 is newer than what twine 6.x validates; keep the
|
||||
# published metadata at 2.4 until the toolchain accepts 2.5.
|
||||
core-metadata-version = "2.4"
|
||||
# The Python package ships code only. Generated skill docs live in docs/skill
|
||||
# (built by tools/auto_docs_gen.py + tools/skillbuild.py) and are distributed
|
||||
# as the Agent Skill archive, not inside the wheel.
|
||||
@@ -74,6 +77,7 @@ packages = ["src/simplecadapi"]
|
||||
include = ["src/**/*"]
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
core-metadata-version = "2.4"
|
||||
include = [
|
||||
"/README.md",
|
||||
"/LICENSE",
|
||||
|
||||
Reference in New Issue
Block a user