Skip to content

Commit

Permalink
Bump astroid from 3.3.5 to 3.3.8 (#10125) (#10155)
Browse files Browse the repository at this point in the history
(cherry picked from commit 31e7674)
  • Loading branch information
jacobtylerwalls authored Dec 24, 2024
1 parent 96d1303 commit 1f9b947
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions doc/whatsnew/fragments/10112.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Fix ``Unable to import 'collections.abc' (import-error)`` on Python 3.13.1.

Closes #10112
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies = [
# Also upgrade requirements_test_min.txt.
# Pinned to dev of second minor update to allow editable installs and fix primer issues,
# see https://github.com/pylint-dev/astroid/issues/1341
"astroid>=3.3.5,<=3.4.0-dev0",
"astroid>=3.3.8,<=3.4.0-dev0",
"isort>=4.2.5,<6,!=5.13.0",
"mccabe>=0.6,<0.8",
"tomli>=1.1.0;python_version<'3.11'",
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_min.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.[testutils,spelling]
# astroid dependency is also defined in pyproject.toml
astroid==3.3.5 # Pinned to a specific version for tests
astroid==3.3.8 # Pinned to a specific version for tests
typing-extensions~=4.12
py~=1.11.0
pytest~=8.3
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/n/no/no_member_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def test_ignored_modules_root_one_applies_as_well() -> None:


def test_ignored_modules_patterns() -> None:
import collections
import importlib

collections.abc.THIS_does_not_EXIST
importlib.metadata.THIS_does_not_EXIST


def test_ignored_classes_no_recursive_pattern() -> None:
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/n/no/no_member_imports.rc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[TYPECHECK]
ignored-modules=argparse,xml.etree.,collections.abc*
ignored-modules=argparse,xml.etree.,importlib.metadata*
ignored-classes=sys*,optparse.Values,Option

0 comments on commit 1f9b947

Please sign in to comment.