🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3321

Bug#1153075: python3-zarr: fails to byte-compile on install

#3321
From: 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
Technical Details
Message-ID: <NW0eJ-9WZk-13@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Julian Gilbey <jdg@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153075: python3-zarr: fails to byte-compile on install
Date: Thu, 05 Nov 2026 08:40:01 +0100
Message-ID: <NW0eJ-9WZk-13@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov  5 07:31:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Julian Gilbey <jdg@debian.org>, 1153075@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-science-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: report 1153075
X-Debian-Pr-Package: python3-zarr
X-Debian-Pr-Source: zarr
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
X-Mailer: reportbug 13.2.0
X-Debian-User: jdg
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000739
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 22
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 05 Nov 2026 07:28:29 +0000
X-Original-Message-ID: <179386370956.3546546.4896048946918196427.reportbug@erdos.d-and-j.net>