Tests fail under Python 3 because lazr.restful is Python 2 only
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lazr.restfulclient |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
$ pip download lazr.restfulclient
$ tar -xzf lazr.restfulcli
$ cd lazr.restfulcli
$ python3 setup.py test
…
Searching for lazr.restful>
Reading https:/
Downloading https:/
Best match: lazr.restful 0.20.1
Processing lazr.restful-
Writing /tmp/easy_
Running lazr.restful-
Traceback (most recent call last):
File "/usr/local/
yield saved
File "/usr/local/
yield
File "/usr/local/
_execfile(
File "/usr/local/
exec(code, globals, locals)
File "/tmp/easy_
from setuptools import setup, find_packages
File "/tmp/easy_
except pkg_resources.
SyntaxError: invalid syntax
lazr.restful fully supports Python 3 as of version 1.0.0. (This particular problem was fixed somewhat earlier - 0.21.0, I think.)