Your message dated Mon, 19 Oct 2026 14:24:19 +0000
with message-id <[email protected]>
and subject line Bug#1145992: fixed in pylint 4.0.8-2
has caused the Debian Bug report #1145992,
regarding pylint: 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.)


-- 
1145992: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145992
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pylint
Version: 4.0.6-1
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 TODO fails to build from source [1].
There are three problems related to these faiures, 2 are related to
fixes needed in other packages (dill and astroid), but the third part is
caused by a bug pylint fixed upstream in the "Fixes for Python 3.15"
commit [2].

I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on TODO, please consider applying the patch to
support the upcoming 3.15 version.

Happy hacking,

[1]: 
https://debusine.debian.net/debian/r-python-python3.15/work-request/1124193/
[2]: 
https://github.com/pylint-dev/pylint/commit/80999752ae7c3bf4c11b275c60d49621a87e3e0e
[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: DaniĆ«l van Noord <[email protected]>
Date: Tue, 28 Jul 2026 16:43:45 +0200
Subject: Fixes for Python 3.15 (#11188)

Origin: upstream, https://github.com/pylint-dev/pylint/commit/80999752ae7c3bf4c11b275c60d49621a87e3e0e
---
diff --git a/pylint/constants.py b/pylint/constants.py
index 11e261e0e..e23ddbe31 100644
--- a/pylint/constants.py
+++ b/pylint/constants.py
@@ -18,6 +18,7 @@ from pylint.typing import MessageTypesFullName
 PY311_PLUS = sys.version_info[:2] >= (3, 11)
 PY312_PLUS = sys.version_info[:2] >= (3, 12)
 PY314_PLUS = sys.version_info[:2] >= (3, 14)
+PY315_PLUS = sys.version_info[:2] >= (3, 15)
 
 IS_PYPY = platform.python_implementation() == "PyPy"
 
diff --git a/tests/functional/d/deprecated/deprecated_methods_py36.rc b/tests/functional/d/deprecated/deprecated_methods_py36.rc
new file mode 100644
index 000000000..4cd84d47f
--- /dev/null
+++ b/tests/functional/d/deprecated/deprecated_methods_py36.rc
@@ -0,0 +1,2 @@
+[testoptions]
+max_pyver=3.15
diff --git a/tests/functional/n/no/no_name_in_module.py b/tests/functional/n/no/no_name_in_module.py
index 6d34245c8..eb1598d95 100644
--- a/tests/functional/n/no/no_name_in_module.py
+++ b/tests/functional/n/no/no_name_in_module.py
@@ -6,9 +6,9 @@ import collections.tutu  # [no-name-in-module]
 from collections import toto  # [no-name-in-module]
 toto.yo()
 
-from xml.etree import ElementTree
-ElementTree.nonexistent_function()  # [no-member]
-ElementTree.another.nonexistent.function()  # [no-member]
+from xml.etree import ElementPath
+ElementPath.nonexistent_function()  # [no-member]
+ElementPath.another.nonexistent.function()  # [no-member]
 
 
 import sys
diff --git a/tests/functional/n/no/no_name_in_module.txt b/tests/functional/n/no/no_name_in_module.txt
index ed8628108..baeb9fbbf 100644
--- a/tests/functional/n/no/no_name_in_module.txt
+++ b/tests/functional/n/no/no_name_in_module.txt
@@ -1,7 +1,7 @@
 no-name-in-module:5:0:5:23::No name 'tutu' in module 'collections':UNDEFINED
 no-name-in-module:6:0:6:28::No name 'toto' in module 'collections':UNDEFINED
-no-member:10:0:10:32::Module 'xml.etree.ElementTree' has no 'nonexistent_function' member:INFERENCE
-no-member:11:0:11:19::Module 'xml.etree.ElementTree' has no 'another' member:INFERENCE
+no-member:10:0:10:32::Module 'xml.etree.ElementPath' has no 'nonexistent_function' member:INFERENCE
+no-member:11:0:11:19::Module 'xml.etree.ElementPath' has no 'another' member:INFERENCE
 no-member:16:6:16:17::Module 'sys' has no 'stdoout' member; maybe 'stdout'?:INFERENCE
 no-name-in-module:23:0:23:34::No name 'compiile' in module 're':UNDEFINED
 no-name-in-module:23:0:23:34::No name 'findiiter' in module 're':UNDEFINED
diff --git a/tests/testutils/test_functional_testutils.py b/tests/testutils/test_functional_testutils.py
index 2b1574e35..da3b1ad82 100644
--- a/tests/testutils/test_functional_testutils.py
+++ b/tests/testutils/test_functional_testutils.py
@@ -17,6 +17,7 @@ import pytest
 from _pytest.outcomes import Skipped
 
 from pylint import testutils
+from pylint.constants import PY315_PLUS
 from pylint.testutils.functional import (
     FunctionalTestFile,
     get_functional_test_files_from_directory,
@@ -135,17 +136,18 @@ def test_minimal_messages_config_enabled(pytest_config: MagicMock) -> None:
         str(DATA_DIRECTORY / "m"), "minimal_messages_config.py"
     )
     mod_test = testutils.LintModuleTest(test_file, pytest_config)
+    expected_messages: tuple[str, ...] = (
+        "consider-using-with",
+        "consider-using-f-string",
+        # Always enable fatal errors: important not to have false negatives
+        "astroid-error",
+        "fatal",
+        "syntax-error",
+    )
+    if not PY315_PLUS:
+        expected_messages += ("unspecified-encoding",)
     assert all(
-        mod_test._linter.is_message_enabled(msgid)
-        for msgid in (
-            "consider-using-with",
-            "unspecified-encoding",
-            "consider-using-f-string",
-            # Always enable fatal errors: important not to have false negatives
-            "astroid-error",
-            "fatal",
-            "syntax-error",
-        )
+        mod_test._linter.is_message_enabled(msgid) for msgid in expected_messages
     )
     assert not mod_test._linter.is_message_enabled("unused-import")
 

--- End Message ---
--- Begin Message ---
Source: pylint
Source-Version: 4.0.8-2
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pylint, 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.
Colin Watson <[email protected]> (supplier of updated pylint 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, 19 Oct 2026 14:46:52 +0100
Source: pylint
Architecture: source
Version: 4.0.8-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1145992
Changes:
 pylint (4.0.8-2) unstable; urgency=medium
 .
   [ Nico Della Torre ]
   * Team upload.
   * Backport upstream test fixes for Python 3.15 (closes: #1145992).
Checksums-Sha1:
 eb4b6cdb5ecb18dee9c7043ec0f8e5ff44be669d 2597 pylint_4.0.8-2.dsc
 1865d734087c34babd56cc04b15eb0f268962e1e 32300 pylint_4.0.8-2.debian.tar.xz
 00801d2a99ce03bb9621e5fd6351cb75aac207d6 2713364 pylint_4.0.8-2.git.tar.xz
 6cb466a6f34780f46295cad7f0fcc21dc7a63534 17720 pylint_4.0.8-2_source.buildinfo
Checksums-Sha256:
 83f15fb7915e40cb6a9022e09d69fdda0aa92384ac9cc8871e1eb91339fa1487 2597 
pylint_4.0.8-2.dsc
 4b701e56b4e4b3a6bf97372911bb7a2491da8379f24ed2bf20b364c6de2dbf2c 32300 
pylint_4.0.8-2.debian.tar.xz
 43c1ac6459556d7032b817740bde36bdbf894d79a6c59c7db48708511c583fa0 2713364 
pylint_4.0.8-2.git.tar.xz
 b769f0a3347150f7871cc916f20648495af7b06e0a322e31f173e6ab5be3355b 17720 
pylint_4.0.8-2_source.buildinfo
Files:
 55b5bb62bda7782a6aa1f431409c7b23 2597 python optional pylint_4.0.8-2.dsc
 54429bd8d9d23921938e671584a74813 32300 python optional 
pylint_4.0.8-2.debian.tar.xz
 2b15f3b769e3c89e1c8f25c5e65cb5b1 2713364 python None pylint_4.0.8-2.git.tar.xz
 6dcdd76f1a748c74743c0c6913dcb3c6 17720 python optional 
pylint_4.0.8-2_source.buildinfo
Git-Tag-Info: tag=2d6c24672c860003ee9e293db2c4e16af9770b97 
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrWH8oACgkQYG0ITkaD
wHkMUg/6AiqNEHHP+STDrAfIII3uaH8IaSEMRD6oAgUxYaYNCT68wOEuVCjRmz7E
I5bXQJBfiKPAhyF1Ei4fSnqUBrnWfx11TQ8VSgPL7azgwMTccJ0S1tI1ZRmT2lof
6/P10KOZGDE7YFxA0OT8w0EvxhBLAsGCOjdQ1mS1tnUn9X/XZw6lJ3NStezoCWux
+7i0FTp3T/HOtMUZjvswFEesFN7Sjvo8pwpd4c0Z38w+Zuh5f5xbKhC8uepRVJAa
jXsfj3bfdLB0KtIrqD1yqk37J//wWpB+xV8GVy6I5w77hKDzIJM7kbJY8ek/6Cf9
YX4fqJkTl2mLUJi7fBsnnQSgww22aTTyM1d/BL2x0eJXa7bUkCENzSLTcuQoL7uy
uV4E554xQAncQy+fHPraKP0Z30EdwyXy4CFHfFYrg9HNOzhQb4XnCnOzPskJ0CbX
/ZE9nE7dmUNDjdLAHK4GBv/F+e9ghOFjjp30E5/aihhvzIsmbXVnhcAhyWJ3X09x
3/1Ii3++HvAAQSgSj1XkMmF6E0xFY9+Tp3UZJgdJmW8K8rZgn26KGqguRH9LN9/l
KdZhrXSK6ie6UoGLxou6i3aIObkXe8Axu2N/TCKYq2Fs+BdLZ7vkF+wXNdqWq4Vz
vxZxLmRcq3myzPCGBB9KHcJjpn8Ql0Dc4jZiTow3Kni9tCr2WiM=
=zoDx
-----END PGP SIGNATURE-----

Attachment: pgpR4UajxT6gA.pgp
Description: PGP signature


--- End Message ---

Reply via email to