Hi Julien!

On Sat, May 09, 2026 at 08:19:55PM +0200, Julien Palard wrote:
> 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:
> 
> [...]
> 
> According to strace, the command executed by dpkg-reconfigure is
> `pypy3compile -p python3-sphinx`.
> 
> 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.

Will it be fine for you if I add `X-Python3-Version: >= 3.12` in d/control?

It removes these errors, by changing the command to this one:

    pypy3compile -p python3-sphinx -V 3.12-

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to