Your message dated Sun, 11 Oct 2026 18:19:30 +0000
with message-id <[email protected]>
and subject line Bug#1145085: fixed in lazy-object-proxy 1.12.0-2
has caused the Debian Bug report #1145085,
regarding lazy-object-proxy: FTBFS building against python 3.15
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.)
--
1145085: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145085
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:lazy-object-proxy
Version: 1.12.0-1
User: [email protected]
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/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
Description: Fix test failures with Python 3.15
Loosen the exception match regexes to accept the old and the new formats, and wrap
test_await_12 in try/finally to ensure the coroutine is always closed even if
an exception is raised during the test.
Author: Maximiliano Curia <[email protected]>
Forwarded: no
---
--- a/tests/test_async_py3.py
+++ b/tests/test_async_py3.py
@@ -542,7 +542,7 @@
async def foo():
return await lop.Proxy(Awaitable)
- with pytest.raises(TypeError, match='__await__.*returned non-iterator of type'):
+ with pytest.raises(TypeError, match=r'__await__.*(returned non-iterator of type|must return an iterator)'):
run_async(lop.Proxy(foo))
@@ -650,10 +650,11 @@
async def foo():
return await lop.Proxy(Awaitable)
- with pytest.raises(TypeError, match=r'__await__\(\) returned a coroutine'):
- run_async(lop.Proxy(foo))
-
- c.close()
+ try:
+ with pytest.raises(TypeError, match=r'__await__.*(returned a coroutine|must return an iterator, not coroutine)'):
+ run_async(lop.Proxy(foo))
+ finally:
+ c.close()
def test_await_13(lop):
@@ -664,7 +665,7 @@
async def foo():
return await lop.Proxy(Awaitable)
- with pytest.raises(TypeError, match='__await__.*returned non-iterator of type'):
+ with pytest.raises(TypeError, match=r'__await__.*(returned non-iterator of type|must return an iterator)'):
run_async(lop.Proxy(foo))
--- End Message ---
--- Begin Message ---
Source: lazy-object-proxy
Source-Version: 1.12.0-2
Done: Maximiliano Curia <[email protected]>
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Maximiliano Curia <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
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 <[email protected]>
Changed-By: Maximiliano Curia <[email protected]>
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-----
pgpkdsjTy3FGD.pgp
Description: PGP signature
--- End Message ---