Repository navigation
test: compatibility matrix of released clients before and after a renames table - #161
Merged
Merged
Conversation
oesteban
force-pushed
the
feat/archive-2
branch
from
December 3, 2026 15:33
11ad283 to
5db77cd
Compare
…ames table Runs templateflow 25.0.4, 25.1.2 and this branch (Python 3.13 and 3.14) against a fixture Archive whose skeletons the real build-skeletons.py builds, before and after a renames table, through a local S3 and skeleton server. Covers pinned clients, update(), homes shared with --migrate, and DataLad homes; negative controls show the matrix notices missing S3 copies and the v2 skeleton served at the legacy URL. The accepted DataLad break of released clients is a strict expected failure. The Compatibility workflow runs on pushes, pull requests and nightly, and replays a proposed table (root rows or a template's .renames.tsv) on demand. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
numpy, pandas, scipy, SQLAlchemy, PyYAML and greenlet publish cp315 wheels; the matrix passes locally on 3.15 (16 passed, 2 xfailed). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
oesteban
force-pushed
the
ci/compat-matrix
branch
from
December 3, 2026 15:45
6b05376 to
da241ee
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/archive-2 #161 +/- ##
===============================================
Coverage 84.02% 84.02%
===============================================
Files 10 10
Lines 920 920
Branches 192 192
===============================================
Hits 773 773
Misses 83 83
Partials 64 64
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
oesteban
marked this pull request as ready for review
December 3, 2026 18:05
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. |
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
WP3, part 2: the compatibility matrix for TemplateFlow 2.0. Stacked on #160, whose
--migrateand alias resolution it exercises; GitHub retargets it tomasterwhen #160 merges.update(): one file per old nameFutureWarningwhen entities changed--migrate, reusedatalad update.github/workflows/compat.yml(ubuntu-26.04) runs on pushes, PRs and nightly. "Run workflow" replays a proposed table: a raw URL to root rows, or to a template's.renames.tsvplus its name.Decisions behind it:
datalad update --merge. It's a strict xfail (raises=Break), so an unexpected pass or any other error fails the run. The 26.0 announcement documents it.Evidence
pytest -rxXs tests/compatagainst templateflow/templateflowmaster, locally on Python 3.13, 3.14 and 3.15, and in CI (run, 3.13 and 3.14):get()returns two files).TEMPLATEFLOW_COMPAT_TEMPLATE=tpl-MNI152Lin) passes the same tests._s3_get, so a missing S3 key saves S3's XML error body as the file. That file is never downloaded again, because only empty files are; 25.1 added the check. The matrix counts it as a miss. It's one more reason the template action must keep the old keys.Merge Danger
Door: two-way
Blast Radius: CI only
Only tests and a workflow are added; nothing ships in the wheel (
packages = ["templateflow"]). Each CI run takes a few minutes per Python. The test process and every client get a scratchTEMPLATEFLOW_HOME, andscenario.pyrefuses any home the matrix did not make, so a local run cannot touch a real home.