Your message dated Sun, 06 Sep 2026 00:50:24 +0000
with message-id <[email protected]>
and subject line Bug#1146029: fixed in astroid 4.3.1-1
has caused the Debian Bug report #1146029,
regarding astroid: Change in behavior with 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.)


-- 
1146029: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146029
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:astroid
Version: 4.1.1-2 User: [email protected]
Usertags: python3.15
Tags: patch, forky, sid

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that astroid has a change in behavior that causes other
packages to fail to build [1].
This was already found and fixed upstream with a patch that catches the
ModuleNotFoundError that is generated when running with Python 3.15. [2]

I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on astroid, 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/4493763/
[2]: 
https://github.com/pylint-dev/astroid/commit/7fe3057bc2864ccf18c524b5e85fe57a12f32ef6
[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 /\/\ /\ >< `/
commit 7fe3057bc2864ccf18c524b5e85fe57a12f32ef6
Author: Jacob Walls <[email protected]>
Date:   Fri Apr 24 06:30:50 2026 -0400

    Cope with Python 3.15 change for ModuleNotFoundError (#3035)

Index: astroid/astroid/interpreter/_import/util.py
===================================================================
--- astroid.orig/astroid/interpreter/_import/util.py
+++ astroid/astroid/interpreter/_import/util.py
@@ -72,10 +72,10 @@ def is_namespace(modname: str) -> bool:
                 # Workaround for "py" module
                 # https://github.com/pytest-dev/apipkg/issues/13
                 return False
-        except KeyError:
-            # Intermediate steps might raise KeyErrors
-            # https://github.com/python/cpython/issues/93334
-            # TODO: update if fixed in importlib
+        # PY314: When dropping support for 3.14, replace with just
+        # except ModuleNotFoundError:
+        except (KeyError, ModuleNotFoundError):
+            # Intermediate steps might raise ModuleNotFoundError
             # For tree a > b > c.py
             # >>> from importlib.machinery import PathFinder
             # >>> PathFinder.find_spec('a.b', ['a'])

--- End Message ---
--- Begin Message ---
Source: astroid
Source-Version: 4.3.1-1
Done: Daniel Echeverri <[email protected]>

We believe that the bug you reported is fixed in the latest version of
astroid, 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.
Daniel Echeverri <[email protected]> (supplier of updated astroid 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: Sat, 05 Sep 2026 18:33:52 -0500
Source: astroid
Architecture: source
Version: 4.3.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Daniel Echeverri <[email protected]>
Closes: 1145442 1146029
Changes:
 astroid (4.3.1-1) unstable; urgency=medium
 .
   * New upstream version 4.3.1 (Closes: #1145442, #1146029)
   * debian/watch
     + Update to Version 5
Checksums-Sha1:
 e65f2cd09dccbb24e9d029437bd4ff7337992b2f 2329 astroid_4.3.1-1.dsc
 ab6b2a6716ccabcca34cb03328b3614dfdc535d9 523585 astroid_4.3.1.orig.tar.gz
 dc6195ab1fcbc4477b53f5d5e1a119753760b00a 5908 astroid_4.3.1-1.debian.tar.xz
 4f2bb2328364cbf9313f5d3aea71555601701ae3 7299 astroid_4.3.1-1_amd64.buildinfo
Checksums-Sha256:
 6d59e018daa108aabd1f6c8e9424209e1ef3850192996454db9c55bfe5a45e27 2329 
astroid_4.3.1-1.dsc
 7f55ce88c8af0c70cc748d66dfa37b958ba93aff6b6ec6a06ba20f37de682fca 523585 
astroid_4.3.1.orig.tar.gz
 e6de2cd2c75b6dd3def2c6d1c418186fccbb72e5dc1a4c4c5985757c7ed91dae 5908 
astroid_4.3.1-1.debian.tar.xz
 9c86b25de720b3d61b59405eb9bdd462cd1ef754c3353322ab1fef887f4243b7 7299 
astroid_4.3.1-1_amd64.buildinfo
Files:
 35a28fe5fd0b850f2d44e4cf13dbb16b 2329 python optional astroid_4.3.1-1.dsc
 d010100e9c64f2364fcd516d5f487607 523585 python optional 
astroid_4.3.1.orig.tar.gz
 a7b2b8fbd09fae5ecc2ce214184cd897 5908 python optional 
astroid_4.3.1-1.debian.tar.xz
 c785c8defec0ed7b818d45b2362072dd 7299 python optional 
astroid_4.3.1-1_amd64.buildinfo

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

iQJHBAEBCgAxFiEE0NCFsWnDv9lASFj6IfwpUEtSMNsFAmqcstATHGVwc2lsb25A
ZGViaWFuLm9yZwAKCRAh/ClQS1Iw2xs0D/45RK1WumEUtNsif6AjBFkNnVC/nHEo
2pJkd/8j5v0rvjDv97PyXxibYtkeaJDss6oascDXzkz6Fvwl3oezkWkgADnSW0Oc
HbEfV4T9IphbgiOgvfCjBhXNamElQEtDAU4rFxVmGHIdFSpTtZ1qfvVASLOPAQ3O
WIDiFrfVO7PeuJsFul5oxASUnuPa2uR9HdB29CorN6UggP8a9kpfsLKf2mIkI7P4
hHN2C/V97/DF3SIOffM+XNr6y/gyo+kRRzPU1LDU/x1ZUiemmumNT0BpdDdTljcW
zTCVI7y4+16p6pND/Fq3QHrK8/rLs9Pc8AUbmpdb1uMYzJAd5C1SGLfzdH7/07wX
jNBHlb2qM8WeZqd5e3cGobmt3FmxOocpTuh+I+SObPFIQWfkGnAlFeWB4437IRUA
sUC0tLLIULHvJXSR+yQGzsy51K4Kto3O9GximLR98OS2ukNOZ6t3F1r3zmWkv4am
Xo5F7GlzPIJDfLE2arwUC7s4jQ1OW/1Z1ghXD5E+Xq6JvTuHsgi3XSBuLpkgx3p+
aWqgLdvNT32iFI9MHa2hjmAyv7HQOQTlO7XtIdpZF77QK9mNGLZVUkEaZK2gCy7B
WhU8q0AMQxIPXlOhTtFObBKCxbkRDEIrd0yEABkZoH05rODB1a9eOYnvlKgPo239
G+qy7pDhbMEbjg==
=HDzE
-----END PGP SIGNATURE-----

Attachment: pgpDUozAj7jKQ.pgp
Description: PGP signature


--- End Message ---

Reply via email to