[Scipy-tickets] [SciPy] #1669: csgraph test failures

SciPy Trac scipy-tickets@scipy....
Sat Jun 9 14:41:27 CDT 2012


#1669: csgraph test failures
--------------------------+-------------------------------------------------
 Reporter:  rgommers      |       Owner:  jakevdp
     Type:  defect        |      Status:  new    
 Priority:  high          |   Milestone:  0.11.0 
Component:  scipy.sparse  |     Version:  devel  
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by rgommers):

 I've tried to replace {{{ctypedef np.int32_t ITYPE_t}}} with {{{ctypedef
 np.intp_t ITYPE_t}}}, because that seems like the right solution. 3 out of
 4 Cython files regenerate fine, but for shortest_path.pyx I get
 {{{
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-
 packages/Cython-0.16-py2.6-macosx-10.3-fat.egg/Cython/Compiler/PyrexTypes.py",
 line 384, in create_from_py_utility_code
     env.use_utility_code(self.from_py_utility_code)
 AttributeError: 'NoneType' object has no attribute 'use_utility_code'
 }}}
 Seems like a known issue: http://codespeak.net/pipermail/cython-
 dev/2010-November/010176.html. Or maybe I'm just doing something stupid.
 Either way, I don't understand why the np.int32_t is used.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1669#comment:4>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list