Skip to contentSkip to conversation

python3-debtcollector: add six and wrapt to RDEPENDS

PATCH In review Trevor Gamblin 2 participants 2 messages Apr 8, 2020 – Apr 9, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-debtcollector: add six and wrapt to RDEPENDS

Add python3-wrapt and python3-six to RDEPENDS as debtcollector requires them for some functionality, e.g.:

|root@qemux86-64:~# python3
|Python 3.7.6 (default, Apr  6 2020, 18:11:01)
|[GCC 9.2.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> from debtcollector import removals
|Traceback (most recent call last):
|  File "<stdin>", line 1, in <module>
|  File "/usr/lib64/python3.7/site-packages/debtcollector/removals.py", line 19, in <module>
|    import wrapt
|ModuleNotFoundError: No module named 'wrapt'
|>>>

python3-six isn't needed for the python3 version of debtcollector, but add it to the RDEPENDS for consistency in backports of this patch (as python2 does require it).

---
 meta-openstack/recipes-devtools/python/python-debtcollector.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-openstack/recipes-devtools/python/python-debtcollector.inc +2 -0
index d519bfd..d6d18e3 100644
@@ -22,4 +22,6 @@ DEPENDS += " \
 # RDEPENDS_default:
 RDEPENDS_${PN} += " \
         ${PYTHON_PN}-pbr \
+        ${PYTHON_PN}-wrapt \
+        ${PYTHON_PN}-six \
         "
Signature · 1 line
2.25.1
#1 lore raw

merged.

Bruce

In message: [meta-virtualization] [meta-openstack][PATCH] python3-debtcollector: add six and wrapt to RDEPENDS

Quoted 41 lines · on 08/04/2020 Trevor Gamblin wrote:

Add python3-wrapt and python3-six to RDEPENDS as debtcollector requires them for some functionality, e.g.:

|root@qemux86-64:~# python3
|Python 3.7.6 (default, Apr  6 2020, 18:11:01)
|[GCC 9.2.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> from debtcollector import removals
|Traceback (most recent call last):
|  File "<stdin>", line 1, in <module>
|  File "/usr/lib64/python3.7/site-packages/debtcollector/removals.py", line 19, in <module>
|    import wrapt
|ModuleNotFoundError: No module named 'wrapt'
|>>>

python3-six isn't needed for the python3 version of debtcollector, but add it to the RDEPENDS for consistency in backports of this patch (as python2 does require it).

---
 meta-openstack/recipes-devtools/python/python-debtcollector.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-openstack/recipes-devtools/python/python-debtcollector.inc +2 -0
index d519bfd..d6d18e3 100644
@@ -22,4 +22,6 @@ DEPENDS += " \
 # RDEPENDS_default:
 RDEPENDS_${PN} += " \
         ${PYTHON_PN}-pbr \
+        ${PYTHON_PN}-wrapt \
+        ${PYTHON_PN}-six \
         "
Signature · 1 line
2.25.1