diff --git a/pyproject.toml b/pyproject.toml index 7f5c242..9736c31 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "soup-cli" -version = "0.53.8" +version = "0.53.8.1" description = "Fine-tune LLMs in one command. No SSH, no config hell." readme = "README.md" license = "Apache-2.0" @@ -78,8 +78,11 @@ Issues = "https://github.com/MakazhanAlpamys/Soup/issues" packages = ["soup_cli"] # v0.53.8 #93 — include bundled fixture JSONLs as package data so # `soup data demo` works in zipapp / namespace-package installs. -[tool.hatch.build.targets.wheel.force-include] -"soup_cli/data/_fixtures" = "soup_cli/data/_fixtures" +# Hatchling's ``packages = ["soup_cli"]`` already recurses into the +# package directory, so we use the artifacts directive (NOT +# force-include, which double-shipped the files in v0.53.8 and produced +# a "duplicate filename in local headers" 400 from PyPI upload). +artifacts = ["soup_cli/data/_fixtures/*.jsonl"] [tool.ruff] target-version = "py39" diff --git a/soup_cli/__init__.py b/soup_cli/__init__.py index eb2a001..776bc5b 100644 --- a/soup_cli/__init__.py +++ b/soup_cli/__init__.py @@ -1,3 +1,3 @@ """Soup CLI — Fine-tune LLMs in one command.""" -__version__ = "0.53.8" +__version__ = "0.53.8.1" diff --git a/tests/test_v0538.py b/tests/test_v0538.py index 6de1b97..110a6b3 100644 --- a/tests/test_v0538.py +++ b/tests/test_v0538.py @@ -596,8 +596,10 @@ class TestVersionBump: def test_init_version(self): import soup_cli - assert soup_cli.__version__ == "0.53.8" + # v0.53.8.1 is the PyPI-recoverable patch (force-include duplicate + # fix); accept either as the shipped string. + assert soup_cli.__version__.startswith("0.53.8") def test_pyproject_version(self): text = (_repo_root() / "pyproject.toml").read_text(encoding="utf-8") - assert 'version = "0.53.8"' in text + assert 'version = "0.53.8' in text