Skip to content

v0.20.2 - Fix wheel build duplicate file error (2026-06-02)

What Changed?

This release fixes a wheel build failure introduced when the data/ directory was moved into src/kazunoko/ in v0.14.x. The force-include entry in pyproject.toml was left behind and caused hatchling to try adding events.jsonl twice, breaking the build. Removing the redundant entry restores clean wheel builds.


What's New

Fix: Remove redundant force-include from wheel build config

What it does: Removes the [tool.hatch.build.targets.wheel.force-include] entry that duplicated src/kazunoko/data/ in the built wheel. Hatchling already includes the directory automatically via packages = ["src/kazunoko"].

How to use it: No changes needed — uv run and pip install will work again without any manual steps.


Installation

Quick Start

# Get the release
git checkout v0.20.2

# Setup
uv sync

# Run CLI
uv run kazunoko --help

What's Different from the Last Version?

🐛 Fixed

  • pyproject.toml: removed [tool.hatch.build.targets.wheel.force-include] table that caused a duplicate file error (kazunoko/data/events/events.jsonl) when building the wheel

Is It Safe to Upgrade?

Backward Compatible: Yes

  • No API or behavior changes — this is a build configuration fix only.
  • The installed package contents are identical to what was intended.

Tests Passed

  • ✅ Builds without errors (uv run get_thresholds.py --help succeeds)
  • kazunoko/data/events/events.jsonl present exactly once in the wheel

Release Details

  • Date: 2026-06-02
  • Version: v0.20.2
  • Files Changed: 1
  • Commits: 6f940e5

Next Steps

Continue stabilizing defaults and build configuration for reliable distribution.