Hi, I just landed in Albuquerque, NM (free wifi, excellent power outlets, etc., at their airport!).
Anyway, I get similar doctest failures on most architecture. As Michael says, if anybody wants to help on this, report the failure as a trac ticket, assign it to sage-2.8.7, and fix it. Then hopefully I can just apply a bunch of patches and be ready to go :-). Please don't add new unrelated patches to 2.8.7. By the way, the failures on PPC os x are an exception -- though the build works, there are way *more* failures there, e.g., ********************************************************************** File "set.py", line 1196: sage: sqrt(RR(2)) in X # since sqrt(RR(2)) is currently approximated Exception raised: Traceback (most recent call last): File "/Users/was/sage-2.8.7-alpha0/local/lib/python2.5/doctest.py", line 1212, in __run compileflags, 1) in test.globs File "<doctest __main__.example_63[4]>", line 1, in <module> sqrt(RR(Integer(2))) in X # since sqrt(RR(2)) is currently approximated###line 1196: sage: sqrt(RR(2)) in X # since sqrt(RR(2)) is currently approximated File "/Users/was/sage-2.8.7-alpha0/local/lib/python2.5/site-packages/sage/sets/set.py", line 1205, in __contains__ return (x in self.__X and x not in self.__Y) \ File "/Users/was/sage-2.8.7-alpha0/local/lib/python2.5/site-packages/sage/sets/primes.py", line 56, in __contains__ if not x in ZZ: File "parent.pyx", line 121, in parent.Parent.__contains__ File "integer_ring.pyx", line 242, in integer_ring.IntegerRing_class.__call__ File "integer.pyx", line 319, in integer.Integer.__init__ File "real_mpfr.pyx", line 1001, in real_mpfr.RealNumber._integer_ ValueError: Attempt to coerce non-integral RealNumber to Integer ********************************************************************** On 10/13/07, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Oct 13, 10:10 am, "William Stein" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I've posted the first alpha release of sage-2.8.7 here: > > > > http://sage.math.washington.edu/tmp/ > > > > It is probably somewhat broken. Building it, contributing > > fixes, etc., would be greatly appreciated. > > Hello, > > building it went without a hitch, but there is trouble with the > doctests: > > > sage -t const.tex > sage -t devel/sage-main/sage/matrix/matrix_integer_dense.pyx > sage -t devel/sage-main/sage/schemes/elliptic_curves/ > lseries_ell.py > sage -t devel/sage-main/sage/schemes/elliptic_curves/ > ec_database.py > sage -t devel/sage-main/sage/graphs/graph.py > sage -t devel/sage-main/sage/sets/set.py > sage -t devel/sage-main/sage/dsage/tests/testdoc.py > sage -t devel/sage-main/sage/combinat/sloane_functions.py > sage -t devel/sage-main/sage/rings/morphism.pyx > sage -t devel/sage-main/sage/rings/polynomial/real_roots.pyx > sage -t devel/sage-main/sage/rings/integer_mod.pyx > sage -t devel/sage-main/sage/rings/residue_field.pyx > > > There are issues with coercion and also some fallout from the l-series > split up as well as some small ntl issues with the occasional > precision issue thrown in. If you fix any of the following please open > a trac ticket and attach a patch. Target the ticket for 2.8.7. > > Cheers, > > Michael > > In Detail: > > sage -t const.tex > ********************************************************************** > File "const.py", line 749: > sage: vals = E.Lseries_values_along_line(1-I, 1+10*I, 100) # > critical line > Exception raised: > Traceback (most recent call last): > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > doctest.py", line 1212, in __run > compileflags, 1) in test.globs > File "<doctest __main__.example_22[1]>", line 1, in <module> > vals = E.Lseries_values_along_line(Integer(1)-I, > Integer(1)+Integer(10)*I, Integer(100)) # critical line###line 749: > sage: vals = E.Lseries_values_along_line(1-I, 1+10*I, 100) # > critical line > AttributeError: 'EllipticCurve_rational_field' object has no > attribute 'Lseries_values_along_line' > ********************************************************************** > File "const.py", line 750: > sage: L = [(z[1].real(), z[1].imag()) for z in vals] > Exception raised: > Traceback (most recent call last): > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > doctest.py", line 1212, in __run > compileflags, 1) in test.globs > File "<doctest __main__.example_22[2]>", line 1, in <module> > L = [(z[Integer(1)].real(), z[Integer(1)].imag()) for z in > vals]###line 750: > sage: L = [(z[1].real(), z[1].imag()) for z in vals] > NameError: name 'vals' is not defined > ********************************************************************** > File "const.py", line 751: > sage: p = line(L, rgbcolor=(3/4,1/2,5/8)) > Exception raised: > Traceback (most recent call last): > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > doctest.py", line 1212, in __run > compileflags, 1) in test.globs > File "<doctest __main__.example_22[3]>", line 1, in <module> > p = line(L, rgbcolor=(Integer(3)/Integer(4),Integer(1)/ > Integer(2),Integer(5)/Integer(8)))###line 751: > sage: p = line(L, rgbcolor=(3/4,1/2,5/8)) > NameError: name 'L' is not defined > ********************************************************************** > > sage -t devel/sage-main/sage/matrix/matrix_integer_dense.pyx > ********************************************************************** > File "matrix_integer_dense.pyx", line 1520: > sage: A.lll() > Exception raised: > Traceback (most recent call last): > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > doctest.py", line 1212, in __run > compileflags, 1) in test.globs > File "<doctest __main__.example_29[1]>", line 1, in <module> > A.lll()###line 1520: > sage: A.lll() > File "matrix_integer_dense.pyx", line 1550, in > matrix_integer_dense.Matrix_integer_dense.lll > det = ZZ(det2.sqrt_approx()) > File "integer_ring.pyx", line 242, in > integer_ring.IntegerRing_class.__call__ > File "integer.pyx", line 319, in integer.Integer.__init__ > File "real_mpfr.pyx", line 1001, in > real_mpfr.RealNumber._integer_ > ValueError: Attempt to coerce non-integral RealNumber to Integer > ********************************************************************** > > sage -t devel/sage-main/sage/schemes/elliptic_curves/lseries_ell.py > ********************************************************************** > File "lseries_ell.py", line 59: > sage: L.taylor_series(series_prec=3) > Expected: > -1.28158145691931e-23 + (7.26268290635587e-24)*z + > 0.759316500288427*z^2 + O(z^3) > Got: > -2.69129566562797e-23 + (1.52514901968783e-23)*z + > 0.759316500288427*z^2 + O(z^3) > ********************************************************************** > > > sage -t devel/sage-main/sage/schemes/elliptic_curves/ec_database.py > ********************************************************************** > File "ec_database.py", line 21: > sage: elliptic_curves.rank(n=5, rank=3, tors=2, labels=True) > Expected: > ['59450i1', '59450i2', '61376c1', '61376c2', '65481c1'] > Got: > [] > ********************************************************************** > File "ec_database.py", line 23: > sage: elliptic_curves.rank(n=5, rank=0, tors=5, labels=True) > Expected: > ['11a1', '11a3', '38b1', '50b1', '50b2'] > Got: > [] > ********************************************************************** > File "ec_database.py", line 25: > sage: elliptic_curves.rank(n=5, rank=1, tors=7, labels=True) > Expected: > ['574i1', '4730k1', '6378c1', '10766h1', '15918w1'] > Got: > [] > ********************************************************************** > > sage -t devel/sage-main/sage/graphs/graph.py > ********************************************************************** > File "graph.py", line 2116: > sage: h.edges() > Expected: > [((2, 3, None), (3, 4, None), None), > ((1, 2, None), (2, 4, None), None), > ((1, 2, None), (2, 3, None), None), > ((1, 3, None), (3, 4, None), None)] > Got: > [((1, 3, None), (3, 4, None), None), ((2, 3, None), (3, 4, None), > None), ((1, 2, None), (2, 4, None), None), ((1, 2, None), (2, 3, > None), None)] > ********************************************************************** > > sage -t devel/sage-main/sage/sets/set.py > ********************************************************************** > File "set.py", line 631: > sage: W.difference(Z) > Exception raised: > Traceback (most recent call last): > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > doctest.py", line 1212, in __run > compileflags, 1) in test.globs > File "<doctest __main__.example_31[5]>", line 1, in <module> > W.difference(Z)###line 631: > sage: W.difference(Z) > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > site-packages/sage/sets/set.py", line 635, in difference > return Set([x for x in self if x not in other]) > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > site-packages/sage/sets/set.py", line 247, in __contains__ > return x in self.__object > File "parent.pyx", line 121, in parent.Parent.__contains__ > File "integer_ring.pyx", line 242, in > integer_ring.IntegerRing_class.__call__ > File "integer.pyx", line 319, in integer.Integer.__init__ > File "real_mpfr.pyx", line 1001, in > real_mpfr.RealNumber._integer_ > ValueError: Attempt to coerce non-integral RealNumber to Integer > ********************************************************************** > > sage -t devel/sage-main/sage/dsage/tests/testdoc.py > ********************************************************************** > File "testdoc.py", line 12: > age: d = DSage(port=port, ssl=False) > Exception raised: > Traceback (most recent call last): > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > doctest.py", line 1212, in __run > compileflags, 1) in test.globs > File "<doctest __main__.example_0[5]>", line 1, in <module> > d = DSage(port=port, ssl=False)###line 12: > age: d = DSage(port=port, ssl=False) > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > site-packages/sage/dsage/all.py", line 52, in DSage > ssl=ssl) > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > site-packages/sage/dsage/interface/dsage_interface.py", > line 392, in __init__ > self.pubkey_str = > keys.getPublicKeyString(filename=self.pubkey_file) > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > site-packages/twisted/conch/ssh/keys.py", line 48, in > getPublicKeyString > lines = open(filename).readlines() > IOError: [Errno 2] No such file or directory: '/home/ > mabshoff/.sage/dsage/dsage_key.pub' > ********************************************************************** > > > sage -t devel/sage-main/sage/combinat/sloane_functions.py > ********************************************************************** > File "sloane_functions.py", line 510: > sage: a(20.0) > Expected: > Traceback (most recent call last): > ... > TypeError: unable to coerce element to an integer > Got: > 232792560 > ********************************************************************** > File "sloane_functions.py", line 654: > sage: a(4.0) > Expected: > Traceback (most recent call last): > ... > TypeError: unable to coerce element to an integer > Got: > 1 > ********************************************************************** > File "sloane_functions.py", line 839: > sage: a(0.0) > Expected: > Traceback (most recent call last): > ... > TypeError: unable to coerce element to an integer > Got: > 0 > ********************************************************************** > File "sloane_functions.py", line 880: > sage: a(0.0) > Expected: > Traceback (most recent call last): > ... > TypeError: unable to coerce element to an integer > Got: > 0 > ********************************************************************** > File "sloane_functions.py", line 2976: > sage: a(0.0) > Expected: > Traceback (most recent call last): > ... > TypeError: unable to coerce element to an integer > Got: > 0 > ********************************************************************** > > sage -t devel/sage-main/sage/rings/morphism.pyx > ********************************************************************** > File "morphism.pyx", line 312: > sage: c == loads(dumps(c)) > Expected: > True > Got: > False > ********************************************************************** > > sage -t devel/sage-main/sage/rings/polynomial/real_roots.pyx > ImportError: No module named real_roots > > sage -t devel/sage-main/sage/rings/integer_mod.pyx > ********************************************************************** > File "integer_mod.pyx", line 460: > sage: type(a.polynomial()) > Expected: > <class > 'sage.rings.polynomial.polynomial_element_generic.Polynomial_dense_mod_p'> > Got: > <type > 'sage.rings.polynomial.polynomial_modn_dense_ntl.Polynomial_dense_mod_p'> > ********************************************************************** > > sage -t devel/sage-main/sage/rings/residue_field.pyx > ********************************************************************** > File "residue_field.pyx", line 364: > sage: b*c^2 > Exception raised: > Traceback (most recent call last): > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > doctest.py", line 1212, in __run > compileflags, 1) in test.globs > File "<doctest __main__.example_15[8]>", line 1, in <module> > b*c**Integer(2)###line 364: > sage: b*c^2 > File "element.pyx", line 1463, in element.RingElement.__pow__ > File "element.pyx", line 2777, in element.generic_power_c > File "element.pyx", line 1376, in element.RingElement.__mul__ > File "coerce.pxi", line 126, in element._mul_c > RuntimeError > ********************************************************************** > File "residue_field.pyx", line 221: > sage: k.coerce_map_from(OK)(OK(a)^7) > Exception raised: > Traceback (most recent call last): > File "/tmp/Work-mabshoff/sage-2.8.7-alpha0/local/lib/python2.5/ > doctest.py", line 1212, in __run > compileflags, 1) in test.globs > File "<doctest __main__.example_9[4]>", line 1, in <module> > k.coerce_map_from(OK)(OK(a)**Integer(7))###line 221: > sage: k.coerce_map_from(OK)(OK(a)^7) > File "element.pyx", line 1463, in element.RingElement.__pow__ > File "element.pyx", line 2782, in element.generic_power_c > File "element.pyx", line 1376, in element.RingElement.__mul__ > File "coerce.pxi", line 126, in element._mul_c > RuntimeError > ********************************************************************** > > > > > William > > > > -- > > William Stein > > Associate Professor of Mathematics > > University of Washingtonhttp://wstein.org > > > > > -- 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---