diff options
author | Trevor Gamblin <trevor.gamblin@windriver.com> | 2020-01-02 12:03:09 -0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-02 19:29:25 -0800 |
commit | e6cebf9e01232562da8e27b074fbbfe7aa66a5d2 (patch) | |
tree | b5ccce96848d912fb413889b16a081724e90d8fc /meta-python/recipes-devtools/python/python-twisted.inc | |
parent | a793e8aea3d2aedb9aaf94e6fdcd68648235ddf2 (diff) | |
download | meta-openembedded-e6cebf9e01232562da8e27b074fbbfe7aa66a5d2.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.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-twisted.inc')
-rw-r--r-- | meta-python/recipes-devtools/python/python-twisted.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-twisted.inc b/meta-python/recipes-devtools/python/python-twisted.inc index 084123b97a..d005a2ac22 100644 --- a/meta-python/recipes-devtools/python/python-twisted.inc +++ b/meta-python/recipes-devtools/python/python-twisted.inc | |||
@@ -7,6 +7,11 @@ HOMEPAGE = "http://www.twistedmatrix.com" | |||
7 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1743f12d8b8f5aec625c0569a058f0a6" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1743f12d8b8f5aec625c0569a058f0a6" |
9 | 9 | ||
10 | # allow for common patches for python- and python3-twisted | ||
11 | FILESEXTRAPATHS_prepend := "${THISDIR}/python-twisted:" | ||
12 | |||
13 | SRC_URI += "file://0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch" | ||
14 | |||
10 | SRC_URI[sha256sum] = "7394ba7f272ae722a74f3d969dcf599bc4ef093bc392038748a490f1724a515d" | 15 | SRC_URI[sha256sum] = "7394ba7f272ae722a74f3d969dcf599bc4ef093bc392038748a490f1724a515d" |
11 | SRC_URI[md5sum] = "f2d70f7a66ecdf54152310164cceadfe" | 16 | SRC_URI[md5sum] = "f2d70f7a66ecdf54152310164cceadfe" |
12 | 17 | ||