Skip to content

Commit cd7c340

Browse files
targosrichardlau
authored andcommitted
deps: V8: patch jinja2 for Python 3.10 compat
PR-URL: #40296 Backport-PR-URL: #40689 Fixes: #40294 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 704989b commit cd7c340

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
# Reset this number to 0 on major V8 upgrades.
3838
# Increment by one for each non-official patch applied to deps/v8.
39-
'v8_embedder_string': '-node.84',
39+
'v8_embedder_string': '-node.85',
4040

4141
##### V8 defaults for Node.js #####
4242

deps/v8/third_party/jinja2/tests.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"""
1111
import operator
1212
import re
13-
from collections import Mapping
13+
try:
14+
from collections.abc import Mapping
15+
except ImportError:
16+
from collections import Mapping
1417
from jinja2.runtime import Undefined
1518
from jinja2._compat import text_type, string_types, integer_types
1619
import decimal

0 commit comments

Comments
 (0)