From 293209b48b30358f441346c5a2e61a0fd3f9b5d3 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 17 Mar 2025 18:07:48 +0000
Subject: [PATCH 1/3] Update coverage requirement from ~=7.6 to ~=7.7

Updates the requirements on [coverage](https://github.com/nedbat/coveragepy) to permit the latest version.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.6.0...7.7.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
---
 requirements_minimal.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/requirements_minimal.txt b/requirements_minimal.txt
index c533b5e55..db9260ee6 100644
--- a/requirements_minimal.txt
+++ b/requirements_minimal.txt
@@ -3,7 +3,7 @@ contributors-txt>=0.7.4
 tbump~=6.11
 
 # Tools used to run tests
-coverage~=7.6
+coverage~=7.7
 pytest
 pytest-cov~=6.0
 mypy

From a65c2ba42e6bc9374d70b6bae876d5dff742f28c Mon Sep 17 00:00:00 2001
From: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Date: Wed, 19 Mar 2025 22:44:40 +0100
Subject: [PATCH 2/3] Skip the test known to fail in pypy 3.10

We're merging a lot of MR with red tests which looks worst.
---
 tests/test_inference.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/test_inference.py b/tests/test_inference.py
index 6b53d4f5d..818416772 100644
--- a/tests/test_inference.py
+++ b/tests/test_inference.py
@@ -1883,6 +1883,10 @@ def do_a_thing():
         node = ast["do_a_thing"]
         self.assertEqual(node.type, "function")
 
+    @pytest.mark.skipif(
+        IS_PYPY and PY310_PLUS,
+        reason="Persistent recursion error that we ignore and never fix",
+    )
     def test_no_infinite_ancestor_loop(self) -> None:
         klass = extract_node(
             """

From 05d33837087eb1e0ab18f76ecf1eb15e283c8663 Mon Sep 17 00:00:00 2001
From: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Date: Wed, 19 Mar 2025 23:01:42 +0100
Subject: [PATCH 3/3] [setuptools] Upgrade the license handling for latest
 setuptools

---
 pyproject.toml | 8 +++-----
 setup.cfg      | 9 ---------
 2 files changed, 3 insertions(+), 14 deletions(-)
 delete mode 100644 setup.cfg

diff --git a/pyproject.toml b/pyproject.toml
index e2cf7c209..4bf8398eb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,13 +8,14 @@ name = "astroid"
 description = "An abstract syntax tree for Python with inference support."
 readme = "README.rst"
 keywords = [ "abstract syntax tree", "python", "static code analysis" ]
-license = { text = "LGPL-2.1-or-later" }
+license = "LGPL-2.1-or-later"
+license-files = [ "LICENSE", "CONTRIBUTORS.txt" ]
+
 requires-python = ">=3.9.0"
 classifiers = [
   "Development Status :: 6 - Mature",
   "Environment :: Console",
   "Intended Audience :: Developers",
-  "License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)",
   "Operating System :: OS Independent",
   "Programming Language :: Python",
   "Programming Language :: Python :: 3 :: Only",
@@ -39,9 +40,6 @@ urls."Discord server" = "https://discord.gg/Egy6P8AMB5"
 urls."Docs" = "https://pylint.readthedocs.io/projects/astroid/en/latest/"
 urls."Source Code" = "https://github.com/pylint-dev/astroid"
 
-[tool.setuptools]
-license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] # Keep in sync with setup.cfg
-
 [tool.setuptools.package-dir]
 "" = "."
 
diff --git a/setup.cfg b/setup.cfg
deleted file mode 100644
index 3b35d7a5e..000000000
--- a/setup.cfg
+++ /dev/null
@@ -1,9 +0,0 @@
-# Setuptools v62.6 doesn't support editable installs with just 'pyproject.toml' (PEP 660).
-# Keep this file until it does!
-
-[metadata]
-# wheel doesn't yet read license_files from pyproject.toml - tools.setuptools
-# Keep it here until it does!
-license_files =
-    LICENSE
-    CONTRIBUTORS.txt