Skip to content

Ship CHANGELOG.md in the sdist (0.7.2) - #6

Merged
shihweilo merged 1 commit into
masterfrom
fix/manifest-changelog
Sep 9, 2026
Merged

shihweilo merged 1 commit into
masterfrom
fix/manifest-changelog

Conversation

@shihweilo

Copy link
Copy Markdown
Owner

Packaging only. No library code changed between 0.7.1 and 0.7.2.

MANIFEST.in listed CHANGES.md — a 257-byte stub predating the rewritten
changelog — and omitted CHANGELOG.md entirely, so source distributions shipped
no usable changelog.

A wrinkle worth recording

Verifying this needs a clean tappay.egg-info/ first. setuptools reuses a cached
SOURCES.txt, so the first rebuild after fixing MANIFEST.in still contained
CHANGES.md and looked like the fix had not worked. After removing the stale
egg-info:

CHANGELOG.md shipped: True
CHANGES.md  shipped: False
py.typed    shipped: True

Why 0.7.2 and not a re-cut 0.7.1

v0.7.1 is already tagged and pushed at a commit without this fix. Publishing an
artifact called 0.7.1 built from a newer commit would make the released package
disagree with the tag that claims to describe it — a bad property in general and
a worse one for a payments library. Force-moving a pushed tag to hide that is
worse than a version bump, so this goes out as 0.7.2. 0.7.1 was never published
to PyPI, so nothing downstream is affected either way.

Also

twine added to the dev extra, since publishing is part of the release
workflow and it had been installed ad hoc.

🤖 Generated with Claude Code

MANIFEST.in listed CHANGES.md, a 257-byte stub predating the rewritten
changelog, and omitted CHANGELOG.md entirely. Source distributions carried
no usable changelog as a result.

Note that verifying this requires deleting a stale tappay.egg-info/ first:
setuptools reuses a cached SOURCES.txt, which kept CHANGES.md in the sdist
even after MANIFEST.in stopped listing it, masking the fix.

Released as 0.7.2 rather than re-cutting 0.7.1. v0.7.1 is already tagged and
pushed at a commit without this fix, and a published artifact should match
the tag it claims to be; moving a pushed tag to paper over that is worse
than a version bump. 0.7.1 was never published to PyPI.

Also adds twine to the dev extra, since publishing is part of the release
workflow and it was previously installed ad hoc.

No library code changed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@shihweilo
shihweilo merged commit 23fba60 into master Sep 9, 2026
7 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