Your message dated Mon, 28 Sep 2026 06:05:18 +0000
with message-id <[email protected]>
and subject line Bug#1148921: fixed in python-pipdeptree 2.30.0-2
has caused the Debian Bug report #1148921,
regarding python-pipdeptree: FTBFS against python 3.15rc2
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.)


-- 
1148921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148921
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-pipdeptree
Version: 2.30.0-1
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: important

Hi!

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

The error is:
E       importlib.metadata.MetadataNotFound: No package metadata was found.

This is caused by a change in behavior in Python 3.15. To fix it, I applied a 
backport of the upstream commit fe58ab5: Expect dist.metadata to be None or 
raise an exception if invalid [2]

I've applied the upstream fix in the sandbox [3] 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 is released, it 
will be added to python3-defaults and this bug will become release critical.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4543463/
[2]: 
https://github.com/naiquevin/pipdeptree/commit/fe58ab592919a3bc7f0be199067956a422eee678
[3]: 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 /\/\ /\ >< `/
From: Lumír 'Frenzy' Balhar <[email protected]>
Date: Thu, 19 Mar 2026 17:56:07 +0100
Subject: Expect dist.metadata to be None or raise an exception if invalid
 (#554)

Co-authored-by: Bernát Gábor <[email protected]>
Co-authored-by: Miro Hrončok <[email protected]>
Origin: upstream, https://github.com/naiquevin/pipdeptree/commit/fe58ab592919a3bc7f0be199067956a422eee678
---
 src/pipdeptree/_discovery.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/pipdeptree/_discovery.py b/src/pipdeptree/_discovery.py
index b434040..e715895 100644
--- a/src/pipdeptree/_discovery.py
+++ b/src/pipdeptree/_discovery.py
@@ -116,7 +116,10 @@ def filter_valid_distributions(iterable_dists: Iterable[Distribution]) -> list[D
 
 
 def has_valid_metadata(dist: Distribution) -> bool:
-    return "Name" in dist.metadata
+    try:
+        return "Name" in dist.metadata
+    except (TypeError, FileNotFoundError):
+        return False
 
 
 def render_invalid_metadata_text(site_dirs_with_invalid_metadata: set[str]) -> None:

--- End Message ---
--- Begin Message ---
Source: python-pipdeptree
Source-Version: 2.30.0-2
Done: Stuart Prescott <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-pipdeptree, 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.
Stuart Prescott <[email protected]> (supplier of updated python-pipdeptree 
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: Mon, 28 Sep 2026 15:41:42 +1000
Source: python-pipdeptree
Architecture: source
Version: 2.30.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Stuart Prescott <[email protected]>
Closes: 1148921
Changes:
 python-pipdeptree (2.30.0-2) unstable; urgency=medium
 .
   * Team upload.
   * Cherry-pick upstream patch for Python 3.15 compatibility, with thanks to
     Maximiliano Curia for forwarding the patch (Closes: #1148921).
   * Update Standards-Version to 4.7.4 (no changes required).
Checksums-Sha1:
 068a736e9080e2848a609cc9bdfe90b7f5184aea 2696 python-pipdeptree_2.30.0-2.dsc
 71c2d454324eff8fa886c2740431b549513f3f60 5268 
python-pipdeptree_2.30.0-2.debian.tar.xz
 ca3316ba6e64d7c16a6602110b6584a06f62bea7 203628 
python-pipdeptree_2.30.0-2.git.tar.xz
 1bcf4a1821ce29d8036b78a467aa7fccdfedf19f 17768 
python-pipdeptree_2.30.0-2_source.buildinfo
Checksums-Sha256:
 7259b2426daf20d68c76819ef927fdd6b12f6c68d971ce98b869a090409ef0ab 2696 
python-pipdeptree_2.30.0-2.dsc
 c420c8351264e8b59a9edb221c41617720c80bca53970eba006f0ab4a7c5f309 5268 
python-pipdeptree_2.30.0-2.debian.tar.xz
 ddefb7a49aacfddc9ca7e226c910240a257aa07e041b0b0cf4e47c5f50bd86db 203628 
python-pipdeptree_2.30.0-2.git.tar.xz
 e9c77eebc7df74723b32acd08fb6a8736e8e6e7d75746a9501214b2df9b9cf75 17768 
python-pipdeptree_2.30.0-2_source.buildinfo
Files:
 257e7f2d39659eedd80961d1d148f00b 2696 python optional 
python-pipdeptree_2.30.0-2.dsc
 124fd9979f79f9ea8f9b576691d7971d 5268 python optional 
python-pipdeptree_2.30.0-2.debian.tar.xz
 0dab3ca24e1cdc59708b7f12a4a0b69f 203628 python None 
python-pipdeptree_2.30.0-2.git.tar.xz
 41a5b352d2ce974c0289d4200a970aee 17768 python optional 
python-pipdeptree_2.30.0-2_source.buildinfo
Git-Tag-Info: tag=908dd38290923565473a549b80679d1d40275ced 
fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmq5/4gACgkQYG0ITkaD
wHlHghAA1TaIq1bdFlRKd/WF0/g2StKEOxc8x5V7SPdef7vm3CybaNMZcmbbSyh2
nLrwropZiLuCL1MJRmPjlh3++G660IiNauiyX6kRVZa1CZdRB3DWLm+SWj69FJxm
PDPKRIODtC/3YoUbwmdmO/reu/rN7LxfOqUYdfpK9X41gdUaNVWdziFzIR3y3UVI
IjU9kyimJhR+7vEtFJaI/vQk9GpU+dilkNkFi+yWbGxktUXr7UOrXK7melL6PZ1H
vIapKb2gVw0QYXy62z8uuUudT6KtHhjKj7RB8yUBKzH+giyVBYLFfY2LbbJEJv36
fu5FPoAANeO5Sk4ekKa1lKVRYi5UqPqFyTnkEGDjsnUlLBym9DH+J/jK2goVHRkm
x0YfLho27/M5iqvddLCayNcbIzQ8h+dilz4q27ahzBFUAI8Iq5I12Vbb+BV+k+q0
hhvgb5yT7W/pnYGS25rq2ruMfAIHEwFzyjTi2ztZeU/x4MyKmovNMllcwyZ0Wa00
LTvZtEwtUO3j2svBSawwpuPnAvcajcpQZmgrJudRPlvuUGAGjURNw99jYnZelYLh
2og//lxaYWxnh/6iZl/rlQsLHTdk8XKTnjEgCfC15Su2WGrfbtF4PihqXS1M8yFh
QKlGuscZDAnE+/mqj/TjlsQI9G5V/FJHNNy++5CTiI7pXyadvrc=
=yhoo
-----END PGP SIGNATURE-----

Attachment: pgpxbd4Mklhso.pgp
Description: PGP signature


--- End Message ---

Reply via email to