New issue

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

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

Already on GitHub? Sign in to your account

Install issues with 10.2 #323

Closed
bb-migration opened this Issue Jan 2, 2015 · 8 comments

Comments

Projects
None yet
1 participant
@bb-migration

bb-migration commented Jan 2, 2015

Originally reported by: spulec (Bitbucket: spulec, GitHub: spulec)


I started getting this error as of 10.2

  Running setup.py egg_info for package setuptools
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "../venv/build/setuptools/setup.py", line 180, in <module>
        dist = setuptools.setup(**setup_params)
      File "/usr/lib/python2.7/distutils/core.py", line 112, in setup
        _setup_distribution = dist = klass(attrs)
      File "setuptools/dist.py", line 267, in __init__
        for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):
      File "pkg_resources/__init__.py", line 639, in iter_entry_points
        entries = dist.get_entry_map(group)
      File "pkg_resources/__init__.py", line 2590, in get_entry_map
        self._get_metadata('entry_points.txt'), self
      File "pkg_resources/__init__.py", line 2348, in parse_map
        maps[group] = cls.parse_group(group, lines, dist)
      File "pkg_resources/__init__.py", line 2326, in parse_group
        ep = cls.parse(line, dist)
      File "pkg_resources/__init__.py", line 2304, in parse
        raise ValueError(msg, src)
    ValueError: ("EntryPoint must be in 'name=module:attrs [extras]' format", 'html+mako = mako.ext.pygmentplugin:MakoHtmlLexer')

It is not clear to me if this is an issue with setuptools or Mako, but since it worked with the older setuptools I figured I would open the issue here first.


@bb-migration

This comment has been minimized.

bb-migration commented Jan 2, 2015

Original comment by icordasc (Bitbucket: icordasc, GitHub: Unknown):


Would seem it was broken by https://bitbucket.org/pypa/setuptools/commits/7c0e84396b5254594b941f65d354d4f48599cb72 and https://bitbucket.org/pypa/setuptools/commits/eb6c4c17b5faa07dec8959a46c913a404e9daa54 because entry-points with +s in the name were probably never tested for.

@bb-migration

This comment has been minimized.

bb-migration commented Jan 2, 2015

Original comment by icordasc (Bitbucket: icordasc, GitHub: Unknown):


This should be fixed with https://bitbucket.org/pypa/setuptools/pull-request/114/fix-regression-in-entry-point-name-parsing/diff

@bb-migration

This comment has been minimized.

bb-migration commented Jan 2, 2015

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Fix regression in entry-point name parsing

See #323 for more details.

@bb-migration

This comment has been minimized.

bb-migration commented Jan 2, 2015

Original comment by spulec (Bitbucket: spulec, GitHub: spulec):


Thank you both!

@bb-migration

This comment has been minimized.

bb-migration commented Jan 2, 2015

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Update changelog. Fixes #323.

@bb-migration

This comment has been minimized.

bb-migration commented Jan 2, 2015

Original comment by icordasc (Bitbucket: icordasc, GitHub: Unknown):


@jaraco any chance of a 10.2.1? I can understand if it isn't in the cards.

@bb-migration

This comment has been minimized.

bb-migration commented Jan 2, 2015

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Released as 10.2.1. Thanks for the fix and regression test!

@bb-migration

This comment has been minimized.

bb-migration commented Jan 2, 2015

Original comment by michaelmarziani (Bitbucket: michaelmarziani, GitHub: michaelmarziani):


Thank you! 10.2.1 is working for me on Centos 6.5/Python 2.6/pip 6.0.3.

jaraco added a commit that referenced this issue Mar 29, 2016

Backed out changeset: ef949e6e6de1, which was itself a backout of the…
… fix for Distribute #323, so this backout restores that fix and also Fixes #141.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment