(core) Fix updating attributes inside f-strings when columns are renamed

Summary: Upgrades asttokens and uses the newly released support for astroid trees in `asttokens.ASTText` which is needed to deal with f-strings (as opposed to `asttokens.ASTTokens`).

Test Plan: Added a Python unit test

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D4027
This commit is contained in:
Alex Hall
2023-09-07 12:01:42 +02:00
parent 8644f346af
commit 525613216c
4 changed files with 29 additions and 10 deletions

View File

@@ -6,7 +6,7 @@
#
astroid==2.14.2
# via -r core/sandbox/requirements3.in
asttokens==2.2.1
asttokens==2.4.0
# via
# friendly-traceback
# stack-data