Skip to content
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
ghost opened this issue Jan 2, 2015 · 8 comments
Closed

Install issues with 10.2 #323

ghost opened this issue Jan 2, 2015 · 8 comments

Comments

@ghost
Copy link

ghost 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.


@ghost
Copy link
Author

ghost 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.

@ghost
Copy link
Author

ghost 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

@ghost
Copy link
Author

ghost commented Jan 2, 2015

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


Fix regression in entry-point name parsing

See #323 for more details.

@ghost
Copy link
Author

ghost commented Jan 2, 2015

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


Thank you both!

@ghost
Copy link
Author

ghost commented Jan 2, 2015

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


Update changelog. Fixes #323.

@ghost
Copy link
Author

ghost 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.

@ghost
Copy link
Author

ghost commented Jan 2, 2015

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


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

@ghost
Copy link
Author

ghost 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.

@ghost ghost added major bug labels Mar 29, 2016
@ghost ghost closed this as completed Mar 29, 2016
jaraco added a commit that referenced this issue Mar 29, 2016
… fix for Distribute #323, so this backout restores that fix and also Fixes #141.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants