This is probably due to this version of zarr requiring Python >>3.15:
Setting up python3-zarr (3.4.2-1)…
Failed to byte-compile /usr/lib/python3/dist-packages/zarr/_compat.py: File "/usr/lib/python3/dist-packages/zarr/_compat.py", line 18
def _deprecate_positional_args[T](
^
SyntaxError: expected '('
Failed to byte-compile /usr/lib/python3/dist-packages/zarr/abc/codec.py: File "/usr/lib/python3/dist-packages/zarr/abc/codec.py", line 46
type CodecInput = NDBuffer | Buffer
^^^^^^^^^^
SyntaxError: invalid syntax
and lots more similar errors.
This occurs even if the only versions of Python on the system are 3.14
and 3.15. Since 3.14 is the current default version of Python, this
upgrade will probably break every other package that depends on it, as
they will all fail if they try importing this package.
My suggestion is to downgrade this package back to the last version
supporting 3.14 (using version number 3.4.2+really3.3.7 or whatever),
and only upgrade to this version once Python 3.15 is the default
Python version, and also specify that this new package conflicts with
python3 << 3.15.
Best wishes,
Julian