diff --git a/pyproject.toml b/pyproject.toml index 4ec452e7..41680b84 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",