[ovs-dev] [PATCH ovn] travis: Fix CI failure for osx builds

Ilya Maximets i.maximets at ovn.org
Fri Nov 8 12:38:43 UTC 2019


On 08.11.2019 13:12, Numan Siddique wrote:
> Hi Ilya,

Hi Numan,

Comments inline.

Best regards, Ilya Maximets.

> 
> If you get some time, could you please take a look at this patch ?
> 
> Thanks
> Numan
> 
> 
> On Fri, Nov 8, 2019 at 4:13 PM <numans at ovn.org> wrote:
>>
>> From: Numan Siddique <numans at ovn.org>
>>
>> The below failure is seen
>>
>> ****
>> checking for Python 3 (version 3.4 or later)... /usr/local/bin/python3
>> checking where Python six library is available... configure: error: Missing Python six library.
>> The command "./.travis/${TRAVIS_OS_NAME}-build.sh $OPTS" exited with 1.
>> ****
>>
>> This patch fixes it.
>>
>> Signed-off-by: Numan Siddique <numans at ovn.org>
>> ---
>>   .travis/osx-prepare.sh | 6 ++----
>>   1 file changed, 2 insertions(+), 4 deletions(-)
>>
>> diff --git a/.travis/osx-prepare.sh b/.travis/osx-prepare.sh
>> index 4725fd829..7f639a62e 100755
>> --- a/.travis/osx-prepare.sh
>> +++ b/.travis/osx-prepare.sh
>> @@ -1,7 +1,5 @@
>>   #!/bin/bash
>>   set -ev
>> -pip2 install --user six
>> -pip2 install --user --upgrade docutils
>> +pip3 install --user six
>> +pip3 install --user --upgrade docutils

This is required because OVS requires python3 now.
This might make sense to point to that fact in commit-message.

>>

This empty line should be removed too as it is the last in a file.

>> -brew update || true
>> -brew uninstall libtool && brew install libtool || true

This part is just an optimization. Doesn't really related to this fix.
Some details in a corresponding OVS commit:
     3bfc9c1c30d5 ("travis: Drop OSX workarounds.")

I'm OK with the change in general.  It might be better to mention
in commit message why libtool update was also removed.

Otherwise,
Acked-by: Ilya Maximets <i.maximets at ovn.org>


More information about the dev mailing list