diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-07-23 00:45:04 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-24 16:33:47 +0100 |
| commit | ba1314de149293b132ec1f7f77681f0ea2f1fead (patch) | |
| tree | 62b9fc69e6722bef9ea7b958afa03aab2aa1e51a /meta/recipes-devtools/python | |
| parent | a4c3deba6edc827291383b887b05cf68626470c2 (diff) | |
| download | poky-ba1314de149293b132ec1f7f77681f0ea2f1fead.tar.gz | |
python3-testools: update 2.4.0 -> 2.5.0
Drop no_traceback2.patch as issue fixed upstream.
(From OE-Core rev: a592d741dec7151d3d32c4584568e49d69ed5b6f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
| -rw-r--r-- | meta/recipes-devtools/python/python-testtools.inc | 3 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-testtools/no_traceback2.patch | 23 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-testtools_2.5.0.bb (renamed from meta/recipes-devtools/python/python3-testtools_2.4.0.bb) | 2 |
3 files changed, 1 insertions, 27 deletions
diff --git a/meta/recipes-devtools/python/python-testtools.inc b/meta/recipes-devtools/python/python-testtools.inc index e8d308b717..de463fc2c3 100644 --- a/meta/recipes-devtools/python/python-testtools.inc +++ b/meta/recipes-devtools/python/python-testtools.inc | |||
| @@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a" | |||
| 6 | 6 | ||
| 7 | inherit pypi | 7 | inherit pypi |
| 8 | 8 | ||
| 9 | SRC_URI[md5sum] = "e8fc7185b47cfb908c641f8c4b2a6add" | 9 | SRC_URI[sha256sum] = "57c13433d94f9ffde3be6534177d10fb0c1507cc499319128958ca91a65cb23f" |
| 10 | SRC_URI[sha256sum] = "64c974a6cca4385d05f4bbfa2deca1c39ce88ede31c3448bee86a7259a9a61c8" | ||
| 11 | 10 | ||
| 12 | DEPENDS += " \ | 11 | DEPENDS += " \ |
| 13 | ${PYTHON_PN}-pbr \ | 12 | ${PYTHON_PN}-pbr \ |
diff --git a/meta/recipes-devtools/python/python3-testtools/no_traceback2.patch b/meta/recipes-devtools/python/python3-testtools/no_traceback2.patch deleted file mode 100644 index 594510342b..0000000000 --- a/meta/recipes-devtools/python/python3-testtools/no_traceback2.patch +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | traceback2 adds traceback for python2. Rather than depend on traceback2, we're | ||
| 2 | python3 only so just use traceback. | ||
| 3 | This caused breakage in oe-selftest -j which uses testtools on the autobuilder | ||
| 4 | using buildtools-tarball. | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [Our recipe is python3 specific] | ||
| 7 | (Once py2 is EOL upstream probably could/should take this) | ||
| 8 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
| 9 | |||
| 10 | Index: testtools-2.3.0/testtools/content.py | ||
| 11 | =================================================================== | ||
| 12 | --- testtools-2.3.0.orig/testtools/content.py | ||
| 13 | +++ testtools-2.3.0/testtools/content.py | ||
| 14 | @@ -19,8 +19,7 @@ import os | ||
| 15 | import sys | ||
| 16 | |||
| 17 | from extras import try_import | ||
| 18 | -# To let setup.py work, make this a conditional import. | ||
| 19 | -traceback = try_import('traceback2') | ||
| 20 | +import traceback | ||
| 21 | |||
| 22 | from testtools.compat import ( | ||
| 23 | _b, | ||
diff --git a/meta/recipes-devtools/python/python3-testtools_2.4.0.bb b/meta/recipes-devtools/python/python3-testtools_2.5.0.bb index a254b90a75..896ecee65c 100644 --- a/meta/recipes-devtools/python/python3-testtools_2.4.0.bb +++ b/meta/recipes-devtools/python/python3-testtools_2.5.0.bb | |||
| @@ -1,4 +1,2 @@ | |||
| 1 | inherit setuptools3 | 1 | inherit setuptools3 |
| 2 | require python-testtools.inc | 2 | require python-testtools.inc |
| 3 | |||
| 4 | SRC_URI += "file://no_traceback2.patch" | ||
