From 80a4f53a69a058f15d08c61567e349af739793c3 Mon Sep 17 00:00:00 2001 From: kytmanov Date: Mon, 27 Apr 2026 09:57:57 -0700 Subject: [PATCH 1/2] Fix wheel build excluding all Python source files from PyPI package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The global [tool.hatch.build].include whitelist overrode the packages = ["semanticdog"] config, shipping only web assets and zero .py files. Remove the block — Hatchling collects the full package directory including templates and static files automatically. Fixes #7 --- pyproject.toml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cbe6498..fa96f36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,11 +55,5 @@ filterwarnings = [ [tool.hatch.build.targets.wheel] packages = ["semanticdog"] -[tool.hatch.build] -include = [ - "semanticdog/web/templates/**/*", - "semanticdog/web/static/**/*", -] - [tool.hatch.version] path = "semanticdog/__init__.py" From 26b98480b718f5d1564fcd8b987aca6dfdff8eec Mon Sep 17 00:00:00 2001 From: kytmanov Date: Mon, 27 Apr 2026 09:59:49 -0700 Subject: [PATCH 2/2] chore: release v0.3.3 --- CHANGELOG.md | 6 ++++++ semanticdog/__init__.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ae681f..2d22159 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [0.3.3] — 2026-04-27 + +### Bug fixes + +- **PyPI wheel shipped zero Python files** — the global `[tool.hatch.build].include` whitelist in `pyproject.toml` overrode `packages = ["semanticdog"]`, causing `pip install semanticdog` to produce a broken package with only web assets and no `.py` files. Removed the whitelist; Hatchling now collects the full package directory automatically, including templates and static files. (Fixes #7) + ## [0.3.2] — 2026-04-22 ### New features diff --git a/semanticdog/__init__.py b/semanticdog/__init__.py index 3d495f9..f49b066 100644 --- a/semanticdog/__init__.py +++ b/semanticdog/__init__.py @@ -1,3 +1,3 @@ """SemanticDog — file semantic integrity validator.""" -__version__ = "0.3.2" +__version__ = "0.3.3"