Skip to content

Keep dotfiles out of wheel and sdist - #2097

Merged
mscuthbert merged 1 commit into
masterfrom
exclude-dotfiles
Oct 22, 2026
Merged

mscuthbert merged 1 commit into
masterfrom
exclude-dotfiles

Conversation

@mscuthbert

@mscuthbert mscuthbert commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Fixes #2096: the 10.5.0 wheel shipped music21/.claude/settings.local.json, because it was ignored only by a global git ignore file, which hatchling doesn't read.

(I must have opened Claude at some point in the inner music21 directory not the outer folder)

Adds exclude = [".*"] under [tool.hatch.build], so no dotfile or dot-folder inside music21/ gets packaged. Backport to m21_10 for 10.5.1 to follow.

AI-assisted (Claude)

The 10.5.0 wheel shipped music21/.claude/settings.local.json. It was
ignored only by a global git ignore file, which hatchling does not
read. Fixes #2096.

AI-assisted (Claude)
@mscuthbert
mscuthbert marked this pull request as ready for review October 22, 2026 20:30
@mscuthbert
mscuthbert merged commit cbd514e into master Oct 22, 2026
8 checks passed
@mscuthbert
mscuthbert deleted the exclude-dotfiles branch October 22, 2026 20:30
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 93.382%. remained the same — exclude-dotfiles into master

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.

10.5.0 wheel includes music21/.claude/settings.local.json

2 participants