1. Tarek Ziadé
  2. distribute
  3. Issues
Issue #365 wontfix

Upgrade to 0.6.36 fails due to SyntaxError

Jeroen Ruigrok van der Werven
created an issue

(Couldn't select version of 0.6.36 since that entry is apparently not present. Picked .35 instead.)

Trying to upgrade the distribute in my Python 3.3 environment I am greeted with this traceback:

Downloading/unpacking distribute from http://pypi.python.org/packages/source/d/distribute/distribute-0.6.36.tar.gz#md5=a923385de72dcdca68cd4ac2b9dc1148
  Running setup.py egg_info for package distribute
    Traceback (most recent call last):
      File "<string>", line 3, in <module>
      File ".\setuptools\__init__.py", line 2, in <module>
        from setuptools.extension import Extension, Library
      File ".\setuptools\extension.py", line 5, in <module>
        from setuptools.dist import _get_unpatched
      File ".\setuptools\dist.py", line 103
        except ValueError, e:
                         ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 3, in <module>

  File ".\setuptools\__init__.py", line 2, in <module>

    from setuptools.extension import Extension, Library

  File ".\setuptools\extension.py", line 5, in <module>

    from setuptools.dist import _get_unpatched

  File ".\setuptools\dist.py", line 103

    except ValueError, e:

                     ^

SyntaxError: invalid syntax

Comments (4)

  1. Jeroen Ruigrok van der Werven reporter

    It's even more of an issue with recent versions of PyCharm that provide an easy UI view to update various packages in the Python interpreter settings window.

    A bit painful given upgrading distribute under Python 2.x never ran into dependency problems. Only on 3 we run into the SyntaxError. Bound to get this problem more and more with the push of 3 this year (Ubuntu and the PyCon talk).

  2. Log in to comment