Skip to content

PyGitUp incompatible with setuptools 8.0 #19

Closed
@mbarrien

Description

@mbarrien

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions