Your message dated Sat, 09 May 2026 22:06:28 +0000
with message-id <[email protected]>
and subject line Bug#1136119: fixed in sphinx 9.1.0-3
has caused the Debian Bug report #1136119,
regarding python3-sphinx: When pypy3 is installed, installing python3-sphinx
prints a lot of errors
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1136119: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136119
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-sphinx
Version: 9.1.0-2
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
I just ran an apt upgrade on my Debian testing, and spotted a lot of Python
errors.
Happen that dpkg-reconfigure tries to use pypy3 to compile the
installed files, great, bug looks like python3-sphinx is using syntax that is
not compatible yet with pypy3:
# dpkg-reconfigure python3-sphinx
Failed to byte-compile
/usr/lib/python3/dist-packages/sphinx/_cli/__init__.py: File
"/usr/lib/python3/dist-packages/sphinx/_cli/__init__.py", line 41
type _PARSER_SETUP = Callable[[argparse.ArgumentParser],
argparse.ArgumentParser]
^^^^^^^^^^^^^
SyntaxError: invalid syntax
According to strace, the command executed by dpkg-reconfigure is `pypy3compile
-p python3-sphinx`:
# pypy3compile -p python3-sphinx
Failed to byte-compile
/usr/lib/python3/dist-packages/sphinx/_cli/__init__.py: File
"/usr/lib/python3/dist-packages/sphinx/_cli/__init__.py", line 41
type _PARSER_SETUP = Callable[[argparse.ArgumentParser],
argparse.ArgumentParser]
^^^^^^^^^^^^^
SyntaxError: invalid syntax
I'm only pasting a single error, but there's 120 lines of error, all the same
about using `type` in Python code.
The `type` statement exists since Python 3.12:
- https://docs.python.org/3/whatsnew/3.12.html#whatsnew312-pep695
and pypy3 is only compatible with Python 3.11.
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.19.14+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-sphinx depends on:
ii python3 3.13.9-3
ii python3-alabaster 1.0.0-1
ii python3-babel 2.17.0-2
ii python3-defusedxml 0.7.1-3
ii python3-docutils 0.22.4+dfsg-1
ii python3-imagesize 2.0.0-1
ii python3-jinja2 3.1.6-2
ii python3-packaging 26.0-1
ii python3-pygments 2.19.2+dfsg-1
ii python3-requests 2.32.5+dfsg-1
ii python3-roman-numerals 4.1.0-1
ii python3-snowballstemmer 3.0.1-1
ii sphinx-common 9.1.0-2
Versions of packages python3-sphinx recommends:
ii make 4.4.1-3
ii python3-pil 12.2.0-1
Versions of packages python3-sphinx suggests:
pn dvipng <none>
ii dvisvgm 3.6+ds-1
ii fonts-freefont-otf 20211204+svn4273-4
ii imagemagick 8:7.1.2.18+dfsg1-1
ii imagemagick-7.q16 [imagemagick] 8:7.1.2.18+dfsg1-1
pn latexmk <none>
pn node-mathjax-full <none>
pn python3-sphinx-rtd-theme <none>
pn sphinx-doc <none>
ii tex-gyre 20180621-7
ii texlive-fonts-extra 2026.20260328-5
ii texlive-fonts-recommended 2026.20260328-4
ii texlive-latex-extra 2026.20260328-5
ii texlive-latex-recommended 2026.20260328-4
ii texlive-plain-generic 2026.20260328-5
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: sphinx
Source-Version: 9.1.0-3
Done: Dmitry Shachnev <[email protected]>
We believe that the bug you reported is fixed in the latest version of
sphinx, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dmitry Shachnev <[email protected]> (supplier of updated sphinx package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 09 May 2026 23:40:58 +0300
Source: sphinx
Architecture: source
Version: 9.1.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Dmitry Shachnev <[email protected]>
Closes: 1136119
Changes:
sphinx (9.1.0-3) unstable; urgency=medium
.
* Add “X-Python3-Version: >= 3.12” to debian/control (closes: #1136119).
Checksums-Sha1:
09267f924c552a08fe0780891f1eaadc53549d78 3660 sphinx_9.1.0-3.dsc
ca573013d5380f00265a790c09b27633341905fa 37400 sphinx_9.1.0-3.debian.tar.xz
7a6a96dcc85c43ca8ef16d550d06f5d88b884406 7356 sphinx_9.1.0-3_source.buildinfo
Checksums-Sha256:
b7bd9e126551ac2f12ec6e285676d1675c4bb40b03f7c7a0e786761fb91b3732 3660
sphinx_9.1.0-3.dsc
5b8fe68aebd65c13e53109b5dddd75fdb03365cb52fa5e76c610268932accac3 37400
sphinx_9.1.0-3.debian.tar.xz
73c4506e95c296d36051579e8f638e3983443b652e8768cc4dc21d9b996c09a4 7356
sphinx_9.1.0-3_source.buildinfo
Files:
edfc9b751bf5bfec829081d5ab8ebb12 3660 python optional sphinx_9.1.0-3.dsc
1633cd5cf7c6cf97014baf40370fb769 37400 python optional
sphinx_9.1.0-3.debian.tar.xz
d0990d3cd52582d281a6248c93b442d5 7356 python optional
sphinx_9.1.0-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEE8kKZ/xu8kBi5BqTLYCaTbS8ciuAFAmn/q4ATHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBgJpNtLxyK4EKlD/wOSrWXcIi4uk22SIlSLbWhA7+wOzlc
47qZqwYRqxykiva149PqHQVDlYyOjlmFvKrFhMIGNe+2/FynrPxv9XhmQ2/YW7N0
NepyA+KM5ZWFfyLqhU8lU3d6Td2wPwEE828eSKvHdQR7PzWuQqhqJc+oqpNDDZxO
+An5/0320Wd7ew3p1Ji3+vALRSv4XOf8slWL5cS+Abtipb7tFtrodJVzR6m4InCu
zN+nBGbkGDk/0tD2Ffd1vIbkb5C877cFYycD5yel2DLNINVTswFOa9nzd9XVWYTX
uROIN02cQQsxsXN/euI0PXvUFJIM/AL5MGxcKnUzt31kNRDvzwtybbyIf82ywMKE
yNZD7+t0yaDmc/14tdpe+momvzUwScLAs9jqFrshy5VP2yBHDZY2FM54XkpE7Sh7
evJEOHBLaqrsFoygbdGZKIw+0oKLYyFrRREq19Zcxut64JpcxLHA7T4pdO1smk+z
xs856J7NMR7HIWwz0pjx5ujA2QTLsNLHCzFojTIBXMyhJJzNLv4OOAFf/fFIFe5K
02Xs4TOP3UAMs3hiH1ptIIru+Vx5HoRgzKAELO1pL0D9s6SVoh0Ng7hPyeQXNPpC
U55I5udsjxtlp5zdP+rQ1gRz5Ihfaq71bjPsjy4kYROYDuDqED4x0qsv6mMDoArz
U9qVvmgEXLtE3g==
=KWUZ
-----END PGP SIGNATURE-----
pgpqoitN9ZGWn.pgp
Description: PGP signature
--- End Message ---