msanders / cider

Hassle-free bootstrapping with Homebrew.
https://pypi.python.org/pypi/cider/
MIT License
840 stars 25 forks source link

Python 3 support #6

Closed mplewis closed 9 years ago

mplewis commented 9 years ago

Cider doesn't appear to support Python 3 yet. Here's what I get when installing via pip3:

% pip3 install cider
Downloading/unpacking cider
  Downloading cider-1.1.tar.gz
  Running setup.py (path:/private/var/folders/qy/8q5_l9gd3630_xq4qsrs2r7r0000gn/T/pip_build_mplewis/cider/setup.py) egg_info for package cider
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/private/var/folders/qy/8q5_l9gd3630_xq4qsrs2r7r0000gn/T/pip_build_mplewis/cider/setup.py", line 17, in <module>
        version, author = [grep_attr(body, attr) for attr in ("version", "author")]
      File "/private/var/folders/qy/8q5_l9gd3630_xq4qsrs2r7r0000gn/T/pip_build_mplewis/cider/setup.py", line 17, in <listcomp>
        version, author = [grep_attr(body, attr) for attr in ("version", "author")]
      File "/private/var/folders/qy/8q5_l9gd3630_xq4qsrs2r7r0000gn/T/pip_build_mplewis/cider/setup.py", line 13, in grep_attr
        ).group(1)))
    AttributeError: 'str' object has no attribute 'decode'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

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

  File "/private/var/folders/qy/8q5_l9gd3630_xq4qsrs2r7r0000gn/T/pip_build_mplewis/cider/setup.py", line 17, in <module>

    version, author = [grep_attr(body, attr) for attr in ("version", "author")]

  File "/private/var/folders/qy/8q5_l9gd3630_xq4qsrs2r7r0000gn/T/pip_build_mplewis/cider/setup.py", line 17, in <listcomp>

    version, author = [grep_attr(body, attr) for attr in ("version", "author")]

  File "/private/var/folders/qy/8q5_l9gd3630_xq4qsrs2r7r0000gn/T/pip_build_mplewis/cider/setup.py", line 13, in grep_attr

    ).group(1)))

AttributeError: 'str' object has no attribute 'decode'

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/var/folders/qy/8q5_l9gd3630_xq4qsrs2r7r0000gn/T/pip_build_mplewis/cider
Storing debug log for failure in /Users/mplewis/.pip/pip.log
msanders commented 9 years ago

Whoops, thanks for pointing this out. I need to hook up Travis so this doesn't regress again.