#1145085 lazy-object-proxy: FTBFS building against python 3.15

#1145085#5
Date:
2026-08-22 08:55:32 UTC
From:
To:
Package: src:lazy-object-proxy
Version: 1.12.0-1
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch

Hi!

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

This is due to some changes in the exception messages in 3.15, and the
tests of lazy-object-proxy requiring an exact match.

I'm attaching a patch to fix that, and a fix to a RuntimeWarning as the
coroutine is never closed when an exception is raised (test_await_12).

Please consider including this patch in your next upload and forwarding
the patch upstream.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/999268/

#1145085#14
Date:
2026-10-11 18:19:30 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
lazy-object-proxy, 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 1145085@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Maximiliano Curia <maxy@debian.org> (supplier of updated lazy-object-proxy 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: Sun, 11 Oct 2026 20:09:55 +0200
Source: lazy-object-proxy
Architecture: source
Version: 1.12.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Maximiliano Curia <maxy@debian.org>
Closes: 1145085
Changes:
 lazy-object-proxy (1.12.0-2) unstable; urgency=medium
 .
   * Team upload.
   * Add patch: python3.15-compat.patch
     (Closes: #1145085)
Checksums-Sha1:
 e7e09eada9f6ea78ca847685d4b590aa8d4f3528 2309 lazy-object-proxy_1.12.0-2.dsc
 cc96705200f9cd91de7f3fe371de303cea7a1c13 4232 lazy-object-proxy_1.12.0-2.debian.tar.xz
 bc875df9f192c8d32890dbeed1f6bc6425a4fdbd 8704 lazy-object-proxy_1.12.0-2_source.buildinfo
Checksums-Sha256:
 e2326e1b87ca319c315aad36d7045fb178db3f0cef1fc22731429079e7c6c397 2309 lazy-object-proxy_1.12.0-2.dsc
 750934528fba2ce7dd88d6c065e5479d60669ee55e63689b3ef15b1c57be4b78 4232 lazy-object-proxy_1.12.0-2.debian.tar.xz
 d6dde36b63ef01a4880005427a92611a306454d32c9cadfc371300f89f3a5114 8704 lazy-object-proxy_1.12.0-2_source.buildinfo
Files:
 8868646ef0e4734bed49736554867a25 2309 python optional lazy-object-proxy_1.12.0-2.dsc
 6ba8af52148188e1e2afad64a6b69690 4232 python optional lazy-object-proxy_1.12.0-2.debian.tar.xz
 fc134a08d1b6d0a0bee0c700f8ee77f8 8704 python optional lazy-object-proxy_1.12.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmrL0kYACgkQxxl2mbKb
IyrBiQ//S0jqdoj0/lQg4i+O9dcZltlkAv2F7CuaMI86Abfr3QdenyK56aP6vgFd
KmExXBkpe45hFOV2AFO70S3WQ8LFQgwbirsnDGEyyBvx7nJFAx51h+JW84+28tfp
9VyruGLPnaIhm/KwAB+l8IbVUjwv7HDP//6y0hcnHTq/VllgCT92cOeH7MY2PvJ9
+d8+ea6L8j/tlBn2Dx/Z3crhaTVs0ucTBiimanaR6OIq9dHBGqUD5UrOKtURkhR2
lXmd9nn64fuLAcI+Y7fntX6U/FBq1/WSeMTjgdedJpg0pQCqCfjnNhgu40Oaj9sY
TFdCByP9XhVPtba4ABvS27j/Qtfe9G54KNyW2l71lagBr55RY681bRDY0hrNHeU4
risP7RibIfPx2uD1s18VOcDcWx0+GXKAMJNA0CtquosQ6ebiTOms5DtmobwiYgmk
nUk/zHbVlZ0tnMpZY/IqmA4cF5UAxdIgn0okoauS8iBPCEntbNY9M/mBCqFrfcWc
jArcgXzkpogHyVsYBT2pw/Z+4Wbsx5yV8fzNo26dVyhUyOFiCuz/iwxNRyDeC4y/
skbhRw84LhUEI7gsMLxg9gHxnbmcqLzQ2U5pLM4IEl+aYllfnBjypEV0SWxtOVIm
92MTW829YiyTkFxoAX1bV+N42NU33/f4AQcUYISyGN4ut2mrvWc=
=chIH
-----END PGP SIGNATURE-----