Backport fixes to Bioc 3.23 - anndataR 1.2.2 - #503
Merged
Conversation
* check RELEASE_ branches against bioc release * Drop the `ubuntu-latest` Bioconductor release leg from the matrix * Derive `bioc-version` from the target branch instead of the matrix * Run the workflow on pushes to `RELEASE_**` as well as `devel` * add NEWS entry * pin each RELEASE_ branch to its own bioc version `RELEASE_3_22` needs Bioconductor 3.22 and R 4.5, not whichever release happens to be current. Derive the version from the branch name in a small `bioc-version` job and feed it to the matrix. (cherry picked from commit 8320a69)
* Add read_h5ad_nullable_string() helper * Add read_zarr_nullable_string() * Add write_h5ad_nullable_string() * Add write_zarr_nullable_string() * Update example files * Update example data files * Add tests for nullable strings * Use zarr_format * Add nullable string roundtrip tests * Style * Update NEWS --------- Co-authored-by: Robrecht Cannoodt <rcannood@gmail.com> (cherry picked from commit c5cf4be)
PR #502 dropped the `ubuntu-latest` + Bioconductor devel matrix leg and gated BiocCheck on the resolved version being `devel`. On a `RELEASE_*` branch that version is now `3.23`, so BiocCheck stopped running there entirely. Run it on `ubuntu-latest` regardless of the resolved version; every branch is checked against the Bioconductor version it targets, so BiocCheck is meaningful on both. `devel` needs the same change.
6 tasks
|
| Project | anndataR |
| Branch | backport-release-3-23-1.2.2 |
| Testbed | ubuntu-latest |
🐰 View full continuous benchmarking report in Bencher
⚠️ WARNING: Truncated view!The full continuous benchmarking report exceeds the maximum length allowed on this platform.
hdf5_write_boolean_dataset() called as.integer(value) before checking dim(value) to compute the dataspace shape. as.integer() drops the dim attribute, so the check always fell through to the flat-vector branch, and any 2D+ logical matrix (X/layers/obsm/varm) was written as a 1D dataset. Reading it back then failed since the shape no longer matched (n_obs, n_var). Capture dims before the conversion, and align H5Screate_simple()'s native argument with hdf5_write_dataset() a few lines above (native = FALSE), which is what write_h5ad_dense_array() already transposes values for. Fixes #495 (cherry picked from commit fa91217)
rcannood
force-pushed
the
backport-release-3-23-1.2.2
branch
from
August 15, 2026 12:37
b74f33d to
12391a7
Compare
lazappi
approved these changes
Aug 17, 2026
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.
Backports fixes from
develtoRELEASE_3_23, following the same rule as #489: no new features beyond what fixes compatibility with files Python anndata already writes.nullable-string-array#480Not backported:
hdf5_write_boolean_dataset()) #495DelayedArrayreading #387