[openstack-dev] [all] Testtools 1.7.0 may error if you installed it before reading this email

Robert Collins robertc at robertcollins.net
Wed Mar 11 23:59:56 UTC 2015


On 12 March 2015 at 12:37, Ian Wienand <iwienand at redhat.com> wrote:
> On 03/11/2015 08:10 AM, Robert Collins wrote:
>> The wheel has been removed from PyPI and anyone installing testtools
>> 1.7.0 now will install from source which works fine.
>
> I noticed the centos7 job failed with the source version.
>
> The failing job was [1] where the back-trace looks like ~45 songs on
> Python's greatest-hits album (pasted below).  The next run [2] it got
> the 1.7.1 wheel and "just worked".
>
> Maybe this jumps out at someone as a known issue ...
>
> -i
>
> [1] http://logs.openstack.org/49/163249/1/check/check-tempest-dsvm-centos7/8dceac8/logs/devstacklog.txt.gz
...
>    File "/tmp/easy_install-mV2rSm/unittest2-1.0.0/unittest2/case.py", line 16, in <module>
>  ImportError: cannot import name range
>  Complete output from command python setup.py egg_info:

Thats a missing symbol in six. Which means unittest2 needs a versioned
dep on six - please file a unittest2 bug, and if you have the time,
figure out when range was added to six.

Cheers,
Rob

-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud



More information about the OpenStack-dev mailing list