From 69563270969156273bd94d291e597236a3665e63 Mon Sep 17 00:00:00 2001 From: Aljes Date: Thu, 26 Nov 2026 17:54:29 +0000 Subject: [PATCH] Release 0.17.7 #124 (--categorical keeps numeric-looking labels, #125) and #114 (every tag gets its GitHub release). The changelog section collects both; STATUS.md records the release. Co-Authored-By: Claude Opus 5.5 --- STATUS.md | 6 ++---- docs/changelog.md | 24 ++++++++++++++++++++++++ pyproject.toml | 2 +- uv.lock | 2 +- 4 files changed, 28 insertions(+), 6 deletions(-) diff --git a/STATUS.md b/STATUS.md index 9d14d59..58fb70e 100644 --- a/STATUS.md +++ b/STATUS.md @@ -7,6 +7,7 @@ moves; the plan of record for the current item is in the section below. | Version | What | Issues | |---|---|---| +| 0.17.7 | `import dataframe --categorical` keeps numeric-looking labels (leiden's 0, 1, 10) as categoricals of their text; every tag gets its GitHub release from the changelog | #124, #114 | | 0.17.6 | Audit fixes, waves 3 and 4 (streaming): reads and writes follow the source's chunks and Zarr v3 shards, each shard written once; `recast` checks and converts in `--chunk` blocks; `split`'s memory no longer grows with its groups; pickle arrays checked before use; 16-bit images export as they are; plain-line logs and names printed as stored; h5py >= 3.16 | #96, #97, #101, #103 | | 0.17.5 | Audit fixes, wave 2 (fidelity): scanpy's marker genes and anndata 0.7 files survive every copy, data held outside an h5ad refused; subset/split keep every named row and subset every element as anndata; concat takes any number of inputs in anndata's order; 10x, MTX, Parse, CellBender, loom, SCope and MuData fixes; release pipeline hardened, image non-root; zarr >= 3.2 | #93, #94, #95, #99, #100, #102 | | 0.17.4 | Audit fixes, wave 1 (data safety): every writer staged and checked, close errors fail the command, `--chunk` at least 1, a free-space check; text/MTX/dense imports refuse what they cannot read; concat refuses repeated var names and keeps missing values and dtypes; import/export type values as pandas does; Pillow 13 | #89, #90, #91, #92, #98 | @@ -26,10 +27,7 @@ The conversion epic's sub-issues (#21–#30) are all done and ticked in #20. ## In progress -- #124: `import dataframe --categorical` reads numeric-looking labels as - text (#125), for 0.17.7. - -The fixes from the October 2026 audit (epic #87, 164 findings in 16 +Nothing. The fixes from the October 2026 audit (epic #87, 164 findings in 16 batches) finished with 0.17.6; the sub-issues (#88–#103) are all done and ticked in #87. The batch names in the follow-ups below (B1 to B10) are theirs. diff --git a/docs/changelog.md b/docs/changelog.md index a7d5330..a742751 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -8,6 +8,30 @@ nav_order: 7 Notable changes to `adata-cli`. Versions are `MAJOR.MINOR.PATCH`; tags carry no `v` prefix. +## 0.17.7 + +`adata import dataframe --categorical` keeps numeric-looking labels such as +leiden clusters as categoricals of their text, so an `export dataframe` → +edit → `import dataframe` round trip keeps them. Every tag now gets its +GitHub release, with its changelog section as the notes. + +### Fixed + +- **`--categorical` keeps numeric-looking labels** + ([#124](https://github.com/cellgeni/adata-cli/issues/124)). `adata import + dataframe … --categorical leiden` left leiden clusters `0`, `1`, `10` as + int64. A column named in `--categorical` is now read as text and stored as + a categorical whatever its values look like, so `007` also keeps its + zeros; what pandas reads as missing stays a gap. A forced column with more + than 65,536 distinct values is written as strings, numbers included (it + used to stay numeric). +- **Every tag gets a GitHub release** + ([#114](https://github.com/cellgeni/adata-cli/pull/114)). Releases were + cut by hand and stopped at 0.11.1; 0.12.0 to 0.17.6 have been backfilled. + `publish.yml` now creates the release once PyPI has the version, with the + tag's section of this changelog as its notes and the benchmark summary + appended, and refuses a tag with no section before anything is published. + ## 0.17.6 The last wave of fixes from the October 2026 audit diff --git a/pyproject.toml b/pyproject.toml index d20a6e1..afb0eb7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ # so the distribution is published as `pyadata-cli`. The import package # and the command are both still `adata`. name = "pyadata-cli" -version = "0.17.6" +version = "0.17.7" description = "Streaming CLI for exploring and editing large AnnData .h5ad and .zarr stores" readme = "README.md" requires-python = ">=3.12" diff --git a/uv.lock b/uv.lock index c1392da..566b7af 100644 --- a/uv.lock +++ b/uv.lock @@ -570,7 +570,7 @@ wheels = [ [[package]] name = "pyadata-cli" -version = "0.17.6" +version = "0.17.7" source = { editable = "." } dependencies = [ { name = "h5py" },