Skip to contentSkip to conversation

python3-pyparsing: rdepends on python3-html

PATCH New [email protected] 1 participant 1 message Mar 16, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pyparsing: rdepends on python3-html

From: Kai Kang <[email protected]>

It fails to import python module 'pyparsing':

| root@qemux86-64:~# python3 -c 'import pyparsing'
| Traceback (most recent call last):
|   File "<string>", line 1, in <module>
|   File "/usr/lib64/python3.10/site-packages/pyparsing/__init__.py", line 141, in <module>
|     from .helpers import *
|   File "/usr/lib64/python3.10/site-packages/pyparsing/helpers.py", line 2, in <module>
|     import html.entities
| ModuleNotFoundError: No module named 'html'
---
 meta/recipes-devtools/python/python3-pyparsing_3.0.7.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python3-pyparsing_3.0.7.bb +1 -0
index 14faea6590..9c3896918f 100644
@@ -19,6 +19,7 @@ inherit pypi setuptools3
 RDEPENDS:${PN} += " \
     ${PYTHON_PN}-datetime \
     ${PYTHON_PN}-debugger \
+    ${PYTHON_PN}-html \
     ${PYTHON_PN}-json \
     ${PYTHON_PN}-netclient \
     ${PYTHON_PN}-pprint \
Signature · 1 line
2.17.1