Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork938
Closed
Description
Installing recently-released GitPython==2.0.9.dev0 results in 'No module named nose.tools' error on 'import git':
$ rm -rf ~/tmp/test_gitpython; virtualenv ~/tmp/test_gitpython; ~/tmp/test_gitpython/bin/pip install gitpython==2.0.9.dev0; ~/tmp/test_gitpython/bin/python -c 'import git'New python executable in /home/desbonne/tmp/test_gitpython/bin/pythonPlease make sure you remove any previous custom paths from your /home/desbonne/.pydistutils.cfg file.Installing setuptools, pip, wheel...done.Collecting gitpython==2.0.9.dev0 Using cached GitPython-2.0.9.dev0-py2.py3-none-any.whlCollecting gitdb>=0.6.4 (from gitpython==2.0.9.dev0)Collecting smmap>=0.8.5 (from gitdb>=0.6.4->gitpython==2.0.9.dev0)Installing collected packages: smmap, gitdb, gitpythonSuccessfully installed gitdb-0.6.4 gitpython-2.0.9.dev0 smmap-0.9.0Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/desbonne/tmp/test_gitpython/local/lib/python2.7/site-packages/git/__init__.py", line 36, in <module> from git.objects import * # @NoMove @IgnorePep8 File "/home/desbonne/tmp/test_gitpython/local/lib/python2.7/site-packages/git/objects/__init__.py", line 11, in <module> from .commit import * File "/home/desbonne/tmp/test_gitpython/local/lib/python2.7/site-packages/git/objects/commit.py", line 17, in <module> from .tree import Tree File "/home/desbonne/tmp/test_gitpython/local/lib/python2.7/site-packages/git/objects/tree.py", line 13, in <module> from .submodule.base import Submodule File "/home/desbonne/tmp/test_gitpython/local/lib/python2.7/site-packages/git/objects/submodule/base.py", line 42, in <module> from git.test.lib.helper import HIDE_WINDOWS_KNOWN_ERRORS File "/home/desbonne/tmp/test_gitpython/local/lib/python2.7/site-packages/git/test/lib/__init__.py", line 9, in <module> from .asserts import * File "/home/desbonne/tmp/test_gitpython/local/lib/python2.7/site-packages/git/test/lib/asserts.py", line 10, in <module> from nose.tools import (ImportError: No module named nose.tools
I realise that 2.0.9.dev0 is not installed by pip by default, due to being a dev version, but I'm getting gitpython as a transitive dependency via git-upstream, which has a pre-release constraint on gitpython:
$ rm -rf ~/tmp/test_gitpython; virtualenv ~/tmp/test_gitpython >/dev/null; ~/tmp/test_gitpython/bin/pip install git-upstream | grep 'Collecting GitPython'Collecting GitPython!=0.3.2,>=0.3.2.RC1 (from git-upstream)
Metadata
Metadata
Assignees
Labels
No labels