summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-06-12 17:42:01 +0300
committerKhem Raj <raj.khem@gmail.com>2020-06-13 21:34:21 -0700
commit2ff0eea40e4dd8b6509585c2a1225219c888ec1f (patch)
treea7d1c1b85a84a6e74e72c5bf2c1587192ddb7fcc
parent18a3ad7908f4066048cdccb0b7ae2300c3b7c59d (diff)
downloadmeta-openembedded-2ff0eea40e4dd8b6509585c2a1225219c888ec1f.tar.gz
python3-twisted: Upgrade 19.10.0 -> 20.3.0
Upgrade to release 20.3.0. The year in file LICENSE has been updated but the project remains available under MIT license. The patch for test_runner.py is no longer needed because the same fix has been already applied in the upstream. The new release bring the following improvements: - Bugfixes - Improved documentation - twisted.news is deprecated - twisted.conch.ssh now supports the curve25519-sha256 key exchange algorithm - twisted.conch.ssh.keys can now write private keys in the new "openssh-key-v1" format, introduced in OpenSSH 6.5 and made the default in OpenSSH 7.8. ckeygen has a corresponding new --private-key-subtype=v1 option. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python3-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch38
-rw-r--r--meta-python/recipes-devtools/python/python3-twisted_20.3.0.bb (renamed from meta-python/recipes-devtools/python/python3-twisted_19.10.0.bb)8
2 files changed, 3 insertions, 43 deletions
diff --git a/meta-python/recipes-devtools/python/python3-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch b/meta-python/recipes-devtools/python/python3-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch
deleted file mode 100644
index 39fc7d43e..000000000
--- a/meta-python/recipes-devtools/python/python3-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From 754f21282ad2775db8ff501d40bbc497faeb17ba Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <trevor.gamblin@windriver.com>
3Date: Tue, 17 Dec 2019 15:09:22 -0500
4Subject: [PATCH] fix MemoryReactor import in test_runner to be from
5 twisted.internet.testing
6
7Upstream-Status: Backport [https://github.com/twisted/twisted/commit/754f21282ad2775db8ff501d40bbc497faeb17ba]
8
9Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
10---
11 src/twisted/application/newsfragments/9746.misc | 1 +
12 src/twisted/application/runner/test/test_runner.py | 2 +-
13 2 files changed, 2 insertions(+), 1 deletion(-)
14 create mode 100644 src/twisted/application/newsfragments/9746.misc
15
16diff --git a/src/twisted/application/newsfragments/9746.misc b/src/twisted/application/newsfragments/9746.misc
17new file mode 100644
18index 000000000..8b1378917
19--- /dev/null
20+++ b/src/twisted/application/newsfragments/9746.misc
21@@ -0,0 +1 @@
22+
23diff --git a/src/twisted/application/runner/test/test_runner.py b/src/twisted/application/runner/test/test_runner.py
24index 9abc3449a..cce495b12 100644
25--- a/src/twisted/application/runner/test/test_runner.py
26+++ b/src/twisted/application/runner/test/test_runner.py
27@@ -15,7 +15,7 @@ from twisted.logger import (
28 LogLevel, LogPublisher, LogBeginner,
29 FileLogObserver, FilteringLogObserver, LogLevelFilterPredicate,
30 )
31-from twisted.test.proto_helpers import MemoryReactor
32+from twisted.internet.testing import MemoryReactor
33
34 from ...runner import _runner
35 from .._exit import ExitStatus
36--
372.24.1
38
diff --git a/meta-python/recipes-devtools/python/python3-twisted_19.10.0.bb b/meta-python/recipes-devtools/python/python3-twisted_20.3.0.bb
index f2fcd30b7..697725fd7 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_19.10.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_20.3.0.bb
@@ -5,12 +5,10 @@ HOMEPAGE = "http://www.twistedmatrix.com"
5 5
6#twisted/topfiles/NEWS:655: - Relicensed: Now under the MIT license, rather than LGPL. 6#twisted/topfiles/NEWS:655: - Relicensed: Now under the MIT license, rather than LGPL.
7LICENSE = "MIT" 7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=1743f12d8b8f5aec625c0569a058f0a6" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=27ac6d9597237e7e76282edd7a40cd68"
9 9
10SRC_URI += "file://0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch" 10SRC_URI[sha256sum] = "d72c55b5d56e176563b91d11952d13b01af8725c623e498db5507b6614fc1e10"
11 11SRC_URI[md5sum] = "fc16d575730db7d0cddd09fc35af3eea"
12SRC_URI[sha256sum] = "7394ba7f272ae722a74f3d969dcf599bc4ef093bc392038748a490f1724a515d"
13SRC_URI[md5sum] = "f2d70f7a66ecdf54152310164cceadfe"
14 12
15PYPI_PACKAGE = "Twisted" 13PYPI_PACKAGE = "Twisted"
16PYPI_PACKAGE_EXT = "tar.bz2" 14PYPI_PACKAGE_EXT = "tar.bz2"