Skip to content

Commit d176870

Browse files
authored
Bump ast-serialize to 0.12.1 (#22093)
Fixes #22090
1 parent 7382985 commit d176870

4 files changed

Lines changed: 14 additions & 4 deletions

File tree

‎mypy-requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ mypy_extensions>=1.0.0
66
pathspec>=1.0.0
77
tomli>=1.1.0; python_version<'3.11'
88
librt>=0.16.0; platform_python_implementation != 'PyPy'
9-
ast-serialize>=0.12.0,<1.0.0
9+
ast-serialize>=0.12.1,<1.0.0

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ requires = [
1515
"types-psutil",
1616
"types-setuptools",
1717
# required to work around a mypyc import bug
18-
"ast-serialize>=0.12.0,<1.0.0",
18+
"ast-serialize>=0.12.1,<1.0.0",
1919
]
2020
build-backend = "setuptools.build_meta"
2121

@@ -59,7 +59,7 @@ dependencies = [
5959
"pathspec>=1.0.0",
6060
"tomli>=1.1.0; python_version<'3.11'",
6161
"librt>=0.16.0; platform_python_implementation != 'PyPy'",
62-
"ast-serialize>=0.12.0,<1.0.0",
62+
"ast-serialize>=0.12.1,<1.0.0",
6363
]
6464
dynamic = ["version"]
6565

‎test-data/unit/native-parser.test‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3116,3 +3116,13 @@ MypyFile:1(
31163116
Args(
31173117
NameExpr(x)
31183118
StrExpr())))))))
3119+
3120+
[case testNoneInStringType]
3121+
x: "None"
3122+
[out]
3123+
MypyFile:1(
3124+
AssignmentStmt:1(
3125+
NameExpr(x)
3126+
TempNode:1(
3127+
Any)
3128+
None?))

‎test-requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# pip-compile --allow-unsafe --output-file=test-requirements.txt --strip-extras test-requirements.in
66
#
7-
ast-serialize==0.12.0
7+
ast-serialize==0.12.1
88
# via -r mypy-requirements.txt
99
attrs==26.1.0
1010
# via -r test-requirements.in

0 commit comments

Comments
 (0)