pcp
[Top] [All Lists]

Re: [pcp] qa/1068 and 1069 failing

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] qa/1068 and 1069 failing
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Tue, 29 Dec 2015 15:14:01 +0200
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <5674A9A1.3000200@xxxxxxxxxxxxxxxx>
Organization: Red Hat
References: <5674A9A1.3000200@xxxxxxxxxxxxxxxx>
Reply-to: myllynen@xxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
Hi,

On 2015-12-19 02:49, Ken McDonell wrote:
> This is on grundy (PCP 3.11.0 ia64 SUSE SLES11 SP1) and may be related
> to an old version of Python that we need to guard against (either in the
> qa test, or better in the PCP code at run time).
> 
> kenj@grundy:~> pcp python -V
> Python 2.6
> 
> This is outside my sphere of competence, so I need some assistance from
> those who know.

OrderedDict is a hard requirement for pmrep but the surprising part is
that it is available on RHEL 6 which has python-2.6.6-64.el6.x86_64 but
upstream says it was introduced in 2.7:

https://docs.python.org/2/library/collections.html

I guess with older Python versions a user (not QA) could use
https://pypi.python.org/pypi/ordereddict.

Cheers,

-- 
Marko Myllynen

<Prev in Thread] Current Thread [Next in Thread>