diff options
author | Trevor Gamblin <trevor.gamblin@windriver.com> | 2019-09-20 13:02:08 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-27 13:02:17 +0100 |
commit | 13a2e8d9cc112c548257c2ce5c4b2b4aaed0546f (patch) | |
tree | a680a99245caeaa4fcaee4dfc9ae0b7ce9e60dc5 /meta/recipes-devtools | |
parent | ef637c71caf6357f79eb607fcbd92e3ec09f59e5 (diff) | |
download | poky-13a2e8d9cc112c548257c2ce5c4b2b4aaed0546f.tar.gz |
python3-pip: ensure pickle is installed
pip3 depends on pickle, so add python3-pickle to RDEPENDS.
Without it, errors such as the following occur:
>>> import pip._internal
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.7/site-packages/pip/internal/init_.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/usr/lib64/python3.7/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/usr/lib64/python3.7/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
from pip._internal.cli import cmdoptions
File "/usr/lib64/python3.7/site-packages/pip/_internal/cli/cmdoptions.py", line 29, in <module>
from pip._internal.utils.ui import BAR_TYPES
File "/usr/lib64/python3.7/site-packages/pip/_internal/utils/ui.py", line 16, in <module>
from pip._internal.utils.logging import get_indentation
File "/usr/lib64/python3.7/site-packages/pip/_internal/utils/logging.py", line 6, in <module>
import logging.handlers
File "/usr/lib64/python3.7/logging/handlers.py", line 26, in <module>
import logging, socket, os, pickle, struct, time, re
ModuleNotFoundError: No module named 'pickle'
(From OE-Core rev: 39f53aae947f08284bf4864934f62c33e4e9be3c)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/python/python3-pip_19.2.3.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pip_19.2.3.bb b/meta/recipes-devtools/python/python3-pip_19.2.3.bb index aa7253d3f3..019e327e0c 100644 --- a/meta/recipes-devtools/python/python3-pip_19.2.3.bb +++ b/meta/recipes-devtools/python/python3-pip_19.2.3.bb | |||
@@ -25,6 +25,7 @@ RDEPENDS_${PN} = "\ | |||
25 | python3-setuptools \ | 25 | python3-setuptools \ |
26 | python3-unixadmin \ | 26 | python3-unixadmin \ |
27 | python3-xmlrpc \ | 27 | python3-xmlrpc \ |
28 | python3-pickle \ | ||
28 | " | 29 | " |
29 | 30 | ||
30 | BBCLASSEXTEND = "native nativesdk" | 31 | BBCLASSEXTEND = "native nativesdk" |