#1146356 python-yappi: FTBFS against python 3.15rc1

Package:
src:python-yappi
Source:
src:python-yappi
Submitter:
Maximiliano Curia
Date:
2026-09-02 13:21:02 UTC
Severity:
normal
Tags:
#1146356#5
Date:
2026-08-31 18:33:24 UTC
From:
To:
Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that python-yappi fails to build from source [1].

The error is produced because IS_SUSPENDED in yappi/_yappi.c, that has a
block for each python version, and as python 3.15 is not explicitly
listed it uses the solution that was written for python 3.11. Using the
version for python 3.14 seems to work, I don't have the background to
actually be sure that no other change is needed.

I'm attaching the patch here.

I applied the fix in the sandbox [2] to be able to build the packages
that depend on python-yappi, please consider applying the patch to
support the upcoming 3.15 version.

Both the issue and the patch still need to be forwarded upstream, as
there is no work to support 3.15 there yet.

Happy hacking,

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

#1146356#14
Date:
2026-09-02 13:19:49 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-yappi, 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 1146356@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated python-yappi 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: Wed, 02 Sep 2026 14:58:35 +0200
Source: python-yappi
Architecture: source
Version: 1.7.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1146356
Changes:
 python-yappi (1.7.3-3) unstable; urgency=medium
 .
   * Add support-python-3.15.patch (Closes: #1146356).
Checksums-Sha1:
 5aa8e94b2eaa116c80594d9ecc3d0979d3d49185 2070 python-yappi_1.7.3-3.dsc
 a6d8abf09bbece41f3a7f410fc693d5731559918 3512 python-yappi_1.7.3-3.debian.tar.xz
 7828ab4bfc986afeba6bbb4759fcbea9f424168c 7798 python-yappi_1.7.3-3_amd64.buildinfo
Checksums-Sha256:
 3f1a4ab564348b11f16b0be9186f8d6064fa12da752d0cd2f6da87882d9d9d55 2070 python-yappi_1.7.3-3.dsc
 884f24974664a9ac095f2aa656e90e53f1faa5a41d42945625b8dd9c6f300435 3512 python-yappi_1.7.3-3.debian.tar.xz
 aeb165517987bb97fb6631044b8798c028cb0d599dea94cd953ae21cac05baaf 7798 python-yappi_1.7.3-3_amd64.buildinfo
Files:
 9b0dd4826288f696183eee5d3e5d96b1 2070 python optional python-yappi_1.7.3-3.dsc
 23ba8f861de88814be109370e22cddb7 3512 python optional python-yappi_1.7.3-3.debian.tar.xz
 2e193116374807769cca376d042ae35c 7798 python optional python-yappi_1.7.3-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmqYHeYACgkQ1BatFaxr
Q/4uSA//XRtLTOA9RVv2Q5SP80iHgyI5DmFsdS7qzEwMmThWmRrm5yNDjseEeLXN
+I86YDGjg8sr3tFDPmpBW4nNWY8D62x4RWkmA5hyVK336jJOdLQ3Si1XaQHOj66C
zVORwOaIQrOWuk5U7ZdTfl/2q2tN9q06fcXTypyqju4xEff5+YK66r8fYh0ipKMb
RQqLgUiSpnr5SJ38Xr92u0BP+x6OweSO+Lkt8eshe7CB3MhpcWs3kEULIUcnXtJO
OlyroVk56Ynr/8srO7hN4vefuX+vViyCOeiQszxd0CHCLngRolTQWfQh7AOnDwOb
ysiA4qHumQjA1lLLRY0RzHkavX6YYjzol32n4IueLdVCBhZ/9brXWA1B/6CkBpKL
gk6UvL+sDi0xqsDav6x3Z1LqgV89sXtl/2SFWNa0nZXQYLqszj3dc5tAWLJXUI2h
hqh5eEKt4SHRj2eEIh1TIygVnwuU87/hwtzP0/DdkLi2gOKwEp2o3+iMOocqFVby
l1b9BomQvz8lJNkDPOEKNZaId57bwTDrhwAhhaBdYUmsFD3rZmpjjhODfQpRaVkJ
IltKxPNFScBZK2V5WexYTuwyQxfL8kr2EzhLsxs5cpsRphDSK2PxDouItLbJBm2P
jSMN0kQC6BzvvPqAKDa31M+ZGjM2Z71jooM2j2EvB+XogNlIyIE=
=JX54
-----END PGP SIGNATURE-----