From c2907a991a721bccec56a7adc3c90e65cf19386d Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sat, 30 Sep 2023 16:59:40 -0400 Subject: [PATCH] Upgrade astroid to 2.15.8 on 2.17.x branch (#9081) --- doc/whatsnew/fragments/9069.false_positive | 4 ++++ pyproject.toml | 2 +- requirements_test_min.txt | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 doc/whatsnew/fragments/9069.false_positive diff --git a/doc/whatsnew/fragments/9069.false_positive b/doc/whatsnew/fragments/9069.false_positive new file mode 100644 index 0000000000..fb06c23df2 --- /dev/null +++ b/doc/whatsnew/fragments/9069.false_positive @@ -0,0 +1,4 @@ +Fix a regression in pylint 2.17.6 / astroid 2.15.7 causing various +messages for code involving ``TypeVar``. + +Closes #9069 diff --git a/pyproject.toml b/pyproject.toml index f2b5198240..9ade162898 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,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>=2.15.7,<=2.17.0-dev0", + "astroid>=2.15.8,<=2.17.0-dev0", "isort>=4.2.5,<6", "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 9382ea7922..eeb2a5d6bf 100644 --- a/requirements_test_min.txt +++ b/requirements_test_min.txt @@ -1,6 +1,6 @@ -e .[testutils,spelling] # astroid dependency is also defined in pyproject.toml -astroid==2.15.7 # Pinned to a specific version for tests +astroid==2.15.8 # Pinned to a specific version for tests typing-extensions~=4.7 py~=1.11.0 pytest~=7.2