Skip to content

Require Python 3.11 and zarr 3 - #1

Merged
alejoe91 merged 1 commit into
alejoe91:zarrv3from
bendichter:zarrv3-python311
Oct 5, 2026
Merged

alejoe91 merged 1 commit into
alejoe91:zarrv3from
bendichter:zarrv3-python311

Conversation

@bendichter

Copy link
Copy Markdown

This goes on top of SpikeInterface#387.

No zarr 3 release supports Python 3.10, so with zarr>=3,<4 in the test group the test dependencies cannot be installed on 3.10, which probeinterface declares support for. This raises the minimum Python version to 3.11 in the package metadata, the test matrix, and the Read the Docs build.

CI did not show the problem because full_tests.yml sets up Python 3.11 for every job, whatever the matrix says, so the jobs named for 3.10 and 3.14 both ran on 3.11. That is also the case on main. The workflow now uses the matrix version, which means the 3.14 jobs will run on 3.14 for the first time. Locally the tests pass on 3.11, 3.12, and 3.14 on macOS.

Saving a probe with zarr 2 installed now raises an ImportError that says zarr 3 is required, in place of an AttributeError with no message. A new test saves a probe in a zarr format 2 group and reads it back, since that is the format existing files are in. I also checked that a probe written by main with zarr 2.18 reads back equal with this branch and zarr 3.4.

🤖 Generated with Claude Code

No zarr 3 release supports Python 3.10, so the test dependencies of this
branch could not be installed there. The minimum Python version is now
3.11, in the package metadata, the test matrix, and the Read the Docs
build.

The test workflow set up Python 3.11 for every job, whatever the matrix
said, so the jobs named for Python 3.10 and 3.14 both ran on 3.11. It now
uses the matrix version.

Saving a probe with zarr 2 installed raises an ImportError that says zarr 3
is required, in place of an AttributeError. A new test saves a probe in a
zarr format 2 group and reads it back, since that is the format existing
files are in.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@alejoe91
alejoe91 merged commit d73d3c5 into alejoe91:zarrv3 Oct 5, 2026
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.

2 participants