[sage-devel] Re: mpmath installation and location of extension code
On Sun, May 31, 2009 at 11:48 PM, Fredrik Johansson wrote: > > Hi all, I could use some guidance for mpmath/Sage integration. > > To put mpmath in Sage, I presume it should just be installed into > site-packages as a regular Python library, so I should create an spkg > that does the usual python setup.py install. Yep. Just copy what is done with some other spkg that packages some standard Python program. > (Is there a policy of > requiring the spkg to be a release version, or can I just put the > trunk in there? The development version of mpmath is usually stable. > Of course, arguably if a version is stable enough to put in Sage, it > is also stable enough for standalone release...) There is no such policy. It is up to the package maintainer (which in this case is you). > Then there is the question of what to do with the Cython extension > code, which contains partly of code to interface with Sage and partly > of speed extensions for mpmath. In my own development repository, I've > put this code in sage.libs.mpmath. Is this the right thing to do, or > should I place it elsewhere in Sage or in mpmath itself? sage.libs.mpmath makes a lot of sense to me. > I think placing all Cython code in sage.* for now is easier because it > depends on and interfaces with Sage libraries (such as its GMP/MPIR > wrappers) and I can build it easily with sage -br. In the future, when > things stabilize, I should be able to separate out the > Sage-independent Cython code (which really only depends on GMP/MPIR > and the Python API) and move it to mpmath itself. > > The namespace sage.libs.mpmath.all currently provides all mpmath > functions as well as wrapper functions for internal Sage use, and > importing from here instead of directly from mpmath will monkey patch > some fast Cythonized functions into mpmath. This monkey patching is > not so fragile as it possibly sounds, but it's not necessarily > sustainable, so I might have to change it to make mpmath patch itself > on startup by importing say > sage.libs.mpmath._cythonized_backend_library, which shouldn't be a > problem. That sounds reasonable to me. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-devel] Re: bug in plot3d?
I looked into this, and I found that the mesh=True property is supposed to be passed via RenderParams to jmol_repr(). However, this isn't happening. Graphics3d.export_jmol (which is invoked by show()) has a keyword parameter for mesh, but it is never referenced in the body of the function. I think that setting simply render_params.mesh = mesh after render_params is initialized should do the trick. Does anybody know where/how this functionality was broken? (Also it looks like dots may be broken as well?) I will open a ticket tomorrow and submit a patch. -- Bill On Sat, May 30, 2009 at 5:10 PM, Alex Ghitza wrote: > I have tried this in 3.4.1, 3.4.2, and 4.0.rc2, without success: > > plot3d(lambda x,y: exp(x+y*I).real(), (-2, 2.4), (-3, 3), mesh=True) > > I get a nice looking surface (see attached jpeg file), but no mesh > lines. Is anybody else experiencing this? > > > Best, > Alex > > > -- > Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne > -- Australia -- http://www.ms.unimelb.edu.au/~aghitza/ > > > > --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-devel] Re: sage blog aggregation : planet.sagemath.org
Hey Minh, Thanks for working on planet sage! I think having it look better and including more blogs could be very beneficial for Sage. -Marshall On May 31, 5:38 pm, Minh Nguyen wrote: > Hi Harald, > > On Sun, May 31, 2009 at 8:00 AM, Harald Schilly > > wrote: > > > > > btw, i started a blog too, just to be also listed there :) > > will contain random thoughts and website/stats updates ... > >http://harald-schilly.blogspot.com/search/label/sage > > I've added your blog to Planet Sage. Please tell me if it doesn't > properly aggregate your posts. > > > h > > -- > Regards > Minh Van Nguyen --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-devel] Sage 4.0.1.alpha0 released!
Hello, Sage 4.0.1.alpha has been released. This should hopefully take care of the rest of the fallout from the switch to Pynac. The tarball can be found at http://sage.math.washington.edu/home/mhansen/sage-4.0.1.alpha0.tar and a copy of it to be used for upgrading can be found at http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0 Merged in 4.0.1.alpha0: #133: David Loeffler: Galois action [Reviewed by Alex Ghitza] #4504: Minh Van Nguyen: document Sage's .spkg extension better [Reviewed by Georg S. Weber] #4575: Jason Grout, Wilfried Huss: Option to show nested lists as html tables [Reviewed by Jason Grout, William Stein] #4958: Martin Albrecht: MPolynomialIdeal.reduced_basis?? returns decorator source [Reviewed by Alex Ghitza] #5114: Alex Ghitza: something wrong in the initializer for elements of QuaternionAlgebra [Reviewed by David Loeffler] #5214: David Joyner: Matrix Group sometimes assumes base ring is a field [Reviewed by Alex Ghitza] #5430: Kiran Kedlaya: Coleman integrals of differential forms from different rings [Reviewed by Robert Bradshaw] #5716: John Palmieri: lifting a subdivided matrix should preserve the subdivision, but doesn't [Reviewed by Jason Grout] #5840: Dan Drake: update SageTeX spkg to version 2.1.1 [Reviewed by Jason Grout] #5896: Rob Beezer: Limit number of worksheet snapshots [Reviewed by Kiran Kedlaya] #5916: Wilfried Huss: show mathematica expression using jsmath [Reviewed by Jason Grout] #5936: Emily Kirkman: result of graph query should be iterable -- make more pythonic [Reviewed by Robert Miller] #5948: Robert Bradshaw: Coleman integrals of df*f [Reviewed by Jen Balakrishnan] #5967: Nicolas Thiery: ElementWrapper: A class for wrapping Sage or Python objects as Sage elements [Reviewed by Robert Bradshaw, Anne Schilling] #5979: Nicolas Thiery: Parent: fixes broken (implicit) invariant between ._element_constructor and self._element_init_pass_parent [Reviewed by Robert Bradshaw] #5990: John Palmieri: developer's guide: more on .spkg files [Reviewed by David Joyner] #5995: David Loeffler: Membership testing for modular forms subspaces is hopeless [Reviewed by John Cremona] #6000: Nicolas Thiery: Sets enumerated by exploring a search space with a (lazy) tree or graph structure [Reviewed by Rob Beezer] #6016: Soroosh Yazdani: factoring rational functions [Reviewed by Minh Van Nguyen, John Cremona] #6075: John Palmieri: change Sage Group to Sage Development Team [Reviewed by David Joyner] #6109: John Cremona: Bring documentation for QQbar up to 100% and add to reference manual [Reviewed by David Loeffler] #6120: Martin Albrecht: P(0).total_degree() should return -1 for multivariate polynomial rings [Reviewed by Alex Ghitza] #6122: John Palmieri: strip 'nodetex' from docstrings [Reviewed by Rob Beezer] #6141: John Palmieri: simplicial complexes: change 'facets' from an attribute to a method [Reviewed by David Perkinson] #6157: Jason Grout: enhance implicit_plot3d documentation [Reviewed by Alex Ghitza] #6158: Mike Hansen: upgrading sphinx problem: any upgrade to sage-4.0 ends this way [Reviewed by William Stein] #6166: John Palmieri: strip 'nodetex' from the reference manual [Reviewed by Mike Hansen] #6167: Joanna Gaski: add the very useful sloane sequence A08 (ways of making change for n cents) [Reviewed by William Stein] #6171: John Palmieri: make 'prec' work with sqrt more of the time [Reviewed by Mike Hansen] #6172: William Stein: add support for building FAT binaries to mpir [Reviewed by Mike Hansen] #6173: William Stein: atlas -- change from SAGE_SIMD_MODE to SAGE_FAT_BINARY [Reviewed by Mike Hansen] #6174: William Stein: Add to README.txt note about the SAGE_FAT_BINARY build flag; also update sage-location to use SAGE_FAT_BINARY [Reviewed by Mike Hansen] --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-devel] Re: Sage 4.0.1.alpha0 released!
On Jun 1, 9:32 am, Mike Hansen wrote: > Hello, > > Sage 4.0.1.alpha has been released. This should hopefully take care of > the rest of the fallout from the switch to Pynac. The tarball can be > found at > > http://sage.math.washington.edu/home/mhansen/sage-4.0.1.alpha0.tar > > and a copy of it to be used for upgrading can be found at > > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sag... Upgrading from 4.0.rc2 isn't working for me -- I get this message: http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/atlas-3.8.3.p2.spkg --> atlas-3.8.3.p2.spkg [..] http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/examples-4.0.1.alpha0.spkg --> examples-4.0.1.alpha0.spkg [..] http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/extcode-4.0.1.alpha0.spkg --> extcode-4.0.1.alpha0.spkg [..] http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/flint-1.2.4.p2.spkg --> flint-1.2.4.p2.spkg [..] Deleting old spkg flint-1.2.4.p2.spkg http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/mpir-1.2.p0.spkg --> mpir-1.2.p0.spkg [..] http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/sage-4.0.1.alpha0.spkg --> sage-4.0.1.alpha0.spkg [..] http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/sage_scripts-4.0.1.alpha0.spkg --> sage_scripts-4.0.1.alpha0.spkg [..] http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/install --> install [.] http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/deps --> deps [..] http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/newest_version --> newest_version [.] http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/README.txt --> README.txt [.] Failed to download 'http://sage.math.washington.edu/home/mhansen/ release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/README.txt' Abort. --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-devel] Re: Sage 4.0.1.alpha0 released!
John H Palmieri wrote: > On Jun 1, 9:32 am, Mike Hansen wrote: >> Hello, >> >> Sage 4.0.1.alpha has been released. This should hopefully take care of >> the rest of the fallout from the switch to Pynac. The tarball can be >> found at >> >> http://sage.math.washington.edu/home/mhansen/sage-4.0.1.alpha0.tar >> >> and a copy of it to be used for upgrading can be found at >> >> http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sag... > > Upgrading from 4.0.rc2 isn't working for me -- I get this message: > > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/atlas-3.8.3.p2.spkg > --> atlas-3.8.3.p2.spkg > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/examples-4.0.1.alpha0.spkg > --> examples-4.0.1.alpha0.spkg > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/extcode-4.0.1.alpha0.spkg > --> extcode-4.0.1.alpha0.spkg > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/flint-1.2.4.p2.spkg > --> flint-1.2.4.p2.spkg > [..] > Deleting old spkg flint-1.2.4.p2.spkg > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/mpir-1.2.p0.spkg > --> mpir-1.2.p0.spkg > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/sage-4.0.1.alpha0.spkg > --> sage-4.0.1.alpha0.spkg > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/sage_scripts-4.0.1.alpha0.spkg > --> sage_scripts-4.0.1.alpha0.spkg > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/install > --> install > [.] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/deps > --> deps > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/newest_version > --> newest_version > [.] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/README.txt > --> README.txt > [.] > Failed to download 'http://sage.math.washington.edu/home/mhansen/ > release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/README.txt' > Abort. > I reported this on IRC Freenode #sage-devel some hours ago. Jaap > > > --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-devel] Re: Sage 4.0.1.alpha0 released!
Built from scratch ok + all tests passed on 32-bit Ubuntu and on 64-bit ubuntu. John 2009/6/1 Mike Hansen : > > Hello, > > Sage 4.0.1.alpha has been released. This should hopefully take care of > the rest of the fallout from the switch to Pynac. The tarball can be > found at > > http://sage.math.washington.edu/home/mhansen/sage-4.0.1.alpha0.tar > > and a copy of it to be used for upgrading can be found at > > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0 > > Merged in 4.0.1.alpha0: > > #133: David Loeffler: Galois action [Reviewed by Alex Ghitza] > #4504: Minh Van Nguyen: document Sage's .spkg extension better > [Reviewed by Georg S. Weber] > #4575: Jason Grout, Wilfried Huss: Option to show nested lists as html > tables [Reviewed by Jason Grout, William Stein] > #4958: Martin Albrecht: MPolynomialIdeal.reduced_basis?? returns > decorator source [Reviewed by Alex Ghitza] > #5114: Alex Ghitza: something wrong in the initializer for elements of > QuaternionAlgebra [Reviewed by David Loeffler] > #5214: David Joyner: Matrix Group sometimes assumes base ring is a > field [Reviewed by Alex Ghitza] > #5430: Kiran Kedlaya: Coleman integrals of differential forms from > different rings [Reviewed by Robert Bradshaw] > #5716: John Palmieri: lifting a subdivided matrix should preserve the > subdivision, but doesn't [Reviewed by Jason Grout] > #5840: Dan Drake: update SageTeX spkg to version 2.1.1 [Reviewed by Jason > Grout] > #5896: Rob Beezer: Limit number of worksheet snapshots [Reviewed by > Kiran Kedlaya] > #5916: Wilfried Huss: show mathematica expression using jsmath > [Reviewed by Jason Grout] > #5936: Emily Kirkman: result of graph query should be iterable -- make > more pythonic [Reviewed by Robert Miller] > #5948: Robert Bradshaw: Coleman integrals of df*f [Reviewed by Jen > Balakrishnan] > #5967: Nicolas Thiery: ElementWrapper: A class for wrapping Sage or > Python objects as Sage elements [Reviewed by Robert Bradshaw, Anne > Schilling] > #5979: Nicolas Thiery: Parent: fixes broken (implicit) invariant > between ._element_constructor and self._element_init_pass_parent > [Reviewed by Robert Bradshaw] > #5990: John Palmieri: developer's guide: more on .spkg files [Reviewed > by David Joyner] > #5995: David Loeffler: Membership testing for modular forms subspaces > is hopeless [Reviewed by John Cremona] > #6000: Nicolas Thiery: Sets enumerated by exploring a search space > with a (lazy) tree or graph structure [Reviewed by Rob Beezer] > #6016: Soroosh Yazdani: factoring rational functions [Reviewed by Minh > Van Nguyen, John Cremona] > #6075: John Palmieri: change Sage Group to Sage Development Team > [Reviewed by David Joyner] > #6109: John Cremona: Bring documentation for QQbar up to 100% and add > to reference manual [Reviewed by David Loeffler] > #6120: Martin Albrecht: P(0).total_degree() should return -1 for > multivariate polynomial rings [Reviewed by Alex Ghitza] > #6122: John Palmieri: strip 'nodetex' from docstrings [Reviewed by Rob Beezer] > #6141: John Palmieri: simplicial complexes: change 'facets' from an > attribute to a method [Reviewed by David Perkinson] > #6157: Jason Grout: enhance implicit_plot3d documentation [Reviewed by > Alex Ghitza] > #6158: Mike Hansen: upgrading sphinx problem: any upgrade to sage-4.0 > ends this way [Reviewed by William Stein] > #6166: John Palmieri: strip 'nodetex' from the reference manual > [Reviewed by Mike Hansen] > #6167: Joanna Gaski: add the very useful sloane sequence A08 (ways > of making change for n cents) [Reviewed by William Stein] > #6171: John Palmieri: make 'prec' work with sqrt more of the time > [Reviewed by Mike Hansen] > #6172: William Stein: add support for building FAT binaries to mpir > [Reviewed by Mike Hansen] > #6173: William Stein: atlas -- change from SAGE_SIMD_MODE to > SAGE_FAT_BINARY [Reviewed by Mike Hansen] > #6174: William Stein: Add to README.txt note about the SAGE_FAT_BINARY > build flag; also update sage-location to use SAGE_FAT_BINARY [Reviewed > by Mike Hansen] > > --Mike > > > > --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-devel] Re: Sage 4.0.1.alpha0 released!
On Mon, Jun 1, 2009 at 1:52 PM, John H Palmieri wrote: > > On Jun 1, 9:32 am, Mike Hansen wrote: >> Hello, >> >> Sage 4.0.1.alpha has been released. This should hopefully take care of >> the rest of the fallout from the switch to Pynac. The tarball can be >> found at >> >> http://sage.math.washington.edu/home/mhansen/sage-4.0.1.alpha0.tar >> >> and a copy of it to be used for upgrading can be found at >> >> http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sag... > > Upgrading from 4.0.rc2 isn't working for me -- I get this message: > > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/atlas-3.8.3.p2.spkg > --> atlas-3.8.3.p2.spkg > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/examples-4.0.1.alpha0.spkg > --> examples-4.0.1.alpha0.spkg > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/extcode-4.0.1.alpha0.spkg > --> extcode-4.0.1.alpha0.spkg > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/flint-1.2.4.p2.spkg > --> flint-1.2.4.p2.spkg > [..] > Deleting old spkg flint-1.2.4.p2.spkg > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/mpir-1.2.p0.spkg > --> mpir-1.2.p0.spkg > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/sage-4.0.1.alpha0.spkg > --> sage-4.0.1.alpha0.spkg > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/sage_scripts-4.0.1.alpha0.spkg > --> sage_scripts-4.0.1.alpha0.spkg > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/install > --> install > [.] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/deps > --> deps > [..] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/newest_version > --> newest_version > [.] > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/README.txt > --> README.txt > [.] > Failed to download 'http://sage.math.washington.edu/home/mhansen/ > release/4.0.1/alpha0/sage-4.0.1.alpha0/spkg/standard/README.txt' > Abort. Mike wisely removed the README.txt from spkg/standard/, since it was just an out of date version of the README in SAGE_ROOT. I've just put back a simple 1-linear README.txt in spkg/standard/ (in mike's account). Can you try the upgrade again? William -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-devel] Sage 4.0 random doctest failures (7 failures in 120+ runs of the test suite)
I've run about 120 times with a brand new sage-4.0 (built from scratch) the doctest command: sage -tp 3 devel/sage (about 13 minutes each on a quad core q9550). Among those I've got 6 doctest failures and 1 timeout: = - 3 times a doctest failure in devel/sage/sage/graphs/graph_plot.py: sage -t devel/sage/sage/graphs/graph_plot.py libpng error: Image width or height is zero in IHDR ** File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/devel/sage-main/sage/graphs/graph_plot.py", line 708: sage: D.show(edge_colors={(0,1,0):[(0,1,None),(1,2,None)],(0,0,0):[(2,3,None)]}) Exception raised: Traceback (most recent call last): File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/bin/ncadoctest.py", line 1231, in run_one_test self.run_one_example(test, example, filename, compileflags) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/bin/sagedoctest.py", line 38, in run_one_example OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/bin/ncadoctest.py", line 1172, in run_one_example compileflags, 1) in test.globs File "", line 1, in D.show(edge_colors={(Integer(0),Integer(1),Integer(0)):[(Integer(0),Integer(1),None),(Integer(1),Integer(2),None)],(Integer(0),Integer(0),Integer(0)):[(Integer(2),Integer(3),None)]})###line 708: sage: D.show(edge_colors={(0,1,0):[(0,1,None),(1,2,None)],(0,0,0):[(2,3,None)]}) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/sage/graphs/graph.py", line 6482, in show self.plot(**plot_kwds).show(**kwds) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/sage/plot/plot.py", line 1278, in show hgridlinesstyle=hgridlinesstyle) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/sage/plot/plot.py", line 1610, in save canvas.print_figure(filename, dpi=dpi) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/matplotlib/backend_bases.py", line 1453, in print_figure **kwargs) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/matplotlib/backends/backend_agg.py", line 334, in print_png filename_or_obj, self.figure.dpi) RuntimeError: Error building image ** 1 items had failures: 1 of 74 in __main__.example_7 ***Test Failed*** 1 failures. For whitespace errors, see the file /home/vm/sage/sage-4.0-core2-base-x86_64-Linux/tmp/.doctest_graph_plot.py [6.5 s] = - 2 times a doctest failure in devel/sage/sage/graphs/graph_bundle.py: sage -t devel/sage/sage/graphs/graph_bundle.py libpng error: Image width or height is zero in IHDR ** File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/devel/sage-main/sage/graphs/graph_bundle.py", line 163: sage: B.plot() Exception raised: Traceback (most recent call last): File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/bin/ncadoctest.py", line 1231, in run_one_test self.run_one_example(test, example, filename, compileflags) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/bin/sagedoctest.py", line 38, in run_one_example OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/bin/ncadoctest.py", line 1172, in run_one_example compileflags, 1) in test.globs File "", line 1, in B.plot()###line 163: sage: B.plot() File "sage_object.pyx", line 98, in sage.structure.sage_object.SageObject.__repr__ (sage/structure/sage_object.c:1321) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/sage/plot/plot.py", line 861, in _repr_ self.show() File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/sage/plot/plot.py", line 1278, in show hgridlinesstyle=hgridlinesstyle) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/sage/plot/plot.py", line 1610, in save canvas.print_figure(filename, dpi=dpi) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/matplotlib/backend_bases.py", line 1453, in print_figure **kwargs) File "/home/vm/sage/sage-4.0-core2-base-x86_64-Linux/local/lib/python/site-packages/matplotlib/backends/backend_agg.py", line 334, in print_png filename_or_obj, self.figure.dpi) RuntimeError: Error building image
[sage-devel] Tutorial topics for SciPy'09 Conference
Hi all, The time for the Scipy'09 conference is rapidly approaching, and we would like to both announce the plan for tutorials and solicit feedback from everyone on topics of interest. Broadly speaking, the plan is something along the lines of what we had last year: one continuous 2-day tutorial aimed at introductory users, starting from the very basics, and in parallel a set of 'advanced' tutorials, consisting of a series of 2-hour sessions on specific topics. We will request that the presenters for the advanced tutorials keep the 'tutorial' word very much in mind, so that the sessions really contain hands-on learning work and not simply a 2-hour long slide presentation. We will thus require that all the tutorials will be based on tools that the attendees can install at least 2 weeks in advance on all platforms (no "I released it last night" software). With that in mind, we'd like feedback from all of you on possible topics for the advanced tutorials. We have space for 8 slots total, and here are in no particular order some possible topics. At this point there are no guarantees yet that we can get presentations for these, but we'd like to establish a first list of preferred topics to try and secure the presentations as soon as possible. This is simply a list of candiate topics that various people have informally suggested so far: - Mayavi/TVTK - Advanced topics in matplotlib - Statistics with Scipy - The TimeSeries scikit - Designing scientific interfaces with Traits - Advanced numpy - Sparse Linear Algebra with Scipy - Structured and record arrays in numpy - Cython - Sage - general tutorial - Sage - specific topics, suggestions welcome - Using GPUs with PyCUDA - Testing strategies for scientific codes - Parallel processing and mpi4py - Graph theory with Networkx - Design patterns for efficient iterator-based scientific codes. - Symbolic computing with sympy We'd like to hear from any ideas on other possible topics of interest, and we'll then run a doodle poll to gather quantitative feedback with the final list of candidates. Many thanks, f --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-devel] Re: Tutorial topics for SciPy'09 Conference
On Mon, Jun 1, 2009 at 10:22 PM, Fernando Perez wrote: > Hi all, > > The time for the Scipy'09 conference is rapidly approaching, and we > would like to both announce the plan for tutorials and solicit > feedback from everyone on topics of interest. I hope the above isn't considered too off-topic here: I'm asking for possible Sage tutorials and obviously this group would be the most likely to provide presenters :) Feel free to provide feedback to me off-list to keep the list traffic on topic to sage-dev. Cheers, f --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-devel] Re: Sage 4.0.1.alpha0 released!
I got one failure on an intel mac (10.5): sage -t "devel/sage/sage/misc/html.py" ** File "/Users/mh/sagestuff/wsage3/devel/sage/sage/misc/html.py", line 157: sage: html.table([(i, j, i == j) for i in [0..1] for j in [0..1]]) Expected: 0 0 True 0 1 False 1 0 False 1 1 True Got: 0 0 \mbox{\rm True} 0 1 \mbox{\rm False} 1 0 \mbox{\rm False} 1 1 \mbox{\rm True} -Marshall On Jun 1, 11:32 am, Mike Hansen wrote: > Hello, > > Sage 4.0.1.alpha has been released. This should hopefully take care of > the rest of the fallout from the switch to Pynac. The tarball can be > found at > > http://sage.math.washington.edu/home/mhansen/sage-4.0.1.alpha0.tar > > and a copy of it to be used for upgrading can be found at > > http://sage.math.washington.edu/home/mhansen/release/4.0.1/alpha0/sag... > > Merged in 4.0.1.alpha0: > > #133: David Loeffler: Galois action [Reviewed by Alex Ghitza] > #4504: Minh Van Nguyen: document Sage's .spkg extension better > [Reviewed by Georg S. Weber] > #4575: Jason Grout, Wilfried Huss: Option to show nested lists as html > tables [Reviewed by Jason Grout, William Stein] > #4958: Martin Albrecht: MPolynomialIdeal.reduced_basis?? returns > decorator source [Reviewed by Alex Ghitza] > #5114: Alex Ghitza: something wrong in the initializer for elements of > QuaternionAlgebra [Reviewed by David Loeffler] > #5214: David Joyner: Matrix Group sometimes assumes base ring is a > field [Reviewed by Alex Ghitza] > #5430: Kiran Kedlaya: Coleman integrals of differential forms from > different rings [Reviewed by Robert Bradshaw] > #5716: John Palmieri: lifting a subdivided matrix should preserve the > subdivision, but doesn't [Reviewed by Jason Grout] > #5840: Dan Drake: update SageTeX spkg to version 2.1.1 [Reviewed by Jason > Grout] > #5896: Rob Beezer: Limit number of worksheet snapshots [Reviewed by > Kiran Kedlaya] > #5916: Wilfried Huss: show mathematica expression using jsmath > [Reviewed by Jason Grout] > #5936: Emily Kirkman: result of graph query should be iterable -- make > more pythonic [Reviewed by Robert Miller] > #5948: Robert Bradshaw: Coleman integrals of df*f [Reviewed by Jen > Balakrishnan] > #5967: Nicolas Thiery: ElementWrapper: A class for wrapping Sage or > Python objects as Sage elements [Reviewed by Robert Bradshaw, Anne > Schilling] > #5979: Nicolas Thiery: Parent: fixes broken (implicit) invariant > between ._element_constructor and self._element_init_pass_parent > [Reviewed by Robert Bradshaw] > #5990: John Palmieri: developer's guide: more on .spkg files [Reviewed > by David Joyner] > #5995: David Loeffler: Membership testing for modular forms subspaces > is hopeless [Reviewed by John Cremona] > #6000: Nicolas Thiery: Sets enumerated by exploring a search space > with a (lazy) tree or graph structure [Reviewed by Rob Beezer] > #6016: Soroosh Yazdani: factoring rational functions [Reviewed by Minh > Van Nguyen, John Cremona] > #6075: John Palmieri: change Sage Group to Sage Development Team > [Reviewed by David Joyner] > #6109: John Cremona: Bring documentation for QQbar up to 100% and add > to reference manual [Reviewed by David Loeffler] > #6120: Martin Albrecht: P(0).total_degree() should return -1 for > multivariate polynomial rings [Reviewed by Alex Ghitza] > #6122: John Palmieri: strip 'nodetex' from docstrings [Reviewed by Rob Beezer] > #6141: John Palmieri: simplicial complexes: change 'facets' from an > attribute to a method [Reviewed by David Perkinson] > #6157: Jason Grout: enhance implicit_plot3d documentation [Reviewed by > Alex Ghitza] > #6158: Mike Hansen: upgrading sphinx problem: any upgrade to sage-4.0 > ends this way [Reviewed by William Stein] > #6166: John Palmieri: strip 'nodetex' from the reference manual > [Reviewed by Mike Hansen] > #6167: Joanna Gaski: add the very useful sloane sequence A08 (ways > of making change for n cents) [Reviewed by William Stein] > #6171: John Palmieri: make 'prec' work with sqrt more of the time > [Reviewed by Mike Hansen] > #6172: William Stein: add support for building FAT binaries to mpir > [Reviewed by Mike Hansen] > #6173: William Stein: atlas -- change from SAGE_SIMD_MODE to > SAGE_FAT_BINARY [Reviewed by Mike Hansen] > #6174: William Stein: Add to README.txt note about the SAGE_FAT_BINARY > build flag; also update sage-location to use SAGE_FAT_BINARY [Reviewed > by Mike Hansen] > > --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www
[sage-devel] include a simplejson spkg?
The patches at #5564 need a json encoder, and there's a ticket to include simplejson at #1510. I'd like to get this spkg in, but there are some comments on that ticket about pickling. I don't know enough of the details, so I thought I would ask if: * we need to patch the simplejson source to support serialization of Sage objects, or if * we can use simplejson without alteration. As it stands, this spkg is holding up some the patches at #5564 which improve UTF-8 handling in the notebook, so it would be very helpful to have it included as a standard spkg. Note that Python 2.6 includes a JSON module by default, so we might have to deal with these issues sooner or later anyway. Dan -- --- Dan Drake - KAIST Department of Mathematical Sciences --- http://mathsci.kaist.ac.kr/~drake signature.asc Description: Digital signature