From 30cd49b6b3e847c7384b27192dc3f018ad26ea97 Mon Sep 17 00:00:00 2001 From: Ryan Bishop Date: Tue, 2 Jun 2026 09:53:07 -0500 Subject: [PATCH] Remove redundant force-include for autoupdate/bootstrappers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The packages = ["autoupdate"] declaration already includes the autoupdate/bootstrappers/ subdirectory in the wheel. The [tool.hatch.build.targets.wheel.force-include] block re-adds the same path, which hatch 1.8+ refuses with: ValueError: A second file is being added to the wheel archive at the same path: `autoupdate/bootstrappers/bootstrap-lin.sh`. Removing the redundant block lets pip install succeed. The resulting wheel still contains all four bootstrappers (bootstrap-lin.sh, bootstrap-mac.sh, bootstrap.exe, bootstrap.pb) via the package include — verified locally with python -m build on Python 3.12. --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 16a0c1e..891ecc8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,9 +37,6 @@ test = [ [tool.hatch.build.targets.wheel] packages = ["autoupdate"] -[tool.hatch.build.targets.wheel.force-include] -"autoupdate/bootstrappers" = "autoupdate/bootstrappers" - [tool.ruff] line-length = 120 target-version = "py38"