diff options
author | Magnus Olsson <magnus@minimum.se> | 2014-12-05 11:03:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-11 11:26:07 +0000 |
commit | 90fd48144f146f455b18372a9b061314ab3a3857 (patch) | |
tree | 4c32b179bf4ef0971b26a3e5ebe343904b9e5937 /meta/lib | |
parent | dfa34e70a4c7543dc67835c2e9a270ccd011ac72 (diff) | |
download | openembedded-core-90fd48144f146f455b18372a9b061314ab3a3857.tar.gz openembedded-core-90fd48144f146f455b18372a9b061314ab3a3857.tar.bz2 openembedded-core-90fd48144f146f455b18372a9b061314ab3a3857.zip |
python: add python-codecs runtime dependency for python-json
A piece of JSON initialization code that runs when you "import json"
tries to use the hex-decoder, thus breaks if you do not have
python-codecs installed. Example:
>>> import json
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/json/__init__.py", line 108, in <module>
from .decoder import JSONDecoder
File "/usr/lib/python2.7/json/decoder.py", line 24, in <module>
NaN, PosInf, NegInf = _floatconstants()
File "/usr/lib/python2.7/json/decoder.py", line 18, in _floatconstants
_BYTES = '7FF80000000000007FF0000000000000'.decode('hex')
LookupError: no codec search functions registered: can't find encoding
This patch adds a runtime dependency on python-codecs for python-json and
re-generates the python manifests for Python v2.7. Solves [YOCTO #7020].
Signed-off-by: Magnus Olsson <magnus@minimum.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib')
0 files changed, 0 insertions, 0 deletions