Skip to content

Commit 2676d55

Browse files
aladinorclaude
andcommitted
ci: drop Python 3.10 from matrix; raise requires-python to 3.12
The 3.10 cell failed in the first CI run because every published `zarr>=3.0` either is yanked (3.0.0-3.0.7 — see zarr-developers/zarr-python#3061 and the 3.0.3 indexing bug) or requires Python>=3.11 (3.0.8-3.1.6) or >=3.12 (3.2.0). There's no working `zarr>=3.0` on Python 3.10, so testing 3.10 is futile until upstream changes. Two coupled changes to keep claims consistent: - .github/workflows/ci.yml: matrix is now ["3.12"] only. - pyproject.toml: requires-python ">=3.10" → ">=3.12"; classifiers drop 3.10 and 3.11; usage.md / contributing.md / CHANGELOG entry updated to match. We can re-add 3.10 / 3.11 to the matrix when zarr ships a working release for them, OR drop the zarr dev-dep, whichever happens first. cargo fmt ✓ cargo clippy -D warnings ✓ pytest 9/9 ✓ Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 parent 4153290 commit 2676d55

5 files changed

Lines changed: 10 additions & 8 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
python-version: ["3.10", "3.12"]
42+
python-version: ["3.12"]
4343
steps:
4444
- uses: actions/checkout@v4
4545
- uses: dtolnay/rust-toolchain@stable

‎CHANGELOG.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,17 @@ release, that section is renamed to `[x.y.z] - YYYY-MM-DD` and a fresh
2323
`architecture.md`, `usage.md`, `contributing.md`, `release-process.md`.
2424
- CI workflow ([#5]): `.github/workflows/ci.yml` runs `cargo fmt`,
2525
`cargo clippy -D warnings`, `cargo test`, `maturin develop`, and
26-
`pytest` against Python 3.10 and 3.12 on every push to `main` and every
27-
pull request.
26+
`pytest` against Python 3.12 on every push to `main` and every pull
27+
request.
2828

2929
### Changed
3030

3131
- Toolchain bumped ([#3]): `rust-version` 1.75 → 1.91.1, `edition`
3232
2021 → 2024 (matches `icechunk`'s MSRV ahead of the next milestone).
33+
- Python floor raised ([#5]): `requires-python` `>=3.10` → `>=3.12` to
34+
match `zarr>=3.0`'s upstream Python requirement (3.0.x and 3.1.x
35+
versions are yanked or require Python ≥ 3.11; 3.2.0 requires 3.12).
36+
Classifiers updated; Python 3.10 / 3.11 entries removed.
3337
- Project license switched from `MIT OR Apache-2.0` to
3438
`AGPL-3.0-or-later` ([#5]). If you use, modify, or run rustytree —
3539
including over a network as part of a hosted service — you must make

‎docs/contributing.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cargo test
2121

2222
CI runs the same chain on every push to `main` and every pull request
2323
([`.github/workflows/ci.yml`](../.github/workflows/ci.yml)) against Python
24-
3.10 and 3.12.
24+
3.12.
2525

2626
## Branching and PR workflow
2727

‎docs/usage.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Requirements:
1212

1313
- Rust 1.91.1+ (matches `Cargo.toml` `rust-version`)
14-
- Python 3.10+
14+
- Python 3.12+ (pinned by `zarr>=3.0`'s upstream `requires-python`)
1515
- `uv` (recommended) or `pip` + a virtualenv
1616

1717
```bash

‎pyproject.toml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "rustytree"
77
version = "0.1.0"
88
description = "Rust-backed xarray DataTree backend for fast Zarr access from object storage"
99
readme = "README.md"
10-
requires-python = ">=3.10"
10+
requires-python = ">=3.12"
1111
license = { text = "AGPL-3.0-or-later" }
1212
authors = [
1313
{ name = "Alfonso Ladino", email = "[email protected]" },
@@ -18,8 +18,6 @@ classifiers = [
1818
"Intended Audience :: Science/Research",
1919
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.10",
22-
"Programming Language :: Python :: 3.11",
2321
"Programming Language :: Python :: 3.12",
2422
"Programming Language :: Python :: 3.13",
2523
"Programming Language :: Rust",

0 commit comments

Comments
 (0)