diff options
author | Dan Fuhry | 2022-01-11 23:35:53 -0500 |
---|---|---|
committer | Dan Fuhry | 2022-01-11 23:59:52 -0500 |
commit | 65a0228c93d2b7ca20c2ec56940735e5b6d76a38 (patch) | |
tree | 8bca8b50f868b39e83b8d6de3f826812fe781712 /wee8-jinja2-python-collections.patch | |
parent | 36a48800e899873b512ab5c161bcd3ada5bd6f29 (diff) | |
download | aur-65a0228c93d2b7ca20c2ec56940735e5b6d76a38.tar.gz |
updpkg: envoyproxy 1.20.1-1
Diffstat (limited to 'wee8-jinja2-python-collections.patch')
-rw-r--r-- | wee8-jinja2-python-collections.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/wee8-jinja2-python-collections.patch b/wee8-jinja2-python-collections.patch new file mode 100644 index 000000000000..d9b924626f97 --- /dev/null +++ b/wee8-jinja2-python-collections.patch @@ -0,0 +1,48 @@ +diff -Naur wee8/third_party/jinja2/runtime.py wee8/third_party/jinja2/runtime.py +--- wee8/third_party/jinja2/runtime.py 1969-12-31 19:00:00.000000000 -0500 ++++ wee8/third_party/jinja2/runtime.py 2022-01-11 23:12:21.255314274 -0500 +@@ -315,7 +315,7 @@ + + # register the context as mapping if possible + try: +- from collections import Mapping ++ from collections.abc import Mapping + Mapping.register(Context) + except ImportError: + pass +diff -Naur wee8/third_party/jinja2/sandbox.py wee8/third_party/jinja2/sandbox.py +--- wee8/third_party/jinja2/sandbox.py 1969-12-31 19:00:00.000000000 -0500 ++++ wee8/third_party/jinja2/sandbox.py 2022-01-11 23:12:17.075247170 -0500 +@@ -14,7 +14,7 @@ + """ + import types + import operator +-from collections import Mapping ++from collections.abc import Mapping + from jinja2.environment import Environment + from jinja2.exceptions import SecurityError + from jinja2._compat import string_types, PY2 +diff -Naur wee8/third_party/jinja2/tests.py wee8/third_party/jinja2/tests.py +--- wee8/third_party/jinja2/tests.py 1969-12-31 19:00:00.000000000 -0500 ++++ wee8/third_party/jinja2/tests.py 2022-01-11 23:12:13.205185090 -0500 +@@ -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 -Naur wee8/third_party/jinja2/utils.py wee8/third_party/jinja2/utils.py +--- wee8/third_party/jinja2/utils.py 1969-12-31 19:00:00.000000000 -0500 ++++ wee8/third_party/jinja2/utils.py 2022-01-11 23:12:45.035696828 -0500 +@@ -482,7 +482,7 @@ + + # register the LRU cache as mutable mapping if possible + try: +- from collections import MutableMapping ++ from collections.abc import MutableMapping + MutableMapping.register(LRUCache) + except ImportError: + pass |