[openstack-dev] [Manila] ./run_tests issue
Valeriy Ponomaryov
vponomaryov at mirantis.com
Sun Sep 21 06:42:25 UTC 2014
Dep "MySQL-python" is already in test-requirements.txt file. As Andreas
said, second one "mysql-devel" is C lib and can not be installed via pip.
So, project itself, as all projects in OpenStack, can not install it.
C lib deps are handled by Devstack, if it is used. See:
https://github.com/openstack-dev/devstack/tree/master/files/rpms
https://github.com/openstack-dev/devstack/blob/2f27a0ed3c609bfcd6344a55c121e56d5569afc9/functions-common#L895
Yes, Manila could have its files in the same way in
https://github.com/openstack/manila/tree/master/contrib/devstack , but this
lib is already exist in deps for other projects. So, I guess you used
Manila "run_tests.sh" file on host without devstack installation, in that
case all other projects would fail in the same way.
On Sun, Sep 21, 2014 at 2:54 AM, Alex Leonhardt <aleonhardt.py at gmail.com>
wrote:
> And yet it's a dependency so I'm with Deepak and it should at least be
> mentioned in the prerequisites on a webpage somewhere .. :) I might even
> try and update/add that myself as it caught me out a few times too..
>
> Alex
> On 20 Sep 2014 12:44, "Andreas Jaeger" <aj at suse.com> wrote:
>
>> On 09/20/2014 09:34 AM, Deepak Shetty wrote:
>> > thanks , that worked.
>> > Any idea why it doesn't install it automatically and/or it isn't present
>> > in requirements.txt ?
>> > I thought that was the purpose of requirements.txt ?
>>
>> AFAIU requirements.txt has only python dependencies while
>> mysql-devel is a C development package,
>>
>> Andreas
>> --
>> Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
>> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
>> GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
>> GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
--
Kind Regards
Valeriy Ponomaryov
www.mirantis.com
vponomaryov at mirantis.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140921/5406983e/attachment.html>
More information about the OpenStack-dev
mailing list