#9808: Upgrade numpy to 1.4.1 and scipy to 0.8
-----------------------------------+----------------------------------------
Reporter: maldun | Owner: maldun
Type: task | Status: needs_review
Priority: major | Milestone: sage-4.6
Component: packages | Keywords: numpy, scipy
Author: Stefan Reiterer | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
Comment(by kcrisman):
Replying to [comment:71 fbissey]:
> A question: do we impose python to be built with or without unicode
support? If
> not, is the support enabled by default depending on the platform?
> To me it looks like numpy ships headers that are encoded with unicode
and that
> your sage's python chock on them, that's the first and foremost error.
> distutils seem to be unable to work things properly after that.
>
> Two things could be tried:
> 1) have python built with unicode support on OSX.
> 2) "vet" numpy to convert the headers in
/Users/student/Desktop/sage-4.5.2/local/lib/python2.6/site-
packages/numpy/core/include/numpy/ to plain text.
> Actually you probably can do that easily and manually right now on the
installed
> headers.
Umm... except that I have no idea how I might do that. What exact changes
would I need to make to Python.h (and/or something else)? It seems
unwise to make yet another python spkg change to deal with this; did numpy
only recently (between whatever Sage has now and 1.4.1) start making its
headers unicode? I am not exactly a C expert.
That said, 1) seems to be more canonical, though I guess if it makes it
work, 2) could be an option. This is the sort of thing Leif and/or
drkirkby usually have an informed opinion on...
> Give it a spin and see if it works. If it does we'll have to do
something about
> that piece of unicode one way or another.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9808#comment:72>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.