Prepare 0.6.1: changelog and sdist pruning - #6
Merged
Conversation
Adds the 0.6.1 changelog section covering the numpy unpin, and a MANIFEST.in that keeps the example notebooks out of the source distribution. setuptools-scm includes every git-tracked file in the sdist, which swept in three notebooks carrying embedded output imagery — 36 MB uncompressed, and effectively the whole tarball. Pruning examples/ (and .vscode/) takes the sdist from 21.7 MB to 62.7 KB. tests/ is retained on purpose, since downstream packagers run the suite against the sdist. Wheels were never affected, being built from the declared packages, so this changes nothing for a normal pip install; it cuts what conda-forge and source builds fetch, and what the GitHub release carries. Verified the pruned sdist still builds a wheel from itself (byte-identical at 31,210 bytes) with the version resolving outside a git checkout. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release prep for 0.6.1. No runtime code changes.
Changelog
Adds the
## [0.6.1]section, covering the numpy unpin from #5 and the sdist fix below.Keep example notebooks out of the sdist
setuptools-scmputs every git-tracked file into the source distribution, which swept in the three example notebooks. They carry embedded output imagery and made up essentially the entire tarball:Sentinel 2 example.ipynbNAIP example.ipynbSentinel 2 cloudy example.ipynbA
MANIFEST.innow prunesexamples/and.vscode/:tests/is retained deliberately — downstream packagers (conda-forge) run the suite against the sdist.assets/,.github/, README, LICENSE, CHANGELOG and the package data (model_download_links.csv,py.typed) all still ship.Wheels were never affected, since they build from the declared
packages, so a normalpip installis unchanged. This cuts what conda-forge and source builds fetch, and what the GitHub release attaches — v0.6.0's release carries a 20 MBtar.gzfor the same reason.Verification
Tag
v0.6.1to be pushed after merge, which firespublish.yml.🤖 Generated with Claude Code