PBR

Comment 2 for bug 1281271

Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

It looks like the problem is a unicode literal in pbr:

$ pip install pbr
Downloading/unpacking pbr
  Using download cache from /Users/dhellmann/Library/Caches/pip-downloads/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpbr%2Fpbr-0.6.tar.gz
  Running setup.py egg_info for package pbr
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/Users/dhellmann/Envs/tmp-6c866c0d07db1713/build/pbr/setup.py", line 19, in <module>
        from pbr import util
      File "pbr/util.py", line 81, in <module>
        import pbr.hooks
      File "pbr/hooks/__init__.py", line 18, in <module>
        from pbr.hooks import backwards
      File "pbr/hooks/backwards.py", line 19, in <module>
        from pbr import packaging
      File "pbr/packaging.py", line 273
        changelog_file.write(u"CHANGES\n=======\n\n")
                                                   ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

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

  File "/Users/dhellmann/Envs/tmp-6c866c0d07db1713/build/pbr/setup.py", line 19, in <module>

    from pbr import util

  File "pbr/util.py", line 81, in <module>

    import pbr.hooks

  File "pbr/hooks/__init__.py", line 18, in <module>

    from pbr.hooks import backwards

  File "pbr/hooks/backwards.py", line 19, in <module>

    from pbr import packaging

  File "pbr/packaging.py", line 273

    changelog_file.write(u"CHANGES\n=======\n\n")

                                               ^

SyntaxError: invalid syntax

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /Users/dhellmann/Envs/tmp-6c866c0d07db1713/build/pbr
Storing complete log in /Users/dhellmann/.pip/pip.log