Bug 10123 - python3-git missing logging dependency
Summary: python3-git missing logging dependency
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.4.5
Assignee: Alejandro Hernandez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 9757
  Show dependency tree
 
Reported: 2016-08-11 20:30 UTC by Alejandro Hernandez
Modified: 2016-08-22 16:18 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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'