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