Skip to content

Comments

Migrate to pyproject.toml and towncrier fragments#3277

Open
MaxGhenis wants to merge 3 commits intomasterfrom
migrate-to-towncrier
Open

Migrate to pyproject.toml and towncrier fragments#3277
MaxGhenis wants to merge 3 commits intomasterfrom
migrate-to-towncrier

Conversation

@MaxGhenis
Copy link
Collaborator

Summary

  • Migrates from setup.py to pyproject.toml (hatchling build backend)
  • Replaces changelog_entry.yaml with towncrier fragments (changelog.d/<branch>.<type>.md) to eliminate merge conflicts
  • Each PR gets its own uniquely-named fragment file instead of all editing the same file
  • Simplifies PR CI: lightweight check that a fragment exists (no Python install needed)
  • Push workflow uses towncrier for version bumping and changelog generation

Fragment format

echo "Description." > changelog.d/<branch-name>.<type>.md
# Types: added (minor), changed (patch), fixed (patch), removed (minor), breaking (major)

🤖 Generated with Claude Code

MaxGhenis and others added 3 commits February 23, 2026 12:55
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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