From 607f0d2c5647ccce2253af604f12a5240094991e Mon Sep 17 00:00:00 2001 From: nyxst4ck Date: Wed, 10 Jun 2026 00:41:46 -0300 Subject: [PATCH] fix(build): drop duplicate force-include that breaks source installs (#329) Removes the [tool.hatch.build.targets.wheel.force-include] block that duplicated files already included via packages=["agent_reach"], which made modern hatchling fail source installs with 'ValueError: A second file is being added to the wheel archive at the same path'. Verified before merge: wheel builds clean (48 entries, no duplicates), SKILL.md / guides / scripts all ship in site-packages, 85 tests pass on Python 3.11. Fixes #334, fixes #332, fixes #328, fixes #315, fixes #308. --- pyproject.toml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7fb545d..9d47975 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,12 +64,6 @@ build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["agent_reach"] -[tool.hatch.build.targets.wheel.force-include] -"agent_reach/guides" = "agent_reach/guides" -# Keep the whole skill directory so SKILL.md, SKILL_en.md, and references/ ship together. -"agent_reach/skill" = "agent_reach/skill" -"agent_reach/scripts" = "agent_reach/scripts" - [tool.ruff] target-version = "py310" line-length = 100