Skip to contentSkip to conversation

python3-flask: added the async packageconfig

PATCH New Jan Vermaete 1 participant 1 message May 31, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-flask: added the async packageconfig

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

---
 meta-python/recipes-devtools/python/python3-flask_3.0.2.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-python/recipes-devtools/python/python3-flask_3.0.2.bb +3 -0
index 99524b437..1de1a827d 100644
@@ -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 \
Signature · 1 line
2.39.2