Bug 1280404 - PostgreSQL testsuite expects different python traceback format
PostgreSQL testsuite expects different python traceback format
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: postgresql (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Pavel Raiskup
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2015-11-12 05:59:14 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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:
https://kojipkgs.fedoraproject.org//work/tasks/3658/11793658/build.log

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:

http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=f16d52269a196f7f303abe3b978d95ade265f05f
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.