When trying to import the python3-git module, we get the following error: Python 3.5.2 (default, Aug 11 2016, 19:05:07) [GCC 6.1.1 20160511] on linux Type "help", "copyright", "credits" or "license" for more information. >>> 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 21, in <module> from git.util import LockFile File "/usr/lib/python3.5/site-packages/git/util.py", line 13, in <module> import platform File "/usr/lib/python3.5/platform.py", line 117, in <module> import sys, os, re, subprocess File "/usr/lib/python3.5/subprocess.py", line 364, in <module> import signal ImportError: No module named 'signal' >>> The signal module should be added as a runtime dependency to python3-git
(In reply to comment #0) > When trying to import the python3-git module, we get the following error: > > Python 3.5.2 (default, Aug 11 2016, 19:05:07) > [GCC 6.1.1 20160511] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> 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 21, in > <module> > from git.util import LockFile > File "/usr/lib/python3.5/site-packages/git/util.py", line 13, in <module> > import platform > File "/usr/lib/python3.5/platform.py", line 117, in <module> > import sys, os, re, subprocess > File "/usr/lib/python3.5/subprocess.py", line 364, in <module> > import signal > ImportError: No module named 'signal' > >>> > > The signal module should be added as a runtime dependency to python3-git The signal module is not found within the python3 manifest file, so it needs ot be added as a new package.
As a matter of fact the dependency should be added to python3-subprocess and not to python3-git
This module is also missing _posixsubprocess
This module is also missing selectors
Fixed here: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0cff756e15fe69be6e17bc46863f4b57a43e20a8