python3 compatibility warning during install
Bug #941958 reported by
John A Meinel
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I just tried to install testtools 0.9.14 into Python3.2 and ran into this:
Installing collected packages: testtools
Running setup.py install for testtools
File "C:\Python32\
raise exc_class, exc_obj, exc_tb
SyntaxError: invalid syntax
warning: no files found matching 'HACKING'
warning: no files found matching 'MANUAL'
no previously-included directories found matching 'doc\_build'
Successfully installed testtools
It turns out it actually did "install successfully" but I was quite confused by the error.
Changed in testtools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Right. That file contains Python code that we need and simply will not work in Python 3.x. I guess we could somehow conditionally exclude it from the install when installing for Python 3.
Also, the other warnings need addressing.