Repository navigation
rel(26.0.0rc5): the migration documented code by code; docs build fails on warnings - #28
Merged
Merged
Conversation
…e build The workflow installs tfmanager with its content extra (numpy and nibabel are no longer mocked, so the API pages of modules that import them build) and builds with -W --keep-going. The 14 warnings of the current build are fixed: builtins in annotations (set[str]) link to Python instead of the set attributes of the migration config, the content module names its submodules in full, sphinxcontrib-apidoc 0.6 takes its options, and language is "en". docs/requirements.txt and the doc extra keep only what the build uses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/migration.rst says what users see (rename and n/a rows, the legacy skeleton, the caveat on later edits of renamed files), the steps of a template's migration, when a template moves to 2.0, the sections of the config, and every rename rule, content transform and finding, with examples from the Archive. A test checks that every code of the registries has one entry, in order, and that the page names no other code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Unreleased section becomes 26.0.0rc5, with a summary line, and lists the documentation page and the documentation build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
oesteban
marked this pull request as ready for review
December 6, 2026 08:31
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b8e5d4a3ad
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…e zip The facts step listed only the files that `migrate headers` reads, while `migrate labels` reads others (dseg volumes and .label.gii files) and stops when their data are absent: run its --needs too before fetching. The M301 entry follows the gate of the PR below this one: without --legacy-skeleton, it checks every name the legacy skeleton may list. Co-Authored-By: Claude Opus 5.5 <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.
Summary
Stacked on #27 (base
feat/migrate-apply). WP4 PR 7: the documentation of the migration, a docs build that fails on warnings, and the CHANGES of 26.0.0rc5. The tag waits for the maintainer's go, after #25, #26, #27 and this PR merge.docs/migration.rst:n/arows, files changed in place, files only the v2 skeleton lists. It also warns that a later edit of a file with a rename row changes what its old name serves.The test checks that every code of the registries (
names.RULES,names.OTHER_RULES,res.RULES,content.TRANSFORMS,findings.CODES) has one entry, in order, and that the page names no other code.Evidence
Docs: the current build has 14 warnings; on this branch it has none, built as the workflow does (Python 3.13,
pip install ".[content]" -r docs/requirements.txt, thenmake -C docs/ html SPHINXOPTS="-W --keep-going"):set[str]in signatures now links to Python'sset.The docs test catches drift:
M2100failstest_every_code_has_an_entry;R23failstest_no_unknown_code.After Codex's review (69aa5c5), step 1 runs
migrate labels --needsas well asmigrate headers --needs, since the label facts read other files. The M301 entry now matches fe29a21 on #27: without the zip, the gate checks every name the skeleton may list.Pilot replay: the end-to-end check before rc5. The pilot's rows (
tpl-MNI152NLin2009cSym: CerebA tablen/a,res-iso4mmtores-4, CerebrA entity order) went through templateflow/python-clienttests/compat, with the skeleton scripts of templateflow/templateflow#219 (now merged):The 7 failures come from the harness, not from the client. The CerebA table is the first text file any replay has had:
The harness fix is draft templateflow/python-client#167.
Local CI (stacked PR, so no GitHub CI), a mirror of pythonapp.yml on a clean worktree of a scratch merge of the stack (this PR at 69aa5c5, #27 at fe29a21, #25 at 2f17daf; it merges without conflicts):
Merge Danger
Door: two-way
Documentation, the docs workflow, and the
docextra. One code change: the content module's docstring names its submodules in full.Blast Radius: documentation
The docs workflow now fails on any Sphinx warning, so a new docstring with an ambiguous reference fails a PR. The
docextra dropsnbsphinx,pydot,pydotplusandsphinx-argparse, which the build never used, and addscontent(numpy, nibabel).