Bug 1280404 - PostgreSQL testsuite expects different python traceback format
PostgreSQL testsuite expects different python traceback format
Product: Fedora
Classification: Fedora
Component: postgresql (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Pavel Raiskup
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-11-11 11:45 EST by Pavel Raiskup
Modified: 2015-11-12 05:59 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-11-12 05:59:14 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pavel Raiskup 2015-11-11 11:45:25 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'
Comment 1 Tom Lane 2015-11-11 12:01:19 EST
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.
Comment 2 Pavel Raiskup 2015-11-11 12:12:23 EST
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.
Comment 3 Tom Lane 2015-11-11 13:54:04 EST
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:

Comment 4 Robert Kuska 2015-11-12 04:15:06 EST
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!
Comment 5 Pavel Raiskup 2015-11-12 05:59:14 EST
Thanks, I used the upstream fix [1] and built as [2].

[1] http://pkgs.fedoraproject.org/cgit/postgresql.git/commit/?id=c7e64e17fcbbbb1fe8
[2] http://koji.fedoraproject.org/koji/taskinfo?taskID=11801838

Note You need to log in before you can comment on or make changes to this bug.