From 15fd389ac61a47fe54bbaf4f6b7c083c1ba8895e Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Thu, 11 Jul 2024 11:15:09 -0400 Subject: [PATCH 1/2] Bump astroid to 3.2.3 --- doc/whatsnew/fragments/9214.internal | 4 ++++ pyproject.toml | 2 +- requirements_test_min.txt | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 doc/whatsnew/fragments/9214.internal diff --git a/doc/whatsnew/fragments/9214.internal b/doc/whatsnew/fragments/9214.internal new file mode 100644 index 0000000000..74fc3fcd07 --- /dev/null +++ b/doc/whatsnew/fragments/9214.internal @@ -0,0 +1,4 @@ +Bump `astroid` to 3.2.3. This resolves an `AssertionError` arising +from properties that return partial functions. + +Closes #9214 diff --git a/pyproject.toml b/pyproject.toml index 084784241f..0563ac7202 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,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.2.2,<=3.3.0-dev0", + "astroid>=3.2.3,<=3.3.0-dev0", "isort>=4.2.5,<6,!=5.13.0", "mccabe>=0.6,<0.8", "tomli>=1.1.0;python_version<'3.11'", diff --git a/requirements_test_min.txt b/requirements_test_min.txt index e93ef7eb13..b8d46bd2e3 100644 --- a/requirements_test_min.txt +++ b/requirements_test_min.txt @@ -1,6 +1,6 @@ .[testutils,spelling] # astroid dependency is also defined in pyproject.toml -astroid==3.2.2 # Pinned to a specific version for tests +astroid==3.2.3 # Pinned to a specific version for tests typing-extensions~=4.12 py~=1.11.0 pytest~=8.2 From ec381ea4a05e5312be2ffa0a1a5a593bdab71dba Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Thu, 11 Jul 2024 11:41:41 -0400 Subject: [PATCH 2/2] fixup! Bump --- doc/whatsnew/fragments/9214.bugfix | 3 +++ doc/whatsnew/fragments/9214.internal | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 doc/whatsnew/fragments/9214.bugfix delete mode 100644 doc/whatsnew/fragments/9214.internal diff --git a/doc/whatsnew/fragments/9214.bugfix b/doc/whatsnew/fragments/9214.bugfix new file mode 100644 index 0000000000..1c15468882 --- /dev/null +++ b/doc/whatsnew/fragments/9214.bugfix @@ -0,0 +1,3 @@ +Fix an `AssertionError` arising from properties that return partial functions. + +Closes #9214 diff --git a/doc/whatsnew/fragments/9214.internal b/doc/whatsnew/fragments/9214.internal deleted file mode 100644 index 74fc3fcd07..0000000000 --- a/doc/whatsnew/fragments/9214.internal +++ /dev/null @@ -1,4 +0,0 @@ -Bump `astroid` to 3.2.3. This resolves an `AssertionError` arising -from properties that return partial functions. - -Closes #9214