🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Julian Gilbey Thu, 05 Nov 2026 07:40
Bug#1153075: python3-zarr: fails to byte-compile on install
#3321
Author: Julian Gilbey
Date: Thu, 05 Nov 2026 07:40
22 lines
3316 bytes
Package: python3-zarr
Version: 3.4.2-1
Severity: important

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
Bug#1153075: python3-zarr: fails to byte-compile on install
#5063
Author: Nico Della Torre
Date: Thu, 19 Nov 2026 08:20
15 lines
3458 bytes
Hi

Can't reproduce either: python3-zarr 3.4.2-1 installs and byte-compiles 
fine in a clean sid chroot with python3.14 and python3.15. "expected 
'('" on PEP 695 syntax means it was compiled by a Python < 3.12; is an 
older python3.x still installed on that system?

Nico

-- 
⠀⢀⣴⣾⠿⠿⣿⣶⣄⠀   Nico Della Torre (nicoz)
⢠⣿⠋⠀⣠⢄⠀⠙⣿⣇   Debian Maintainer · Ubuntu
⢾⡇⠀⣾⠀⠀⠀⢀⣿⡟   https://wiki.debian.org/nicoz
⠘⣇⠀⠘⢷⣶⣶⣾⠟⠁   IRC: nicoz @ OFTC, Libera.Chat
⠀⠈⠣⢄⠀⠀⠀⠀⠀⠀   GPG: 0456 E8BC 1DC0 B027 EF8D  66A6 9549 3787 F6F1 9F03
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads