#1148457 pyqt5: FTBFS against python 3.15rc2 as default version

Package:
src:pyqt5
Source:
src:pyqt5
Submitter:
Maximiliano Curia
Date:
2026-09-21 09:33:02 UTC
Severity:
normal
Tags:
#1148457#5
Date:
2026-09-19 19:33:37 UTC
From:
To:
Hi!

While rebuilding the python related packages against the Python 3.15rc2
as the default Python version we found that pyqt5 fails to build from
source [1].

While it works fine just building against 3.15 as one of the supported
versions, it breaks when it's the default for two reasons:

The error in the log is:
   dh_missing: error: missing files, aborting

And this is due the new abi3t file that is generated when building
against Python 3.15 and that is not getting installed.

On top of this, I also had to add a patch to solve a missing cast
(PyObject*) that Python used to do implicitly and now needs to be done
explicitly. This patch should probably be forwarded upstream.

I've applied these fixes in the sandbox [2] to verify that it builds
successfully, please consider applying the patch to support the upcoming
3.15 version.

Setting the severity to important for now. Once Python 3.15 becomes the
default version this bug will become release critical.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4751112/
[2]: https://debusine.debian.net/debian/r-python-python3.15/

#1148457#8
Date:
2026-09-20 21:32:13 UTC
From:
To:
Hello,

Bug #1148457 in pyqt5 reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/pyqt5/-/commit/1c7499d1d4d79737ae367ec263a9be71ce2b76ee
------------------------------------------------------------------------
More changes for Python 3.15 support.

- Support-for-Python-v3.15.patch: Cast Py_TYPE argument to PyObject *.
- Update python3-pyqt5.install to support Qt.abi3t-*.so filename.

Closes: #1148457.
Thanks: Maximiliano Curia!
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1148457

#1148457#15
Date:
2026-09-21 09:31:45 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pyqt5, 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 1148457@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated pyqt5 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 21 Sep 2026 00:26:27 +0300
Source: pyqt5
Architecture: source
Version: 5.15.11+dfsg-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Closes: 1148457
Changes:
 pyqt5 (5.15.11+dfsg-7) unstable; urgency=medium
 .
   * More Python 3.15 changes (thanks Maximiliano Curia, closes: #1148457):
     - Support-for-Python-v3.15.patch: Cast Py_TYPE argument to PyObject *.
     - Update python3-pyqt5.install to support Qt.abi3t-*.so filename.
Checksums-Sha1:
 dcc086880fe871425f73a4d912a9e09a68028212 3490 pyqt5_5.15.11+dfsg-7.dsc
 c902797b11ac410de1f95d52c67904cbef25baa5 19500 pyqt5_5.15.11+dfsg-7.debian.tar.xz
 5b1a0146d2e14cab54847bfde709cb7750800598 15602 pyqt5_5.15.11+dfsg-7_source.buildinfo
Checksums-Sha256:
 3ad43d543a60a7a91a4c93ed7cc54d31a7634e4c69a085fbb64d87fbb7a88042 3490 pyqt5_5.15.11+dfsg-7.dsc
 6e1e4893bd6d1a946c4e3fa1f7b0f93f9bda193721cb09f9f7c1b196a9762c56 19500 pyqt5_5.15.11+dfsg-7.debian.tar.xz
 3d490a2b77674c762c7811e166948eb9f88c4157e5a37a88c011010bd1b29ce8 15602 pyqt5_5.15.11+dfsg-7_source.buildinfo
Files:
 beec4640464dd5120adb9b554e42b07d 3490 python optional pyqt5_5.15.11+dfsg-7.dsc
 11f60b691ca983f48a857d7fccf20349 19500 python optional pyqt5_5.15.11+dfsg-7.debian.tar.xz
 3520611fe32281728a99bddf49331009 15602 python optional pyqt5_5.15.11+dfsg-7_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE8kKZ/xu8kBi5BqTLYCaTbS8ciuAFAmqw7S8THG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBgJpNtLxyK4F5UEACMKpeAfcXl/KHvdaJ6aGtoIwsMxJVK
5tWY6DwFW4b060x8uJJN1LxnAqkHHy6vk8fvEImzh9S565GNOECFa0aVrKWXXlTS
EJUJb58FB7LNa6q3ERRfNWpxfGRJV5RTwygPVt/3MiAOwCO9AvILq8wTKTEkiY2w
HRnCik8plwr9Kra+/bXNh8juPZp+h13DcjkvqeDq0HJC3Jp9D1fGHpCzKGmG0AYW
DgBJnKoFGuOXJLoGi8fxnxOYKgpDnYuico+pS7W4QZE1t+aQNERzKrF0RyF9YHbk
HY2NR6xtHtyrZSTx26XUkeMMB32+YNX65/ku5HWEbhLz93yKSldVdF/MS62/oAVc
yn11lgX9sBoiMvwdeSha1XRJJhLG0Qh1Ap44nfYaMHEc+4xwIkM+v8ysq2Jg72KU
gVtCoQi6zXdZkfOh6cxVqeHA4Sm62yPC0Xc5jD1P3K2GF+DUkWpRXfd1FcOtjhL8
8TWNbs/u2IARfCudwMoMy6+VXn6yWMC56vLi/3VhWfZMsUx0yOYssQc/KIpJNUav
X3XU5Qr3LFatKxYeu+8VzBFkNL9FRTPptBhoCQxVFckzbbM7LVmCXZsBKZvZf/Iz
yjhTagYuJ6+hlqkys00UXyDbKCjXGkNV+d1yPRnEmTp5scDWKysKeALzL1ui7k+C
MxpeCgUu9qfz/g==
=dPlW
-----END PGP SIGNATURE-----