diff mbox series

[meta-python] python3-flask: added the async packageconfig

Message ID 20240531165508.755680-1-jan.vermaete@gmail.com
State New
Headers show
Series [meta-python] python3-flask: added the async packageconfig | expand

Commit Message

Jan Vermaete May 31, 2024, 4:55 p.m. UTC
The ptests did pass and some extra tests where added when the async option is enabled.

PASS: tests/test_async.py:test_async_route[/]
PASS: tests/test_async.py:test_async_route[/home]
PASS: tests/test_async.py:test_async_route[/bp/]
PASS: tests/test_async.py:test_async_route[/view]
PASS: tests/test_async.py:test_async_route[/methodview]
PASS: tests/test_async.py:test_async_error_handler[/error]
PASS: tests/test_async.py:test_async_error_handler[/bp/error]
PASS: tests/test_async.py:test_async_before_after_request

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
---
 meta-python/recipes-devtools/python/python3-flask_3.0.2.bb | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-flask_3.0.2.bb b/meta-python/recipes-devtools/python/python3-flask_3.0.2.bb
index 99524b437..1de1a827d 100644
--- a/meta-python/recipes-devtools/python/python3-flask_3.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-flask_3.0.2.bb
@@ -19,6 +19,9 @@  inherit pypi python_setuptools_build_meta ptest
 
 CLEANBROKEN = "1"
 
+PACKAGECONFIG ??= "async"
+PACKAGECONFIG[async] = ",,,python3-asgiref"
+
 RDEPENDS:${PN} = " \
     python3-blinker \
     python3-click \