Skip to content

Commit 565ee88

Browse files
jbuseckeTomNicholaschuckwondo
authored
Test python 3.12, 3.13 (#932)
* Test python 3.12, 3.13 * Add Python 3.12 support in dependencies * Update pyproject.toml * Update release notes for version 2.4.0 Added testing information for Python versions in release notes. * actually use 3.13, instead of 3.12 twice Co-authored-by: Chuck Daniels <chuck@developmentseed.org> --------- Co-authored-by: Tom Nicholas <tom@earthmover.io> Co-authored-by: Chuck Daniels <chuck@developmentseed.org>
1 parent b7e0a0a commit 565ee88

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
environment: [test-py311, test-py314, min-deps, minio]
29+
environment: [test-py311, test-py312, test-py313, test-py314, min-deps, minio]
3030
steps:
3131
- uses: actions/checkout@v4
3232
- uses: prefix-dev/setup-pixi@v0.9.3

docs/releases.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
By [Tom Nicholas](https://github.com/TomNicholas).
5353
- Completely rewrote the `ZarrParser` to use numpy string arrays for efficiency ([#927](https://github.com/zarr-developers/VirtualiZarr/pull/927)).
5454
By [Tom Nicholas](https://github.com/TomNicholas).
55+
- Testing across all supported python versions ([#927](https://github.com/zarr-developers/VirtualiZarr/pull/932)).
56+
By [Julius Busecke](https://github.com/jbusecke)
5557

5658
## v2.4.0 (24th January 2026)
5759

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ virtualizarr = { path = ".", editable = true }
161161
[tool.pixi.feature.py311.dependencies]
162162
python = "3.11.*"
163163

164+
# Define a feature set for Python 3.12
165+
[tool.pixi.feature.py312.dependencies]
166+
python = "3.12.*"
167+
164168
# Define a feature set for Python 3.13
165169
[tool.pixi.feature.py313.dependencies]
166170
python = "3.13.*"
@@ -209,6 +213,7 @@ min-deps = ["dev", "test", "hdf", "hdf5-lib"] # VirtualiZarr/conftest.py using h
209213
# Inherit from min-deps to get all the test commands, along with optional dependencies
210214
test = ["dev", "test", "remote", "hdf", "netcdf3", "fits", "icechunk", "kerchunk", "kerchunk_parquet", "hdf5-lib", "zarr", "py314"]
211215
test-py311 = ["dev", "test", "remote", "hdf", "netcdf3", "fits", "icechunk", "kerchunk", "kerchunk_parquet", "hdf5-lib", "tiff", "zarr","py311"] # test against python 3.11
216+
test-py312 = ["dev", "test", "remote", "hdf", "netcdf3", "fits", "icechunk", "kerchunk", "kerchunk_parquet", "hdf5-lib", "tiff", "zarr", "py312"] # test against python 3.13
212217
test-py313 = ["dev", "test", "remote", "hdf", "netcdf3", "fits", "icechunk", "kerchunk", "kerchunk_parquet", "hdf5-lib", "tiff", "zarr", "py313"] # test against python 3.13
213218
test-py314 = ["dev", "test", "remote", "hdf", "netcdf3", "fits", "icechunk", "kerchunk", "kerchunk_parquet", "hdf5-lib", "zarr", "py314"] # test against python 3.14
214219
minio = ["dev", "remote", "hdf", "netcdf3", "fits", "icechunk", "kerchunk", "hdf5-lib", "py314", "zarr", "minio"]

0 commit comments

Comments
 (0)