#6456: Upgrade cvxopt in sage from 0.9 to 1.1.2
--------------------------------+-------------------------------------------
Reporter: was | Owner: mabshoff
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.5.2
Component: packages | Keywords:
Author: schilly, dimpase | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
Comment(by dimpase):
Replying to [comment:66 drkirkby]:
> Replying to [comment:62 schilly]:
> > Replying to [comment:58 drkirkby]:
> > > I'm not sure what to make of this. I don't feel this is ready, given
the high failure rate of the self-tests.
> >
> > I've run them locally and many open a plot window. Do you have
installed all the appropriate libraries for plotting?
>
> Probably not.
>
> > For me, this smells like it is clearly not designed for automated
testing because I had to close all windows manually.
>
> That may be true. I don't know exactly what exists on sage.math. But
many of the messages do not seem to indicate such a problem to me. Things
like:
>
> {{{
> from sage.misc.prandom import seed
> ImportError: cannot import name seed
> }}}
>
> does not look like a plotting problem or library to me. Would you agree?
>
> > Besides that, your script also tests {{{/chap7/covsel.bin}}} which is
not a python file and also not found by the appropriate
{{{/chap7/covsel}}} script due to relative paths.
>
> Yes, I had noticed that, but given the large number of problems, it was
only one in around 20 tests. I can easily change that, but it seems to be
in the noise at the minute.
>
> > I appreciate to try to include testing - and in general it makes sense
to do it - but my point of view is that it is much more important to
update this years old library and get compiling working on all platforms
and resort fixing the library later in separate tickets. 0.9 is not useful
at all.
>
> At the minute, this is certainly worst than the previous version on
Solaris.
>
> The warning messages noticed by Peter look pretty serious to me and are
new to this version. Those occur on any platform.
>
> I personally feel these issues should be resolved, otherwise we could
end up making matters worst. If the upgrade does not get done properly
now, it probably never will.
>
Dave,
your spkg-check is buggy. You probably end up calling a very wrong python
to run the examples. E.g. if I cd to
cvxopt-1.1.2/src/examples/doc/chap8
make a symbolic link mcsdp.py to mcsdp, fire up sage, and do
sage: load('mcsdp.py')
it happily runs without any errors etc. And this is one of examples your
spkg-check fails on with weird error messages. So the problem does not
seem to be in cvxopt here, but rather in your script...
Dima
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6456#comment:78>
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.