Openembedded Core Discussions
 help / color / mirror / Atom feed
From: <mingli.yu@windriver.com>
To: <openembedded-core@lists.openembedded.org>,
	<richard.purdie@linuxfoundation.org>
Subject: [PATCH 1/2] python2-manifest.json: add logging to rdepends
Date: Wed, 16 Jan 2019 18:26:31 -0800	[thread overview]
Message-ID: <20190117022632.64698-1-mingli.yu@windriver.com> (raw)

From: Mingli Yu <mingli.yu@windriver.com>

Add loggging to rdepends for python-2to3
and python-multiprocessing.

before patch:
 # python
 Python 2.7.15 (default, Jan 15 2019, 03:09:01)
 [GCC 8.2.0] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> from multiprocessing import util
 >>> util.get_logger()
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/lib/python2.7/multiprocessing/util.py", line 89, in get_logger
     import logging, atexit
 ImportError: No module named logging
 >>>

After patch:
 # python
 Python 2.7.15 (default, Jan 15 2019, 09:05:49)
 [GCC 8.2.0] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> from multiprocessing import util
 >>> util.get_logger()
 <logging.Logger object at 0xb78cf86c>
 >>>

 Steps to reproduce:
 1, add below line to local.conf
 IMAGE_INSTALL_append += " python-multiprocessing"
 2, bitbake core-image-base
 3, runqemu qemux86 slirp nographic core-image-base

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta/recipes-devtools/python/python/python2-manifest.json | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python/python2-manifest.json b/meta/recipes-devtools/python/python/python2-manifest.json
index 4fff54a95bf..abaa10dbd2e 100644
--- a/meta/recipes-devtools/python/python/python2-manifest.json
+++ b/meta/recipes-devtools/python/python/python2-manifest.json
@@ -106,7 +106,8 @@
     "2to3": {
         "summary": "Python automated Python 2 to 3 code translator", 
         "rdepends": [
-            "core"
+            "core",
+            "logging"
         ], 
         "files": [
             "${bindir}/2to3", 
@@ -728,6 +729,7 @@
             "core", 
             "fcntl", 
             "io", 
+            "logging",
             "pickle", 
             "subprocess", 
             "threading"
-- 
2.17.1



             reply	other threads:[~2019-01-17  2:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-17  2:26 mingli.yu [this message]
2019-01-17  2:26 ` [PATCH 2/2] python3-manifest.json: add logging to rdepends mingli.yu
2019-01-23  2:46 ` [PATCH 1/2] python2-manifest.json: " Yu, Mingli

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=20190117022632.64698-1-mingli.yu@windriver.com \
    --to=mingli.yu@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox