GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gitpython-2.0.9.dev0 has run-time dependency on nose · Issue #526 · gitpython-developers/GitPython

gitpython-2.0.9.dev0 has run-time dependency on nose #526

New issue
Copy link
New issue
Copy link
Closed
Closed
gitpython-2.0.9.dev0 has run-time dependency on nose#526
Copy link
Assignees
ankostis

Description

@desbonnm
desbonnm
opened on Oct 10, 2016
Issue body actions

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/python
Please 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.whl
Collecting 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, gitpython
Successfully installed gitdb-0.6.4 gitpython-2.0.9.dev0 smmap-0.9.0
Traceback (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)

Activity

  1. ankostis commented on Oct 10, 2016

    @ankostis
    ankostis
    on Oct 10, 2016
    Contributor
    More actions

    Yeap, thanks for this one. It is due code disabling failing Windows TCs, enacted on #525.
    Will fix ASAP.

  2. ankostis
    added a commit that references this issue on Oct 11, 2016

    FIX gitpython-developers#526: Do not depend on test-sources

    This issue will close once commit 74c7ed0 is merged into the 'master' branch.
    74c7ed0
  3. Byron
    assigned
    ankostis
    on Oct 11, 2016
  4. Byron
    added
    in progress
    on Oct 11, 2016
  5. ankostis
    added a commit that references this issue on Oct 11, 2016

    FIX gitpython-developers#526: Do not depend on test-sources

    This issue will close once commit 5751b97 is merged into the 'master' branch.
    5751b97
  6. ankostis commented on Oct 11, 2016

    @ankostis
    ankostis
    on Oct 11, 2016
    Contributor
    More actions

    @Byron I need to revert master in order to merge. Can I?

  7. Byron commented on Oct 11, 2016

    @Byron
    Byron
    on Oct 11, 2016
    Member
    More actions

    @ankostis Please feel free to do whatever you think has to be done. You have my full trust. Sorry for the hassle, when I merged it was green on AppVeyor, at least according to github :/.
    (Still on mobile, everything else in a bit)

  8. ankostis
    closed this as completedin 74c7ed0on Oct 11, 2016
  9. Byron
    removed
    in progress
    on Oct 11, 2016
  10. claytono commented on Oct 12, 2016

    @claytono
    claytono
    on Oct 12, 2016
    More actions

    Can we get a new release go go along with this fix?

  11. ankostis commented on Oct 12, 2016

    @ankostis
    ankostis
    on Oct 12, 2016
    Contributor
    More actions

    For that we are expecting the dependency projects snmap and gitdb, to release also in PyPi: gitpython-developers/smmap#28

  12. claytono commented on Oct 12, 2016

    @claytono
    claytono
    on Oct 12, 2016
    More actions

    I'm afraid I don't follow. Can you explain how that's related and when a release might happen?

  13. Byron commented on Oct 16, 2016

    @Byron
    Byron
    on Oct 16, 2016
    Member
    More actions

    @ClaytonONeill I have just pushed dev1, which should contain the fix required to allow installations to work. I have also un-hidden the last non-dev version, which should hopefully allow installers to gravitate towards the stable version.

  14. Byron commented on Oct 16, 2016

    @Byron
    Byron
    on Oct 16, 2016
    Member
    More actions

    I have also hidden the previous dev release entirely, which ideally fixes the issue for good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @ankostis
    ankostis

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.