From: "Trevor Gamblin" <trevor.gamblin@windriver.com>
To: Ryan Rowe <rrowe@xevo.com>, openembedded-devel@lists.openembedded.org
Cc: jbroadus@xevo.com, Khem Raj <raj.khem@gmail.com>
Subject: Re: [oe] [meta-python][PATCH 2/2] python3-pint: add missing python3-packaging dep
Date: Tue, 21 Jul 2020 12:19:35 -0400 [thread overview]
Message-ID: <892fa835-302c-8367-ad12-a5d534c8dfd4@windriver.com> (raw)
In-Reply-To: <20200716231839.48850-2-rrowe@xevo.com>
[-- Attachment #1: Type: text/plain, Size: 1333 bytes --]
On 7/16/20 7:18 PM, Ryan Rowe wrote:
> Signed-off-by: Ryan Rowe <rrowe@xevo.com>
Needs python3-setuptools and python3-packaging in RDEPENDS to import
cleanly. I'm going to send a follow-up patch for that shortly:
>>> import pint
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.8/site-packages/pint/__init__.py", line 28, in
<module>
from .registry import LazyRegistry, UnitRegistry
File "/usr/lib/python3.8/site-packages/pint/registry.py", line 49, in
<module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
> meta-python/recipes-devtools/python/python3-pint_0.14.bb | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta-python/recipes-devtools/python/python3-pint_0.14.bb b/meta-python/recipes-devtools/python/python3-pint_0.14.bb
> index 8e1630476..ab8b4d74d 100644
> --- a/meta-python/recipes-devtools/python/python3-pint_0.14.bb
> +++ b/meta-python/recipes-devtools/python/python3-pint_0.14.bb
> @@ -21,6 +21,10 @@ SRC_URI += " \
> file://run-ptest \
> "
>
> +RDEPENDS_${PN} += " \
> + ${PYTHON_PN}-packaging \
> +"
> +
> RDEPENDS_${PN}-ptest += " \
> ${PYTHON_PN}-pytest \
> "
>
>
[-- Attachment #2: Type: text/html, Size: 2431 bytes --]
next prev parent reply other threads:[~2020-07-21 16:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-16 23:18 [meta-python][PATCH 1/2] python3-packaging: add -native version Ryan Rowe
2020-07-16 23:18 ` [meta-python][PATCH 2/2] python3-pint: add missing python3-packaging dep Ryan Rowe
2020-07-20 13:06 ` [oe] " Trevor Gamblin
2020-07-21 16:19 ` Trevor Gamblin [this message]
2020-07-21 16:51 ` Ryan Rowe
2020-07-20 13:00 ` [oe] [meta-python][PATCH 1/2] python3-packaging: add -native version Trevor Gamblin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=892fa835-302c-8367-ad12-a5d534c8dfd4@windriver.com \
--to=trevor.gamblin@windriver.com \
--cc=jbroadus@xevo.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=raj.khem@gmail.com \
--cc=rrowe@xevo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.