Skip to content

PP-13: migration guide, CHANGELOG, Colab release check, docs pass; version 0.4.0rc4 - #134

Merged
guijacquemet merged 1 commit into
mainfrom
claude/pp-13-docs-migration
Nov 2, 2026
Merged

guijacquemet merged 1 commit into
mainfrom
claude/pp-13-docs-migration

Conversation

@guijacquemet

Copy link
Copy Markdown
Contributor

PP-13 of the v0.4.0 plan (design v0.4 §8, §9; plan §10 release checklist). Based on main af8f769. Docs only, plus the version bump: no behaviour change.

What's in it

Bugs found (not fixed here)

  • length_units.to_micrometers(np.float32(0.5), "micrometer") and np.int64(2) raise ValueError: … is not a number; Python int/float and np.float64 are accepted. This was confirmed in the venv and is recorded as follow-up (d).
  • The other four follow-ups are recorded as given; I did not re-verify them.

Owner questions

  1. PhysicalSizes pickles. The design change log says breaking old pickles is accepted. In practice, a v0.3.4-shaped instance (without the new invalid field) pickles and loads fine, with invalid=None, because the dataclass default is a class attribute. The guide therefore says "not supported / not guaranteed" rather than "broken". Is that wording right?
  2. Plan question 66 is still marked "pending the owner's confirmation" (the header overflow is a warning, and design exits 1 after a write that leaves a conflict). The CHANGELOG and the guide describe it as implemented.

Gate (own worktree and uv venv, Python 3.11, .[dev,notebook,zarr], at 744b345)

  • ruff check and ruff format --check: clean (204 files).
  • tools/check.py --rules: exit 0.
  • pytest: 1997 passed, 2 skipped, 1 warning.
    • The skips are the expected ones: test_discovery.py:665 (root) and test_cli_log.py:165 (case-insensitive FS check).
    • The warning is the existing tifffile "closed file" warning.

Generated by Claude Code

…rsion 0.4.0rc4

- docs/migration-0.3-to-0.4.md: every breaking change from v0.3.4 for users and
  bricks (what changed, why, what to do), linked from README and user guide §7.
- CHANGELOG.md for 0.4.0 (breaking, added, fixed, removed) with PR/issue numbers.
- docs/colab-release-check.md: the Colab hand checks of #118, #123, #127 in one
  list for the major release; the notebook is verified headless only until then.
- Docs pass: README (masks, RunInputs, resume), contract (§9.3 before §9.4, the
  removed declared-axes former text dropped), notebook step 3 note on resuming,
  plan §10 PP-13 entry, coordinator follow-ups and the release checklist.
- Version 0.4.0rc4: pyproject and the notebook pin (RELEASE_TAG, current_version,
  version index, Colab callout).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
@guijacquemet
guijacquemet marked this pull request as ready for review November 2, 2026 22:00
@guijacquemet
guijacquemet merged commit 17a6559 into main Nov 2, 2026
7 checks passed
@guijacquemet
guijacquemet deleted the claude/pp-13-docs-migration branch November 2, 2026 22:06

Copy link
Copy Markdown
Contributor Author

Independent review, merged with a merge commit.

Verified:

  • The diff af8f769..744b345 is docs plus the version bump only. No src/ or tests/ change.
  • 0.4.0rc4 is consistent in pyproject, notebook RELEASE_TAG and current_version, the Colab callout, and notebook_latest_versions.yaml.
  • About 45 claims in the migration guide and CHANGELOG were checked against the code. All refusal codes, the RunInputs methods, the conversion record v2, the NGFF 0.1/0.2 rule, the CLI flags, the exit codes and the staging/publication names exist as stated. Every removed API is gone.
  • Every relative link and anchor in README, user guide, migration guide, CHANGELOG and colab-release-check.md resolves.
  • The plan §10 checklist references colab-release-check.md and limits the Colab check to the major release, after the data-flow audit and the matrix run.
  • Plan question 66 stays marked pending the owner's confirmation.
  • Gate: ruff check and format clean; pytest 1997 passed, 2 skipped (test_discovery.py:665, test_cli_log.py:165), 1 warning; tools/check.py --rules exit 0. CI is green on all 7 jobs.

No findings and no fixes were needed.


Generated by Claude Code

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