nodejs/0005-The-third-party-software-jinja2-support-python-3.10.0.patch
2022-06-08 09:24:39 +08:00

25 lines
988 B
Diff

diff -Nur a/deps/v8/third_party/jinja2/tests.py b/deps/v8/third_party/jinja2/tests.py
--- a/deps/v8/third_party/jinja2/tests.py 2020-09-15 15:08:49.000000000 +0800
+++ b/deps/v8/third_party/jinja2/tests.py 2022-04-15 11:37:42.109184439 +0800
@@ -10,7 +10,7 @@
"""
import operator
import re
-from collections import Mapping
+from collections.abc import Mapping
from jinja2.runtime import Undefined
from jinja2._compat import text_type, string_types, integer_types
import decimal
diff -Nur a/tools/inspector_protocol/jinja2/tests.py b/tools/inspector_protocol/jinja2/tests.py
--- a/tools/inspector_protocol/jinja2/tests.py 2020-09-15 15:08:50.000000000 +0800
+++ b/tools/inspector_protocol/jinja2/tests.py 2022-04-15 11:38:31.877761944 +0800
@@ -10,7 +10,7 @@
"""
import operator
import re
-from collections import Mapping
+from collections.abc import Mapping
from jinja2.runtime import Undefined
from jinja2._compat import text_type, string_types, integer_types
import decimal