
httplib2 - issue #189
Tests fail with CPython-3.* (AttributeError: 'module' object has no attribute 'message_from_bytes')
What steps will reproduce the problem? 1. Run the build and run the tests with CPython-3.* 2. Watch it implode!
What is the expected output? What do you see instead?
Expected the tests would run fine with CPython-3.* Instead you get a bunch of error, such as:
ERROR: testVaryUnusedHeader (main.HttpTest)
Traceback (most recent call last): File "httplib2test.py", line 712, in testVaryUnusedHeader 'Accept': 'text/plain',}) File "/var/tmp/portage/dev-python/httplib2-0.7.2/work/httplib2-0.7.2/python3/httplib2/init.py", line 1079, in request info = email.message_from_bytes(info) AttributeError: 'module' object has no attribute 'message_from_bytes'
What version of the product are you using? On what operating system? httplib2-0.7.2 - running in Gentoo Linux
Comment #1
Posted on Nov 30, 2011 by Helpful Cathttplib2 supports Python >=3.2, but not 3.0 or 3.1. You seem to use 3.1.
Comment #2
Posted on Aug 28, 2012 by Massive Hippo(No comment was entered for this change.)
Status: Invalid
Labels:
Type-Defect
Priority-Medium