Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

PyGitUp incompatible with setuptools 8.0 #19

Closed
mbarrien opened this issue Dec 16, 2014 · 2 comments
Closed

PyGitUp incompatible with setuptools 8.0 #19

mbarrien opened this issue Dec 16, 2014 · 2 comments

Comments

@mbarrien
Copy link

After upgrading my setuptools package to setuptools 8.0 via pip install --upgrade setuptools, git up fails to run with the following error:

Traceback (most recent call last):
  File "/Users/mike/venv/bin/git-up", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/Users/mike/venv/lib/python2.7/site-packages/pkg_resources.py", line 2926, in <module>
    working_set = WorkingSet._build_master()
  File "/Users/mike/venv/lib/python2.7/site-packages/pkg_resources.py", line 553, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/Users/mike/venv/lib/python2.7/site-packages/pkg_resources.py", line 566, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/Users/mike/venv/lib/python2.7/site-packages/pkg_resources.py", line 745, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: colorama==0.2.4,==0.3.2

Downgrading to setuptools 7.0 lets pygitup work. The release note for setuptools talks about changing the way version numbers are parsed, so you may need to update your requirements.

@msiemens
Copy link
Owner

Thanks for reporting! I've just pushed a fix. When all tests have passed, I'll release a new bugfix version of PyGitUp.

@msiemens
Copy link
Owner

v1.2.1 is now released :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants