Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update coverage requirement from ~=7.6 to ~=7.7 #2707

Merged
merged 3 commits into from
Mar 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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]
"" = "."

Expand Down
2 changes: 1 addition & 1 deletion requirements_minimal.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 0 additions & 9 deletions setup.cfg

This file was deleted.

4 changes: 4 additions & 0 deletions tests/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
"""
Expand Down