Your message dated Mon, 02 Nov 2026 10:34:16 +0000
with message-id <[email protected]>
and subject line Bug#1146361: fixed in python-readme-renderer 46.0-1
has caused the Debian Bug report #1146361,
regarding python-readme-renderer: FTBFS against python 3.15rc1
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.)


-- 
1146361: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146361
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-readme-renderer
Version: 44.0-4
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that python-readme-renderer fails to build from source
[1].
FAILED tests/test_cli.py::test_cli_package[readme_renderer-Readme
Renderer is a library that will safely render] FAILED
tests/test_cli.py::test_cli_package[docutils-Docutils is a modular
system for processing documentation]

The tests fail because there was a behavior change in importlib.metadata
when trying to access a directory without the metadata file [2]. I've
worked around this by checking the Description field first, as was
suggested in the upstream PR #361 [3].

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

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4434740/
[2]: https://docs.python.org/3.15/whatsnew/3.15.html#importlib-metadata
[3]: https://github.com/pypa/readme_renderer/pull/361
[4]: https://debusine.debian.net/debian/r-python-python3.15/

--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
Description: Read package description from Description header
 In Python 3.15, importlib.metadata moves the description from payload to the
 Description header.
Forwarded: not-needed
Index: python-readme-renderer/readme_renderer/__main__.py
===================================================================
--- python-readme-renderer.orig/readme_renderer/__main__.py
+++ python-readme-renderer/readme_renderer/__main__.py
@@ -24,7 +24,7 @@ def main(cli_args: Optional[List[str]] =
     content_format = args.format
     if args.package:
         message = metadata(args.input)
-        source = message.get_payload()  # type: ignore[attr-defined] # noqa: E501 https://peps.python.org/pep-0566/
+        source = message.get("Description") or message.get_payload()  # type: ignore[attr-defined] # noqa: E501 https://peps.python.org/pep-0566/
 
         # Infer the format of the description from package metadata.
         if not content_format:

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: python-readme-renderer
Source-Version: 46.0-1
Done: Pieter Lenaerts <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-readme-renderer, 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.
Pieter Lenaerts <[email protected]> (supplier of updated 
python-readme-renderer 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: Tue, 27 Oct 2026 21:11:51 +0100
Source: python-readme-renderer
Architecture: source
Version: 46.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Pieter Lenaerts <[email protected]>
Closes: 1146361
Changes:
 python-readme-renderer (46.0-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream version 46.0
   * d/patches: remove merged patches
   * d/patches: add 3.15 patch (Closes: #1146361)
   * d/control: bump debhelper-compat to 14, remove obsolete substvars
Checksums-Sha1:
 eb399fbf08adb627798fbb5920f8fc7a4a255ad2 2421 python-readme-renderer_46.0-1.dsc
 f7aa57131a9019394f8b978a7350ade915c5bca6 37348 
python-readme-renderer_46.0.orig.tar.gz
 b70aa6b8d8a268ed7bf50002ae295a69ccd19586 5056 
python-readme-renderer_46.0-1.debian.tar.xz
 1c6ae3afe3dde335a786591c2cdce294e7adbe0a 6963 
python-readme-renderer_46.0-1_source.buildinfo
Checksums-Sha256:
 a0944138dd081a7a07696719519c69377d81a17bc71df227a177425cfc16dbfd 2421 
python-readme-renderer_46.0-1.dsc
 5230fdb075b63fce03b958c1356766a5031b4b3dc35e09f5e11b0f3a13524820 37348 
python-readme-renderer_46.0.orig.tar.gz
 fa3b697693dfb3c1064691f26dfbe84a8ff25e2673cf4b63763a5a86dca7208a 5056 
python-readme-renderer_46.0-1.debian.tar.xz
 87d1e1cbc990200d4239aa5cbce6ac389031d2657eef64f1779b04eb6360abc3 6963 
python-readme-renderer_46.0-1_source.buildinfo
Files:
 b81729b6ec48141d976e93b2dc8b68d4 2421 python optional 
python-readme-renderer_46.0-1.dsc
 ce06df528454bcf82e48df24794d2f5e 37348 python optional 
python-readme-renderer_46.0.orig.tar.gz
 bedf4dd0e697fd762edb29846c12250f 5056 python optional 
python-readme-renderer_46.0-1.debian.tar.xz
 1ce5106b738f52aa68afa59db20561ae 6963 python optional 
python-readme-renderer_46.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmroY3sACgkQMfMURUSh
dBq+lw//VS9vWRPdze0XVL7gsD277+sxvp6Lq0FTAKHGfKg7+GSfR6cRGOjeKMiP
9KmrjqY3WiF4HTyCL2EtU36LudYAy+k//P5W5NCbYGSSiBtjG2exNccao/lJFSqo
+ypdVLVM+8tSqkF3a2/F7g9tq2BULlHQ2bQJnzXMO5GNb5VDIIUysXSMxAHyaA3C
Sn5CiVxw4377uk9dc5uU+/fg0hyFTcgRy0PyrPTuwGqUAHGYnhMKb66aouhmBNKu
ErG5eFFBwOiMscHwRREBdiRLLS6tlYDByfxbnQke3d3DZNNL2e6t2VQaF6fQI+rb
56vMsifDHcVog/cMwGvHOpWJkYB7aeu0faDbaveMDhGTavlEKdf+BYhYVvdSfYmw
bs0p0UWnt2NkZz1ZhgItQdIyOY+Be9eIYaGTF9JVxSP9mSVrJj1mK5AYsn47iDwH
cw/G9hI/Vbjon69aR0k5D8EYy/VY/xcKKkmANar9Gh/jOjI4hJ3wxoVmq9vk21pI
cXX356GkFrQF7ALp+Vx1l/yYpt3GpZaJ+5pA0galYffzKmM1H6wJP4+YfbOCeE4s
DgAPKIZDjK7vvcpSb0At7zyEiSS4c1EnaEvRjKIVFrPtzaMDNESDblU8ut5Kk/9P
c8KZogN2io2M/5ApEDNqp3lFE9Bsbz4yDEbKMAsPVHTpCLSKaV0=
=pbwU
-----END PGP SIGNATURE-----

Attachment: pgp5zwoQc9DVp.pgp
Description: PGP signature


--- End Message ---

Reply via email to