Red Hat Bugzilla – Bug 1280404
PostgreSQL testsuite expects different python traceback format
Last modified: 2015-11-12 05:59:14 EST
Reported by Robert Kuska:
Seems like this is a problem:
- ERROR: AttributeError: 'module' object has no attribute 'attribute_error'
+ ERROR: AttributeError: module 'plpy' has no attribute 'attribute_error'
Sigh, did Python change the spelling of that error message? We're going to need a new variant expected-file to deal with it, if so.
I haven't had enough time to look at this yet, but supposedly yes --
probably starting from Python 3.5. I'll check the details tomorrow.
Per upstream discussion, this was already dealt with in the Postgres 9.5 branch. I'm not sure why the fix was not back-patched at the time, but until it gets into 9.4.x you could probably apply a version of this patch:
FYI Python3.5 is currently still located in side-tag of Rawhide - f24-python3. We are waiting for postgresql to merge tags. Please use `fedpkg build --target f24-python3` to build patched postgresql with python3.5. Thank you!
Thanks, I used the upstream fix  and built as .