Skip to content

Backport fixes to Bioc 3.23 - anndataR 1.2.2 - #503

Merged
rcannood merged 6 commits into
RELEASE_3_23from
backport-release-3-23-1.2.2
Aug 17, 2026
Merged

Backport fixes to Bioc 3.23 - anndataR 1.2.2#503
rcannood merged 6 commits into
RELEASE_3_23from
backport-release-3-23-1.2.2

Conversation

@rcannood

@rcannood rcannood commented Aug 15, 2026

Copy link
Copy Markdown
Member

rcannood and others added 4 commits August 14, 2026 22:18
* 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.
@github-actions

github-actions Bot commented Aug 15, 2026

Copy link
Copy Markdown

🐰 Bencher Report

ProjectanndataR
Branchbackport-release-3-23-1.2.2
Testbedubuntu-latest

⚠️ WARNING: Truncated view!

The full continuous benchmarking report exceeds the maximum length allowed on this platform.

🐰 View full continuous benchmarking report in Bencher

JuanTejedor and others added 2 commits August 15, 2026 14:16
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
rcannood force-pushed the backport-release-3-23-1.2.2 branch from b74f33d to 12391a7 Compare August 15, 2026 12:37
@rcannood
rcannood requested a review from lazappi August 15, 2026 13:16
@rcannood
rcannood merged commit d6ca45a into RELEASE_3_23 Aug 17, 2026
8 of 10 checks passed
@rcannood
rcannood deleted the backport-release-3-23-1.2.2 branch August 17, 2026 09:50
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.

3 participants