Hi, I built an installer for OS X and did some testing on a clean computer. All NumPy tests pass. SciPy (0.7.1 binary) gives a number of errors and failures, I copied one of each type below. For full output see http://pastebin.com/eEcwkzKr . To me it looks like the failures are harmless, and the kdtree errors are not related to changes in NumPy. Is that right?
I also installed Matplotlib (0.99.1.1 binary), but I did not find a way to test just the binary install except manually. Created some plots, looked fine. Then I ran the test script examples/tests/backend_driver.py from an svn checkout, but my laptop died before the tests finished (at least 25 mins). Basic output was: <example_name.py> 1.123 0 <example_name2.py> 0.987 0 ... Can anyone tell me what the best way is to test the MPL binary? Cheers, Ralf ====================================================================== ERROR: Failure: ValueError (numpy.dtype does not appear to be the correct type object) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose-0.11.1-py2.6.egg/nose/loader.py", line 379, in loadTestsFromName addr.filename, addr.module) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose-0.11.1-py2.6.egg/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose-0.11.1-py2.6.egg/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/cluster/__init__.py", line 9, in <module> import vq, hierarchy File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/cluster/hierarchy.py", line 199, in <module> import scipy.spatial.distance as distance File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/spatial/__init__.py", line 7, in <module> from ckdtree import * File "numpy.pxd", line 30, in scipy.spatial.ckdtree (scipy/spatial/ckdtree.c:6087) ValueError: numpy.dtype does not appear to be the correct type object ====================================================================== ERROR: test_kdtree.test_random_compiled.test_approx ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose-0.11.1-py2.6.egg/nose/case.py", line 364, in setUp try_run(self.inst, ('setup', 'setUp')) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose-0.11.1-py2.6.egg/nose/util.py", line 487, in try_run return func() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/spatial/tests/test_kdtree.py", line 133, in setUp self.kdtree = cKDTree(self.data) File "ckdtree.pyx", line 214, in scipy.spatial.ckdtree.cKDTree.__init__ (scipy/spatial/ckdtree.c:1563) NameError: np ====================================================================== FAIL: test_asfptype (test_base.TestBSR) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/sparse/tests/test_base.py", line 242, in test_asfptype assert_equal( A.dtype , 'int32' ) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 284, in assert_equal raise AssertionError(msg) AssertionError: Items are not equal: ACTUAL: dtype('int32') DESIRED: 'int32' ====================================================================== FAIL: test_nrdtrisd (test_basic.TestCephes) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/special/tests/test_basic.py", line 349, in test_nrdtrisd assert_equal(cephes.nrdtrisd(0.5,0.5,0.5),0.0) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/testing/utils.py", line 301, in assert_equal raise AssertionError(msg) AssertionError: Items are not equal: ACTUAL: -0 DESIRED: 0.0 ---------------------------------------------------------------------- Ran 2585 tests in 46.196s FAILED (KNOWNFAIL=4, SKIP=31, errors=28, failures=17) Out[2]: <nose.result.TextTestResult run=2585 errors=28 failures=17>
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion