[Cython] Cython sometimes fails to build on Travis

Stefan Behnel stefan_ml at behnel.de
Sat Nov 8 00:53:38 CET 2014


Nathaniel Smith schrieb am 07.11.2014 um 23:43:
> On Fri, Nov 7, 2014 at 5:13 PM, Ondrej Certik wrote:
>> Cython sometimes fails to build on Travis for various projects. If it
>> fails, it always ends with this error:
>>
>> https://gist.github.com/certik/08f16dd572170c17d956

Might be a problem with setuptools, travis, CPython, or even Cython.


> I don't have any insight into the error, but for CI purposes I install
> cython with:
> 
> pip install --install-option="--no-cython-compile" cython

This is definitely the right thing to do for one-time compilations.

Also, compiling the resulting C code with CFLAGS="-O0" (or "-O0 -ggdb"
etc.) usually gives another speed boost for testing purposes.

Stefan



More information about the cython-devel mailing list