Bug 10123

Summary: python3-git missing logging dependency
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Alejandro Hernandez <alejandro.hernandez>
Component: coreAssignee: Alejandro Hernandez <alejandro.hernandez>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: benjamin.esquivel, meta.mr.watcher, meta.watcher
Version: 2.1   
Target Milestone: 1.4.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 9757    

Description Alejandro Hernandez 2016-08-11 20:30:50 UTC
When trying to import the python3-git module, we get the following error:


>>> import git
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.5/site-packages/git/__init__.py", line 35, in <module>
    from git.config import GitConfigParser
  File "/usr/lib/python3.5/site-packages/git/config.py", line 16, in <module>
    import logging
ImportError: No module named 'logging'

The python3-logging package should be added as a runtime dependency to python3-git
Comment 1 Alejandro Hernandez 2016-08-11 21:41:56 UTC
Its also missing the python3-netclient dependency:

>>> import git
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.5/site-packages/git/__init__.py", line 36, in <module>
    from git.objects import *
  File "/usr/lib/python3.5/site-packages/git/objects/__init__.py", line 14, in <module>
    from .submodule.base import *
  File "/usr/lib/python3.5/site-packages/git/objects/submodule/base.py", line 40, in <module>
    import uuid
ImportError: No module named 'uuid'