Visitar URL original
馃敡 chore: drop misc as a changelog fragment type by gaborbernat 路 Pull Request #3255 路 pypa/virtualenv 路 GitHub
Skip to content

馃敡 chore: drop misc as a changelog fragment type - #3255

Merged
gaborbernat merged 2 commits into
pypa:mainfrom
gaborbernat:chore-drop-misc-changelog-type
Sep 18, 2026
Merged

gaborbernat merged 2 commits into
pypa:mainfrom
gaborbernat:chore-drop-misc-changelog-type

Conversation

@gaborbernat

Copy link
Copy Markdown
Contributor

towncrier ships a misc bucket by default, and it collects changes that have nothing to say to a user. 馃摑 The changelog reads better without it, so [tool.towncrier] now spells out the type list and leaves misc off.

Writing the list down also closes a quieter gap. towncrier skips a fragment whose type it does not recognise, and it skips it in silence. Four fragments with misspelt suffixes missed their releases that way. Reviewers merged the files, and the entries went nowhere. The list also picks up deprecation, which three fragments used despite it not being a default.

An explicit list still will not make towncrier complain, so a pre-commit hook now rejects any name under docs/changelog outside the allowed set. A misspelt suffix fails at commit time instead of going missing at release time.

towncrier ships a misc bucket by default, and entries land there when a
change has no user-facing story to tell. The changelog should carry only what
a user needs, so the type list is now spelled out without it.

Naming the types also closes a quieter gap. towncrier skips a fragment whose
type it does not recognise and says nothing, which is how .bufix.rst,
.fix.rst and .docs.rst all went missing from past releases. A pre-commit hook
now rejects any name in docs/changelog outside the allowed set, so a typo
fails at commit time instead of vanishing.
pypa#3254 changed a comment in a workflow, so its entry has nothing to say to a
user. It is also the one name in docs/changelog the new hook rejects.
@gaborbernat
gaborbernat force-pushed the chore-drop-misc-changelog-type branch from 0671cfa to eb152c6 Compare September 18, 2026 04:07
@gaborbernat
gaborbernat merged commit aa8323a into pypa:main Sep 18, 2026
64 checks passed
@gaborbernat
gaborbernat deleted the chore-drop-misc-changelog-type branch October 3, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant