cannot install under python 3

Bug #1695392 reported by Doug Hellmann
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
lazr.restfulclient
Fix Released
Undecided
Colin Watson

Bug Description

I haven't been able to install launchpadlib under python 3 because of an issue with lazr.restfulclient.

$ python --version
Python 3.5.2

$ pip install launchpadlib
Collecting launchpadlib
  Using cached launchpadlib-1.10.5.tar.gz
Collecting httplib2 (from launchpadlib)
  Using cached httplib2-0.10.3.tar.gz
Collecting keyring (from launchpadlib)
  Using cached keyring-10.3.2-py2.py3-none-any.whl
Collecting lazr.restfulclient>=0.9.19 (from launchpadlib)
  Using cached lazr.restfulclient-0.13.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/opt/devel/tmp/pip-build-tryllm89/lazr.restfulclient/setup.py", line 19, in <module>
        import ez_setup
      File "/opt/devel/tmp/pip-build-tryllm89/lazr.restfulclient/ez_setup.py", line 98
        except pkg_resources.VersionConflict, e:
                                            ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /opt/devel/tmp/pip-build-tryllm89/lazr.restfulclient/

Pip tries to pull in lazr.restfulclient 0.13.1. The version 0.13.3 is registered on PyPI, but there is no package uploaded.

Sean Dague (sdague)
Changed in lazr.restfulclient:
status: New → Confirmed
Changed in launchpadlib:
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

I've uploaded lazr.restfulclient 0.13.5 to PyPI, and it's now possible to install launchpadlib in a Python 3 virtualenv, although you do still need to mess about with --system-site-packages and/or using a patched oauth in order to actually run it.

no longer affects: launchpadlib
Changed in lazr.restfulclient:
assignee: nobody → Colin Watson (cjwatson)
status: Confirmed → 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.