From 75d5263f306becb597a50849a43255df837d089e Mon Sep 17 00:00:00 2001 From: alperak Date: Fri, 8 Mar 2024 22:21:03 +0300 Subject: python3-a2wsgi: added recipe which is also include ptest Pure Python and only depend on the standard library. Compared with other converters, the advantage is that a2wsgi will not accumulate the requested content or response content in the memory, so you don't have to worry about the memory limit caused by a2wsgi. This problem exists in converters implemented by uvicorn/startlette or hypercorn. * Ptest and library example tested on qemux86-64 and qemuarm64 * Add ptest into PTESTS_FAST_META_PYTHON Ptest result: ============== qemux86-64: Testsuite summary TOTAL: 15 PASS: 15 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 22 END: /usr/lib/python3-a2wsgi/ptest 2024-03-08T18:58 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 15 PASS: 15 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 22 END: /usr/lib/python3-a2wsgi/ptest 2024-03-08T19:05 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: alperak Signed-off-by: Khem Raj --- meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-python/conf') diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 63457189e2..acfe28039c 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -7,6 +7,7 @@ # # ptests which take less than ~30s each PTESTS_FAST_META_PYTHON = "\ + python3-a2wsgi \ python3-appdirs \ python3-ansicolors \ python3-asgiref \ -- cgit 1.2.3-korg