Skip to content

Prepare 0.6.1: changelog and sdist pruning - #6

Merged
wrignj08 merged 1 commit into
mainfrom
release-0.6.1-prep
Aug 13, 2026
Merged

Prepare 0.6.1: changelog and sdist pruning#6
wrignj08 merged 1 commit into
mainfrom
release-0.6.1-prep

Conversation

@wrignj08

Copy link
Copy Markdown
Contributor

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-scm puts 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:

Notebook Size
Sentinel 2 example.ipynb 25 MB
NAIP example.ipynb 9 MB
Sentinel 2 cloudy example.ipynb 3 MB

A MANIFEST.in now prunes examples/ and .vscode/:

before after
sdist 21.7 MB 62.7 KB
wheel 30.5 KB 30.5 KB (unchanged)

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 normal pip install is unchanged. This cuts what conda-forge and source builds fetch, and what the GitHub release attaches — v0.6.0's release carries a 20 MB tar.gz for the same reason.

Verification

  • Pruned sdist still builds a wheel from itself, byte-identical at 31,210 bytes, with the version resolving correctly outside a git checkout — the conda-forge path.
  • ruff clean; mypy clean on 9 files; 163 tests passed, 36 deselected.

Tag v0.6.1 to be pushed after merge, which fires publish.yml.

🤖 Generated with Claude Code

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>
@wrignj08
wrignj08 merged commit b3674a4 into main Aug 13, 2026
10 checks passed
@wrignj08
wrignj08 deleted the release-0.6.1-prep branch August 19, 2026 06:41
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