six 1.4.0 breaks wsme "tuple index out of range"

Bug #1221496 reported by Jay Buffington
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
WSME
Fix Released
High
Unassigned

Bug Description

wsme doesn't work with six 1.4.0 or 1.41 (both released a couple of days ago). WSME 0.4 failed in the same way.

    $ pip list
    pip (1.4.1)
    setuptools (0.9.8)
    simplegeneric (0.8.1)
    six (1.4.0)
    WebOb (1.2.3)
    WSME (0.5b2)

    $ python
    Python 2.6.6 (r266:84292, Sep 11 2012, 05:13:24)
    [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import wsme
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/home/jaybuff/.wsme/lib/python2.6/site-packages/wsme/__init__.py", line 1, in <module>
        from wsme.api import signature
      File "/home/jaybuff/.wsme/lib/python2.6/site-packages/wsme/api.py", line 7, in <module>
        import wsme.types
      File "/home/jaybuff/.wsme/lib/python2.6/site-packages/wsme/types.py", line 585, in <module>
        class Base(six.with_metaclass(BaseMeta)):
      File "/home/jaybuff/.wsme/lib/python2.6/site-packages/six.py", line 566, in with_metaclass
        return meta("NewBase", bases, {})
      File "/home/jaybuff/.wsme/lib/python2.6/site-packages/wsme/types.py", line 576, in __new__
        if bases[0] is not object and '__registry__' not in dct:
    IndexError: tuple index out of range
    >>>

    $ pip install 'six<1.4.0'
    Downloading/unpacking six<1.4.0
      Downloading six-1.3.0.tar.gz
      Running setup.py egg_info for package six
    Installing collected packages: six
      Found existing installation: six 1.4.0
        Uninstalling six:
          Successfully uninstalled six
      Running setup.py install for six
    Successfully installed six
    Cleaning up...

    $ python
    Python 2.6.6 (r266:84292, Sep 11 2012, 05:13:24)
    [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import wsme
    >>>

Revision history for this message
Christophe de Vienne (cdevienne) wrote :

This issue was identified and fixed in the repository.
The next release (0.5b3) will be out soon.

Changed in wsme:
status: New → Fix Committed
importance: Undecided → High
Changed in wsme:
milestone: none → 0.8.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.