Hi all, so it's that time again where I look at how "easy" it would be to update various pieces of sage to the latest upstream. The tests were performed on a linux machine running in 64 bit (amd64) based on 4.6.2.alpha2.
numpy-1.5.1: upgrade quite nicely, just two doctests broken by a new warning from numpy: sage -t -force_lib "devel/sage/sage/calculus/interpolators.pyx" ********************************************************************** File "/home/gnuke/gentoo/usr/share/sage/devel/sage/sage/calculus/interpolators.pyx", line 52: sage: m = Riemann_Map([lambda x: ps.value(x)], [lambda x: ps.derivative(x)],0) Expected nothing Got: doctest:1: ComplexWarning: Casting complex values to real discards the imaginary part ********************************************************************** File "/home/gnuke/gentoo/usr/share/sage/devel/sage/sage/calculus/interpolators.pyx", line 183: sage: m = Riemann_Map([lambda x: cs.value(x)], [lambda x: cs.derivative(x)], 0) Expected nothing Got: doctest:1: ComplexWarning: Casting complex values to real discards the imaginary part ********************************************************************** Harmless and easy to correct. ecl-11.1.1/maxima-5.23.2 Lots of numerical noise and a bit of formatting. Mostly due to ecl as downgrading maxima to 5.22.1 but keeping ecl-11.1.1 doesn't change the results of the tests. 6 files are affected in total. gfan-0.5: that's very bad. sage -t "devel/sage-main/sage/rings/polynomial/groebner_fan.py" [?1034h********************************************************************** File "/usr/share/sage/devel/sage-main/sage/rings/polynomial/groebner_fan.py", line 44: sage: g.reduced_groebner_bases() Exception raised: Traceback (most recent call last): File "/usr/bin/ncadoctest.py", line 1231, in run_one_test self.run_one_example(test, example, filename, compileflags) File "/usr/bin/sagedoctest.py", line 38, in run_one_example OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags) File "/usr/bin/ncadoctest.py", line 1172, in run_one_example compileflags, 1) in test.globs File "", line 1, in g.reduced_groebner_bases()###line 44: sage: g.reduced_groebner_bases() File "/usr/lib64/python2.6/site- packages/sage/rings/polynomial/groebner_fan.py", line 696, in reduced_groebner_bases G = self._gfan_reduced_groebner_bases() File "/usr/lib64/python2.6/site- packages/sage/rings/polynomial/groebner_fan.py", line 647, in _gfan_reduced_groebner_bases B = self.gfan() File "/usr/lib64/python2.6/site- packages/sage/rings/polynomial/groebner_fan.py", line 755, in gfan s = gfan(I, cmd, verbose=self.__verbose, format=format) File "/usr/lib64/python2.6/site-packages/sage/interfaces/gfan.py", line 67, in __call__ raise RuntimeError, err RuntimeError: This is the Gfan program for computing Groebner fans and tropical varieties. Use the command "gfan list" to view all subcommands. The command "gfan" is deprecate for computing all Groebner bases of an ideal. Please use subcommand "gfan _bases" instead. Awaiting input. -D to end. LP algorithm being used: "cddgmp". And it goes on as almost every single test in that file fails... 4 files affected in total. mpfi-1.5: a number of tests fail in interesting ways: sage -t -long "devel/sage/sage/rings/qqbar.py" ********************************************************************** File "/usr/share/sage/devel/sage/sage/rings/qqbar.py", line 3808: sage: (x-2).real_exact(RR) Expected: 0.000000000000000 Got: -0.000000000000000 ********************************************************************** File "/usr/share/sage/devel/sage/sage/rings/qqbar.py", line 3810: sage: (x-2).real_exact(RealField(53, rnd='RNDD')) Expected: 0.000000000000000 Got: -0.000000000000000 ********************************************************************** File "/usr/share/sage/devel/sage/sage/rings/qqbar.py", line 3812: sage: (x-2).real_exact(RealField(53, rnd='RNDU')) Expected: 0.000000000000000 Got: -0.000000000000000 ********************************************************************** File "/usr/share/sage/devel/sage/sage/rings/qqbar.py", line 3814: sage: (x-2).real_exact(RealField(53, rnd='RNDZ')) Expected: 0.000000000000000 Got: -0.000000000000000 ********************************************************************** 1 items had failures: 4 of 20 in __main__.example_96 ***Test Failed*** 4 failures. Nothing much to say there. But as possible consequence of these sign flipping we also have these failures: sage -t -long "devel/sage/sage/rings/real_mpfi.pyx" ********************************************************************** File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 1078: sage: b = R(1)/R(0); b Expected: [+infinity .. +infinity] Got: [-infinity .. +infinity] ********************************************************************** File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 1080: sage: loads(dumps(b)) == b Expected: True Got: False ********************************************************************** File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 1082: sage: b = R(-1)/R(0); b Expected: [-infinity .. -infinity] Got: [-infinity .. +infinity] ********************************************************************** File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 1084: sage: loads(dumps(b)) == b Expected: True Got: False ********************************************************************** File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 2360: sage: R(1)/R(0) Expected: [+infinity .. +infinity] Got: [-infinity .. +infinity] ********************************************************************** File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 3217: sage: RIF(-1, 1).min(0).endpoints() Expected: (-1.00000000000000, 0.000000000000000) Got: (-1.00000000000000, -0.000000000000000) ********************************************************************** File "/usr/share/sage/devel/sage/sage/rings/real_mpfi.pyx", line 3221: sage: RIF(-1, 1).min(0).endpoints() Expected: (-1.00000000000000, 0.000000000000000) Got: (-1.00000000000000, -0.000000000000000) ********************************************************************** 3 items had failures: 4 of 18 in __main__.example_29 1 of 8 in __main__.example_55 2 of 9 in __main__.example_80 ***Test Failed*** 7 failures. I should also mention that sage works well with mpfi-1.4 Francois -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org