On 2014-07-08 09:09:35 -0400 (-0400), Doug Hellmann wrote: [...] > You'll also need to modify cinder's tox.ini to set "sitepackages = > True" so the virtualenvs created for the unit tests can see the global > site-packages directory. Nova does the same thing for some of its > dependencies.
Nova did this for python-libvirt I believe, but now that we finally have platforms with new-enough libvirt to support the split-out python-libvirt library on PyPI we can hopefully finally stop doing this in master at least. I'm a little worried about taking on sitepackages=True in more projects given the headaches it causes (conflicts between versions in your virtualenv and system-installed python modules which happen to be dependencies of the operating system, for example the issues we ran into with Jinja2 on CentOS 6 last year). It might be better to work with the python-dbus authors to get a pip-installable package released to PyPI, so that it can be included in the tox virtualenv (though for DevStack we'd still want to use distro packages instead of PyPI, I think). -- Jeremy Stanley _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev