When trying to import the python gitdb module, we get the following error: >>> import gitdb Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.5/site-packages/gitdb/__init__.py", line 37, in <module> from gitdb.base import * File "/usr/lib/python3.5/site-packages/gitdb/base.py", line 8, in <module> from gitdb.fun import ( File "/usr/lib/python3.5/site-packages/gitdb/fun.py", line 9, in <module> import zlib ImportError: No module named 'zlib' Stating that the hashlib module is missing, the module needs to be added to the python3-gitdb recipe as a runtime dependency.
(In reply to comment #0) > When trying to import the python gitdb module, we get the following error: > > >>> import gitdb > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python3.5/site-packages/gitdb/__init__.py", line 37, in > <module> > from gitdb.base import * > File "/usr/lib/python3.5/site-packages/gitdb/base.py", line 8, in <module> > from gitdb.fun import ( > File "/usr/lib/python3.5/site-packages/gitdb/fun.py", line 9, in <module> > import zlib > ImportError: No module named 'zlib' > > > Stating that the hashlib module is missing, the module needs to be added to > the python3-gitdb recipe as a runtime dependency. Typo there: 'zlib' instead of 'hashlib' The module zlib is not found within the python3 manifest file, so it needs to be added, it should probably be added to the python3-compression package.
Fixed here: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=97ddbc8a52c428a01a3133f8a0e813b62a0e59fc