[ovs-dev] sphinx on os x on travis?

Lance Richardson lrichard at redhat.com
Fri Mar 17 23:39:03 UTC 2017


> From: "Ben Pfaff" <blp at ovn.org>
> To: dev at openvswitch.org
> Cc: "Lance Richardson" <lrichard at redhat.com>
> Sent: Friday, March 17, 2017 7:09:51 PM
> Subject: sphinx on os x on travis?
> 
> I'm seeing failures on Travis that boil down to this:
> 
>     /home/travis/build/blp/ovs-reviews/Documentation/intro/install/documentation.rst:34:
>     ERROR: Error in "note" directive:
>     invalid option block.
> 
>     .. note::
>       These instructions provide information on building the documentation
>       locally.
>       For information on writing documentation, refer to
>       :doc:`/internals/contributing/documentation-style`
> 
> e.g. in https://travis-ci.org/blp/ovs-reviews/jobs/212266894.
> 
> Some web searches suggest this might be due to an old python-sphinx
> version.  Do anyone know how to make travis use a newer version?
> 
> Thanks,
> 
> Ben.
> 

I think adding "pip install --user sphinx" to .travis/osx-prepare.sh would be worth
a try. On the machine I just did this on, version 1.5.3 was installed.

FWIW, "brew install sphinx" installs the other sphinx (text search software).

   Lance


More information about the dev mailing list