Re: Python version dependency in plpython regression tests

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Python version dependency in plpython regression tests
Date: 2012-09-08 20:46:24
Message-ID: 1347137184.4731.8.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, 2012-09-08 at 16:35 -0400, Tom Lane wrote:
> and obviously, python is iterating through the hash's keys in a
> different order than it was a minor version or two back. (The failure
> is occurring with 3.3.0-0.4.rc1.fc19, whereas I saw no failure with
> 3.2.3-7.fc17.)

Yes, known problem with 3.3.
>
> I think probably the best thing is to change the test case so it has
> one
> valid key and one not-valid one, rather than assuming that the same
> key
> will always be complained of when there's more than one not-valid
> one.

That would probably work. We dealt with a similar problem in
2cfb1c6f77734db81b6e74bcae630f93b94f69be, if you want some additional
inspiration. Not sure why we didn't see this case then.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-09-08 20:46:43 Re: build farm machine using <make -j 8> mixed results
Previous Message Tom Lane 2012-09-08 20:35:04 Python version dependency in plpython regression tests