mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 14:19:52 +00:00
nodejs: add a python 3.10 compatibility patch
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
01d24acb40
commit
e8214b76e4
@@ -0,0 +1,41 @@
|
|||||||
|
From e1d838089cd461d9efcf4d29d9f18f65994d2d6b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alexander Kanavin <alex@linutronix.de>
|
||||||
|
Date: Sun, 3 Oct 2021 22:48:39 +0200
|
||||||
|
Subject: [PATCH] jinja/tests.py: add py 3.10 fix
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||||
|
---
|
||||||
|
deps/v8/third_party/jinja2/tests.py | 2 +-
|
||||||
|
tools/inspector_protocol/jinja2/tests.py | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/deps/v8/third_party/jinja2/tests.py b/deps/v8/third_party/jinja2/tests.py
|
||||||
|
index 0adc3d4..b14f85f 100644
|
||||||
|
--- a/deps/v8/third_party/jinja2/tests.py
|
||||||
|
+++ b/deps/v8/third_party/jinja2/tests.py
|
||||||
|
@@ -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 --git a/tools/inspector_protocol/jinja2/tests.py b/tools/inspector_protocol/jinja2/tests.py
|
||||||
|
index 0adc3d4..b14f85f 100644
|
||||||
|
--- a/tools/inspector_protocol/jinja2/tests.py
|
||||||
|
+++ b/tools/inspector_protocol/jinja2/tests.py
|
||||||
|
@@ -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
|
||||||
|
--
|
||||||
|
2.20.1
|
||||||
|
|
||||||
@@ -22,6 +22,7 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
|
|||||||
file://big-endian.patch \
|
file://big-endian.patch \
|
||||||
file://mips-warnings.patch \
|
file://mips-warnings.patch \
|
||||||
file://mips-less-memory.patch \
|
file://mips-less-memory.patch \
|
||||||
|
file://0001-jinja-tests.py-add-py-3.10-fix.patch \
|
||||||
"
|
"
|
||||||
SRC_URI:append:class-target = " \
|
SRC_URI:append:class-target = " \
|
||||||
file://0002-Using-native-binaries.patch \
|
file://0002-Using-native-binaries.patch \
|
||||||
|
|||||||
Reference in New Issue
Block a user