[SciPy-user] Scipy 0.7, weave, windows

josef.pktd@gmai... josef.pktd@gmai...
Thu Jan 8 10:13:24 CST 2009


On Thu, Jan 8, 2009 at 10:59 AM,  <josef.pktd@gmail.com> wrote:
> On Thu, Jan 8, 2009 at 10:19 AM, David Cournapeau
> <david@ar.media.kyoto-u.ac.jp> wrote:
>> Hi,
>>
>>    I just did a full build/install/test dance of scipy 0.7 on windows,
>> and things look good - except weave, which brings 205 errors when the
>> full test suite is run. Do people use weave on windows ? I would think
>> not many, because we discovered with Stefan some weave functions using
>> python code not available at least since python 2.4, but I would like to
>> make sure.
>>
>>    Otherwise, I believe we will finally be able to release scipy 0.7,
>> almost one year and a half after 0.6 :)
>>
>>    thanks,
>>
>>    David
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user@scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-user
>>
>

(hit wrong button)

WindowsXP, MingW,
SWIG Version 1.3.36 (Compiled with i586-mingw32msvc-g++ [i686-pc-linux-gnu])

When testing weave with 'full', weave usually looks pretty good. It
leaves a lot of temp files behind, but  I don't get any failures or
errors. (after test with cout crash is removed)

the skips are the wxpython tests, I don't know what the other two knownfail are

>>> import scipy.weave
>>> scipy.weave.test('full')
Running unit tests for scipy.weave
NumPy version 1.3.0.dev6139
NumPy is installed in C:\Programs\Python25\lib\site-packages\numpy
SciPy version 0.7.0.dev          # 5286
SciPy is installed in C:\Programs\Python25\lib\site-packages\scipy
Python version 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Int
el)]
nose version 0.10.4
-------------------------------------------------------------
Ran 449 tests in 827.922s

OK (KNOWNFAIL=3, SKIP=7)
<nose.result.TextTestResult run=449 errors=0 failures=0>

the log contains these error messages, but they don't cause a failure

..................................................error removing c:\docume~1\car
r\locals~1\temp\tmpjqj0tkcat_test: c:\docume~1\carr\locals~1\temp\tmpjqj
0tkcat_test: The directory is not empty
..building extensions here: c:\docume~1\carr\locals~1\temp\Carr\python25
_compiled\m61
......K<weave: compiling>
<weave: compiling>
c:\docume~1\carr\locals~1\temp\Carr\python25_compiled\m61\sc_2b01bfa9cce
5c43d4c49a1d7e13f43d21.cpp: In function `PyObject* compiled_func(PyObject*, PyOb
ject*)':
c:\docume~1\carr\locals~1\temp\Carr\python25_compiled\m61\sc_2b01bfa9cce
5c43d4c49a1d7e13f43d21.cpp:664: error: no match for 'operator<' in 'a < 2'
c:\docume~1\carr\locals~1\temp\Carr\python25_compiled\m61\sc_2b01bfa9cce
5c43d4c49a1d7e13f43d21.cpp:668: error: no match for 'operator+' in 'a + 1'

Josef


More information about the SciPy-user mailing list