From 55ee81651aa98d644e046a0f02f20576ecb3a6dc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 18:54:03 +0000 Subject: [PATCH] Bump astroid to 3.3.4 (#9951) (#9952) (cherry picked from commit 82c133d0c2d11e41f2b834b1adf7f5f1df79f40a) Co-authored-by: Jacob Walls --- doc/whatsnew/fragments/9947.false_positive | 3 +++ pyproject.toml | 2 +- requirements_test_min.txt | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 doc/whatsnew/fragments/9947.false_positive diff --git a/doc/whatsnew/fragments/9947.false_positive b/doc/whatsnew/fragments/9947.false_positive new file mode 100644 index 0000000000..dbad36749b --- /dev/null +++ b/doc/whatsnew/fragments/9947.false_positive @@ -0,0 +1,3 @@ +Fix regression causing some f-strings to not be inferred as strings. + +Closes #9947 diff --git a/pyproject.toml b/pyproject.toml index f870611273..f4dc647e18 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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.3,<=3.4.0-dev0", + "astroid>=3.3.4,<=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'", diff --git a/requirements_test_min.txt b/requirements_test_min.txt index bc940cd742..06e60ed7b7 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.3.3 # Pinned to a specific version for tests +astroid==3.3.4 # Pinned to a specific version for tests typing-extensions~=4.12 py~=1.11.0 pytest~=8.3