Dag Sverre Seljebotn wrote:

> Neal Becker wrote:
>> Dag Sverre Seljebotn wrote:
>>
>>   
>>> Neal Becker wrote:
>>>     
>>>> I grabbed a NEW tar from http://cython.org/Cython-0.11.rc.tar.gz.  (I
>>>> won't comment on the confusion caused by changing the file without
>>>> changing the name :)
>>>>
>>>> Now testing at least starts, but seems to have some errors:
>>>> (Ignore the
>>>> RPM build errors:
>>>>     Installed (but unpackaged) file(s) found:,
>>>> I'll fix those)
>>>>   
>>>>       
>>> The problem is that NumPy appears to be installed on your system (import
>>> numpy succeeds), yet the NumPy C header files is not present in the
>>> include path.
>>>
>>> Either set an extra include-path using the INCLUDE environment variable:
>>>
>>> INCLUDE=/path/to/numpy/headers python runtests.py ...
>>>
>>> or, drop the NumPy tests from the test suite (as I suppose your Cython
>>> RPM doesn't depend on NumPy -- it shouldn't!):
>>>
>>> python runtests.py ... -x numpy
>>>
>>> Dag Sverre
>>>     
>>
>> Here is code used to find the 'pyublas' includes.  Something like this
>> could be used to find the numpy includes:
>>   
> Yep, but it won't happen in this release. See my upcoming response to
> Lisandro.
> 
> But I think the Cython RPM shouldn't depend on the NumPy RPM, or be
> tested differently if NumPy is installed or not in the RPM build?
> 
> Cython doesn't depend on NumPy in any way, there's just a test case
> sitting there more for convenience than anything else...the testcase
> doesn't add anything to correctness testing of Cython either.
> 
> Dag Sverre

OK, I agree.  I will use -x numpy and we avoid BuildRequires: numpy.

With this, the build succeeds (on x86_64 F10).

Anyone test this yet on gcc-4.4 (which is used for F11)?
 


_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to