Release 0.2.2: drop force-include duplicate, unblock PyPI upload - #6
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
[tool.hatch.build.targets.wheel.force-include]which was double-addingsrc/vibeshed/templates/on top ofpackages = ["src/vibeshed"]. PyPI rejected the resulting wheel withDuplicate filename in local headers.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-includeblock. 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 buildproduces a clean wheel — noDuplicate namewarningsunzip -lof the wheel showsvibeshed/templates/...entries present (no duplicates)twine check dist/*PASSEDtwine upload dist/*succeededpytest -ra37 passedvibeshed 0.2.2pipx install --force vibeshedon VPS confirms the bytecode-skip fix🤖 Generated with Claude Code