(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

@@ -1,7 +1,7 @@
### python 2 requirements, see requirements3.txt for python 3
astroid==1.6.6
asttokens==2.2.1
asttokens==2.4.0
backports.functools-lru-cache==1.6.4
chardet==4.0.0
enum34==1.1.10