Skip to contentSkip to conversation

Add missing dependency for python-flask packages.

PATCH New Florian Wickert 1 participant 1 message May 2, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing dependency for python-flask packages.

The module werkzeug.test is moved to the python-werkzeug-tests package since commit 857ed16. Flask imports werkzeug.tests during exception handling which results in "ImportError: No module named 'werkzeug.test'".

---
 meta-python/recipes-devtools/python/python-flask.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-flask.inc +1 -1
index 76b5fbae2..ecf5619ec 100644
@@ -13,4 +13,4 @@ CLEANBROKEN = "1"
 
 PYPI_PACKAGE = "Flask"
 
-RDEPENDS_${PN} = "${PYTHON_PN}-werkzeug ${PYTHON_PN}-jinja2 ${PYTHON_PN}-itsdangerous ${PYTHON_PN}-click"
+RDEPENDS_${PN} = "${PYTHON_PN}-werkzeug ${PYTHON_PN}-werkzeug-tests ${PYTHON_PN}-jinja2 ${PYTHON_PN}-itsdangerous ${PYTHON_PN}-click"
Signature · 1 line
2.11.0