All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-openstack][PATCH] python3-debtcollector: add six and wrapt to RDEPENDS
@ 2020-04-08 16:21 Trevor Gamblin
  2020-04-09  3:11 ` [meta-virtualization] " Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Trevor Gamblin @ 2020-04-08 16:21 UTC (permalink / raw)
  To: meta-virtualization

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).

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
---
 meta-openstack/recipes-devtools/python/python-debtcollector.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-openstack/recipes-devtools/python/python-debtcollector.inc b/meta-openstack/recipes-devtools/python/python-debtcollector.inc
index d519bfd..d6d18e3 100644
--- a/meta-openstack/recipes-devtools/python/python-debtcollector.inc
+++ b/meta-openstack/recipes-devtools/python/python-debtcollector.inc
@@ -22,4 +22,6 @@ DEPENDS += " \
 # RDEPENDS_default:
 RDEPENDS_${PN} += " \
         ${PYTHON_PN}-pbr \
+        ${PYTHON_PN}-wrapt \
+        ${PYTHON_PN}-six \
         "
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-virtualization] [meta-openstack][PATCH] python3-debtcollector: add six and wrapt to RDEPENDS
  2020-04-08 16:21 [meta-openstack][PATCH] python3-debtcollector: add six and wrapt to RDEPENDS Trevor Gamblin
@ 2020-04-09  3:11 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2020-04-09  3:11 UTC (permalink / raw)
  To: Trevor Gamblin; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization] [meta-openstack][PATCH] python3-debtcollector: add six and wrapt to RDEPENDS
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).
> 
> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>  meta-openstack/recipes-devtools/python/python-debtcollector.inc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-openstack/recipes-devtools/python/python-debtcollector.inc b/meta-openstack/recipes-devtools/python/python-debtcollector.inc
> index d519bfd..d6d18e3 100644
> --- a/meta-openstack/recipes-devtools/python/python-debtcollector.inc
> +++ b/meta-openstack/recipes-devtools/python/python-debtcollector.inc
> @@ -22,4 +22,6 @@ DEPENDS += " \
>  # RDEPENDS_default:
>  RDEPENDS_${PN} += " \
>          ${PYTHON_PN}-pbr \
> +        ${PYTHON_PN}-wrapt \
> +        ${PYTHON_PN}-six \
>          "
> -- 
> 2.25.1
> 

> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-09  3:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-08 16:21 [meta-openstack][PATCH] python3-debtcollector: add six and wrapt to RDEPENDS Trevor Gamblin
2020-04-09  3:11 ` [meta-virtualization] " Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.