| 1 |
From a546efc35336faf8b07ea0bcca1d07877da24d2a Mon Sep 17 00:00:00 2001 |
| 2 |
From: Ivan Levkivskyi <[email protected]> |
| 3 |
Date: Wed, 2 Sep 2026 18:01:01 +0100 |
| 4 |
Subject: [PATCH] Bump ast-serialize to 0.9.0 (#21929) |
| 5 |
|
| 6 |
I intentionally not bumping cache version yet, to make sure backwards |
| 7 |
compatibility is OK. |
| 8 |
--- |
| 9 |
mypy-requirements.txt | 2 +- |
| 10 |
pyproject.toml | 4 ++-- |
| 11 |
test-data/unit/native-parser.test | 2 +- |
| 12 |
test-requirements.txt | 2 +- |
| 13 |
4 files changed, 5 insertions(+), 5 deletions(-) |
| 14 |
|
| 15 |
--- mypy.orig/mypy-requirements.txt |
| 16 |
+++ mypy/mypy-requirements.txt |
| 17 |
@@ -6,4 +6,4 @@ |
| 18 |
pathspec>=1.0.0 |
| 19 |
tomli>=1.1.0; python_version<'3.11' |
| 20 |
librt>=0.13.0; platform_python_implementation != 'PyPy' |
| 21 |
-ast-serialize>=0.6.0,<1.0.0 |
| 22 |
+ast-serialize>=0.9.0,<1.0.0 |
| 23 |
--- mypy.orig/pyproject.toml |
| 24 |
+++ mypy/pyproject.toml |
| 25 |
@@ -15,7 +15,7 @@ |
| 26 |
"types-psutil", |
| 27 |
"types-setuptools", |
| 28 |
# required to work around a mypyc import bug |
| 29 |
- "ast-serialize>=0.6.0,<1.0.0", |
| 30 |
+ "ast-serialize>=0.9.0,<1.0.0", |
| 31 |
] |
| 32 |
build-backend = "setuptools.build_meta" |
| 33 |
|
| 34 |
@@ -59,7 +59,7 @@ |
| 35 |
"pathspec>=1.0.0", |
| 36 |
"tomli>=1.1.0; python_version<'3.11'", |
| 37 |
"librt>=0.13.0; platform_python_implementation != 'PyPy'", |
| 38 |
- "ast-serialize>=0.6.0,<1.0.0", |
| 39 |
+ "ast-serialize>=0.9.0,<1.0.0", |
| 40 |
] |
| 41 |
dynamic = ["version"] |
| 42 |
|
| 43 |
--- mypy.orig/test-data/unit/native-parser.test |
| 44 |
+++ mypy/test-data/unit/native-parser.test |
| 45 |
@@ -1717,7 +1717,7 @@ |
| 46 |
ExpressionStmt:2( |
| 47 |
BytesExpr(foobar)) |
| 48 |
ExpressionStmt:3( |
| 49 |
- BytesExpr(x\\n\\\'))) |
| 50 |
+ BytesExpr(x\\n\\'))) |
| 51 |
|
| 52 |
[case testBytesLiteralWithEscapes] |
| 53 |
b'\r\n\t\x2f\xbe' |
| 54 |
--- mypy.orig/test-requirements.txt |
| 55 |
+++ mypy/test-requirements.txt |
| 56 |
@@ -4,7 +4,7 @@ |
| 57 |
# |
| 58 |
# pip-compile --allow-unsafe --output-file=test-requirements.txt --strip-extras test-requirements.in |
| 59 |
# |
| 60 |
-ast-serialize==0.6.0 |
| 61 |
+ast-serialize==0.9.0 |
| 62 |
# via -r mypy-requirements.txt |
| 63 |
attrs==26.1.0 |
| 64 |
# via -r test-requirements.in |