Skip to content

Release 0.2.2: drop force-include duplicate, unblock PyPI upload - #6

Merged
MrBenJ merged 1 commit into
mainfrom
release/v0.2.2
Apr 25, 2026
Merged

Release 0.2.2: drop force-include duplicate, unblock PyPI upload#6
MrBenJ merged 1 commit into
mainfrom
release/v0.2.2

Conversation

@MrBenJ

@MrBenJ MrBenJ commented Apr 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove [tool.hatch.build.targets.wheel.force-include] which was double-adding src/vibeshed/templates/ on top of packages = ["src/vibeshed"]. PyPI rejected the resulting wheel with Duplicate filename in local headers.
  • Bump version 0.2.1 → 0.2.2.

Why 0.2.1 → 0.2.2 (skipping 0.2.1 on PyPI)

0.2.1 was tagged in the repo via #5 but the wheel build emitted duplicate ZIP entries from the redundant force-include block. PyPI's stricter archive validation rejected the upload. Since version filenames on PyPI are immutable, we couldn't re-cut 0.2.1 — bumping to 0.2.2 with the build fix folded in. 0.2.2 is now live: https://pypi.org/project/vibeshed/0.2.2/

Verification

  • python -m build produces a clean wheel — no Duplicate name warnings
  • unzip -l of the wheel shows vibeshed/templates/... entries present (no duplicates)
  • twine check dist/* PASSED
  • twine upload dist/* succeeded
  • pytest -ra 37 passed
  • Local install of the wheel reports vibeshed 0.2.2
  • Riven pipx install --force vibeshed on VPS confirms the bytecode-skip fix

🤖 Generated with Claude Code

PyPI rejected the 0.2.1 wheel with "Duplicate filename in local headers"
because [tool.hatch.build.targets.wheel.force-include] re-added
src/vibeshed/templates/ on top of what packages = ["src/vibeshed"]
already includes, producing duplicate ZIP entries. Removed the redundant
force-include block; the templates dir is still picked up via the
package include and verified present in the new wheel.

0.2.1 was never published; 0.2.2 is the first artifact on PyPI to carry
the __pycache__/.pyc skip fix in templates_loader.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@MrBenJ
MrBenJ merged commit c0a31f2 into main Apr 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant