aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-twisted_19.10.0.bb
diff options
context:
space:
mode:
authorTrevor Gamblin <trevor.gamblin@windriver.com>2020-01-02 12:03:09 -0500
committerTim Orling <ticotimo@gmail.com>2020-01-22 19:19:29 -0800
commit416135458fdb6634f901c9e177d4b0685b32548b (patch)
tree8bce892d1e9584cb9527cf5e6a792142e93c180b /recipes-devtools/python/python-twisted_19.10.0.bb
parentc9651f1cf92b84216e4f873e5fa7965d671ebef7 (diff)
downloadmeta-python2-416135458fdb6634f901c9e177d4b0685b32548b.tar.gz
python3-twisted: fix broken MemoryReactor import
Twisted's application/runner/test/test_runner.py was trying to import from a deprecated module and failing. The module import has been corrected and accepted in Twisted upstream, but there's no release with it yet for Yocto to upgrade to, hence the backport. (From meta-openembedded commit: e6cebf9e01232562da8e27b074fbbfe7aa66a5d2) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python-twisted_19.10.0.bb')
-rw-r--r--recipes-devtools/python/python-twisted_19.10.0.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-twisted_19.10.0.bb b/recipes-devtools/python/python-twisted_19.10.0.bb
index a8b6a49..4e07d52 100644
--- a/recipes-devtools/python/python-twisted_19.10.0.bb
+++ b/recipes-devtools/python/python-twisted_19.10.0.bb
@@ -9,6 +9,11 @@ SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1743f12d8b8f5aec625c0569a058f0a6"
+# allow for common patches for python- and python3-twisted
+FILESEXTRAPATHS_prepend := "${THISDIR}/python-twisted:"
+
+SRC_URI += "file://0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch"
+
SRC_URI[sha256sum] = "7394ba7f272ae722a74f3d969dcf599bc4ef093bc392038748a490f1724a515d"
SRC_URI[md5sum] = "f2d70f7a66ecdf54152310164cceadfe"