Skip to content

Commit

Permalink
deps: V8: patch jinja2 for Python 3.10 compat
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
targos authored and richardlau committed Nov 25, 2021
1 parent 704989b commit cd7c340
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

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

##### V8 defaults for Node.js #####

Expand Down
5 changes: 4 additions & 1 deletion deps/v8/third_party/jinja2/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"""
import operator
import re
from collections import Mapping
try:
from collections.abc import Mapping
except ImportError:
from collections import Mapping
from jinja2.runtime import Undefined
from jinja2._compat import text_type, string_types, integer_types
import decimal
Expand Down

0 comments on commit cd7c340

Please sign in to comment.