[openstack-dev] [Congress] Issues with Tox testing

Clark Boylan cboylan at sapwetik.org
Thu Apr 7 19:19:56 UTC 2016


On Thu, Apr 7, 2016, at 11:16 AM, Bryan Sullivan wrote:
> Hi Congress team, 
> 
> A question for tox testing expert on the Congress team. I'm trying to run
> the tox tests as described at https://github.com/openstack/congress,
> specifically the two commands:
> 
> $ sudo pip install 'tox<1.7'
> 
> $ tox -epy27 
> 
> 
> 
> Due to conflicts with the OS-owned python config, I run these under my
> virtualenv created in the congress repo as:
> $ cd ~/git/congress
> $ bin/pip  install 'tox<1.7'
> $ bin/tox -epy27
> 
> 
> But in any event (whether I try to run the tox within the virtualenv or
> not), I get errors such as:
>   c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
> 
> 
> 
> What's missing in the setup for running these tests? 

This indicates you do not have the libffi development headers installed
on your system. On debuntu they come in the libffi-dev package.

Clark



More information about the OpenStack-dev mailing list