summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2026-01-16 16:33:07 +0100
committerKhem Raj <raj.khem@gmail.com>2026-01-16 09:39:26 -0800
commit5e2c1706a635d4dd3925952f2306db2fd8ae277b (patch)
tree9bf374d8e2b93142f9f73e7b248f6075bfb8e30d
parent0479d8d6f0a2badae00c381d6b80f994f773b6bb (diff)
downloadmeta-openembedded-5e2c1706a635d4dd3925952f2306db2fd8ae277b.tar.gz
python3-tblib: add recipe
Serialization library for Exceptions and Tracebacks. It is a runtime dependency for python3-django ptests. The ptests for this recipe run under a second. Sample output: root@qemux86-64:~# ptest-runner START: ptest-runner 2026-01-15T19:37 BEGIN: /usr/lib/python3-tblib/ptest PASS: tests/test_issue30.py:test_30 PASS: tests/test_issue65.py:test_65 PASS: tests/test_perf.py:test_perf [...many passing lines...] PASS: tests/test_tblib.py:test_parse_traceback PASS: tests/test_tblib.py:test_large_line_number PASS: tests/test_tblib.py:test_pytest_integration ============================================================================ Testsuite summary DURATION: 1 END: /usr/lib/python3-tblib/ptest 2026-01-15T19:37 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/conf/include/ptest-packagelists-meta-python.inc1
-rw-r--r--meta-python/recipes-devtools/python/python3-tblib_3.2.2.bb22
2 files changed, 23 insertions, 0 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index d83ac85f1b..3b21c7cfa2 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -104,6 +104,7 @@ PTESTS_FAST_META_PYTHON = "\
104 python3-soupsieve \ 104 python3-soupsieve \
105 python3-sqlparse \ 105 python3-sqlparse \
106 python3-starlette \ 106 python3-starlette \
107 python3-tblib \
107 python3-tenacity \ 108 python3-tenacity \
108 python3-tomli-w \ 109 python3-tomli-w \
109 python3-tomlkit \ 110 python3-tomlkit \
diff --git a/meta-python/recipes-devtools/python/python3-tblib_3.2.2.bb b/meta-python/recipes-devtools/python/python3-tblib_3.2.2.bb
new file mode 100644
index 0000000000..ae3ba730c5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-tblib_3.2.2.bb
@@ -0,0 +1,22 @@
1SUMMARY = "Serialization library for Exceptions and Tracebacks."
2HOMEPAGE = "https://github.com/ionelmc/python-tblib"
3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=810c4c43873f8d9331fb067a6473a960"
5
6inherit pypi python_setuptools_build_meta ptest-python-pytest
7
8SRC_URI[sha256sum] = "e9a652692d91bf4f743d4a15bc174c0b76afc750fe8c7b6d195cc1c1d6d2ccec"
9
10do_install_ptest:append(){
11 install -m 0644 ${S}/pytest.ini ${D}${PTEST_PATH}
12 # The tests are comparing exception outputs with expected ones, and it doesn't
13 # expect carets in the exception.
14 sed -i 's/pytest/PYTHONNODEBUGRANGES=1 pytest/' ${D}${PTEST_PATH}/run-ptest
15}
16
17RDEPENDS:${PN}-ptest += " \
18 python3-misc \
19 python3-pytest-benchmark \
20 python3-statistics \
21 python3-twisted \
22"