Skip to content

Exclude release script from published crate - #106

Merged
woodruffw merged 1 commit into
astral-sh:mainfrom
musicinmybrain:exclude-script
Aug 28, 2026
Merged

Exclude release script from published crate#106
woodruffw merged 1 commit into
astral-sh:mainfrom
musicinmybrain:exclude-script

Conversation

@musicinmybrain

Copy link
Copy Markdown
Contributor

This isn’t terribly important, but the contents of scripts/ are for maintainer use and don’t benefit users of published crates on crates.io. Omitting this directory will very slightly slim down the releases.

This is also useful downstream in Fedora, where we would need to exclude scripts/release.py from distribution packaging to avoid an unwanted automatically-generated dependency on uv. This is certainly something we can handle downstream-only, but it’s what prompted me to open this PR.

@woodruffw woodruffw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @musicinmybrain! No concerns from me. We'll do this with the next patch release.

@woodruffw
woodruffw enabled auto-merge (squash) August 28, 2026 19:01
@woodruffw
woodruffw merged commit 042b83f into astral-sh:main Aug 28, 2026
6 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.

2 participants