0.6.4.beta2 released

2 views
Skip to first unread message

Ondrej Certik

unread,
Mar 11, 2009, 5:36:14 PM3/11/09
to sy...@googlegroups.com
Hi,

the 0.6.4.beta2 is available from:

http://code.google.com/p/sympy/downloads/list

unfortunately, only the source tarball, because google code refused to
upload the windows installer.

Only fixing the import time is holding the final release:

http://code.google.com/p/sympy/issues/detail?id=1291

Changes since beta1:

Mateusz Paprocki (24):
Poly.cancel now removes content from p/q properly (#1303)
Implemented poly_reduce (removes common content)
Fixed poly_sqf to handle content removal properly
Fixed bug in Poly._eval_subs, now properly handles zeros
poly_half_gcdex() now returns monic GCD, the same as poly_gcd()
Implemented Poly.inverse for computing multiplicative inverses in K[t]
Fixed number_of_real_roots to handle trivial input
Added simplifications of type cos(4*pi/5) = cos(pi/5) to sin() and cos()
Robustify test concerning numerical evaluation of an antiderivative
Renamed 'b' to 'base' and 'e' to 'exp' in Integer._eval_power
Implemented tools for integrating rational functions
Fixed zzx_heu_gcd() to support very large coefficients
Fixed Pow._eval_is_real for sqrt(-1 - sqrt(2)) case
Added missing import in sympy/polys/factortools.py
Robustify test in sympy/solvers/tests/test_solvers.py
Refactored roots(), use factor() by default
Removed input upper bound from zzx_heu_gcd
Use ratint() by default in integrate()
Removed poly_* functions from the global namespace (#1313)
Convert exact Reals to Integers in Poly.as_integer() (#1182)
Added test for accidentally fixed issue #953
Robustify another test in sympy/solvers/tests/test_solvers.py
Merge branch 'ratint'
Make Poly.__pow__ work with -Qnew

Ondrej Certik (4):
README: Download instructions updated
Ted added to credits
Test in test_str robustified to work on all platforms
0.6.4.beta2

Priit Laes (3):
Fix heuristic algorithm to work with more forms of asin/asinh.
Fixes bug 1308, use number symbol for E instead of exp() in simplification
Fix corner case in simplify when exp() is involved.

Andy R. Terrel (2):
More explanation for running examples in readme.
Trivial fix to all.py example script. Fixed my sloppiness with
the doc string and removed some debugging print statements.

Fabian Seoane (2):
Solve bug, abs(x**2) was simplifying always, but this is only true
raising string exceptions is deprecated

Felix Kaiser (2):
Implemented s.s.d.Sample.median
Updated Felix Kaiser's email address.

Freddie Witherden (1):
Fix a bug in the LaTeX function bracket folding code

Henrik Johansson (1):
Fixed a bug in the Matrix latex printing code

Ted Horst (1):
Fixes Basic.__call__() by calling .subs() from there


Ondrej

Neal Becker

unread,
Mar 12, 2009, 7:32:31 AM3/12/09
to sy...@googlegroups.com
Tested OK on fedora f10 x86_64.

Just one thing, what's with the warning at the start of the test?

./setup.py test
/usr/lib/python2.5/site-packages/gmpy-1.04-py2.5-linux-x86_64.egg/gmpy.py:3:
UserWarning: Module sympy was already imported from
/home/nbecker/sympy-0.6.4.beta2/sympy/__init__.pyc, but
/usr/lib/python2.5/site-packages/sympy-0.6.3_hg-py2.5.egg is being added to
sys.path
import sys, pkg_resources, imp
running test
============================= test process starts
==============================
executable: /usr/bin/python (2.5.2-final-0)

sympy/concrete/tests/test_gosper.py[2] ..
[OK]
sympy/concrete/tests/test_products.py[3] ...
[OK]
sympy/concrete/tests/test_sums_products.py[13] .........fff.
[OK]
sympy/core/tests/test_arit.py[41] .....ff..................................
[OK]
sympy/core/tests/test_assumptions.py[27] ......f....................
[OK]
sympy/core/tests/test_basic.py[39] .......................................
[OK]
sympy/core/tests/test_complex.py[10] ..........
[OK]
sympy/core/tests/test_count_ops.py[1] .
[OK]
sympy/core/tests/test_diff.py[4] ....
[OK]
sympy/core/tests/test_equal.py[5] .....
[OK]
sympy/core/tests/test_eval.py[8] .......f
[OK]
sympy/core/tests/test_eval_power.py[8] ........
[OK]
sympy/core/tests/test_evalf.py[19] ...................
[OK]
sympy/core/tests/test_facts.py[11] ...........
[OK]
sympy/core/tests/test_functions.py[25] ............ff...........
[OK]
sympy/core/tests/test_logic.py[10] ..........
[OK]
sympy/core/tests/test_match.py[26] ......f...................
[OK]
sympy/core/tests/test_multidimensional.py[4] ....
[OK]
sympy/core/tests/test_numbers.py[27] ...........................
[OK]
sympy/core/tests/test_relational.py[4] ....
[OK]
sympy/core/tests/test_subs.py[18] ..................
[OK]
sympy/core/tests/test_symbol.py[5] .....
[OK]
sympy/core/tests/test_sympify.py[18] ..................
[OK]
sympy/core/tests/test_truediv.py[3] ...
[OK]
sympy/core/tests/test_var.py[4] ....
[OK]
sympy/functions/combinatorial/tests/test_comb_factorials.py[3] ...
[OK]
sympy/functions/combinatorial/tests/test_comb_numbers.py[4] ....
[OK]
sympy/functions/elementary/tests/test_complexes.py[9] .........
[OK]
sympy/functions/elementary/tests/test_exponential.py[9] .........
[OK]
sympy/functions/elementary/tests/test_hyperbolic.py[11] ..f........
[OK]
sympy/functions/elementary/tests/test_integers.py[3] ..f
[OK]
sympy/functions/elementary/tests/test_interface.py[3] ...
[OK]
sympy/functions/elementary/tests/test_miscellaneous.py[2] ..
[OK]
sympy/functions/elementary/tests/test_piecewise.py[1] .
[OK]
sympy/functions/elementary/tests/test_trigonometric.py[11] ...........
[OK]
sympy/functions/special/tests/test_delta_functions.py[2] ..
[OK]
sympy/functions/special/tests/test_error_functions.py[3] ...
[OK]
sympy/functions/special/tests/test_gamma_functions.py[6] ......
[OK]
sympy/functions/special/tests/test_spec_polynomials.py[4] ....
[OK]
sympy/functions/special/tests/test_spherical_harmonics.py[5] .....
[OK]
sympy/functions/special/tests/test_tensor_functions.py[2] ..
[OK]
sympy/functions/special/tests/test_zeta_functions.py[2] ..
[OK]
sympy/galgebra/tests/test_GA.py[6] ......
[OK]
sympy/geometry/tests/test_geometry.py[7] .......
[OK]
sympy/integrals/tests/test_integrals.py[30] ..............................
[OK]
sympy/integrals/tests/test_lineintegrals.py[1] .
[OK]
sympy/integrals/tests/test_rationaltools.py[1] .
[OK]
sympy/integrals/tests/test_risch.py[19] .............ssss..
[OK]
sympy/integrals/tests/test_trigonometry.py[2] ..
[OK]
sympy/matrices/tests/test_matrices.py[38]
......................................
[OK]
sympy/mpmath/tests/test_basic_ops.py[10] ..........
[OK]
sympy/mpmath/tests/test_bitwise.py[10] ..........
[OK]
sympy/mpmath/tests/test_calculus.py[6] ......
[OK]
sympy/mpmath/tests/test_compatibility.py[3] ...
[OK]
sympy/mpmath/tests/test_convert.py[11] ...........
[OK]
sympy/mpmath/tests/test_diff_mpmath.py[2] ..
[OK]
sympy/mpmath/tests/test_division.py[7] .......
[OK]
sympy/mpmath/tests/test_elliptic.py[11] ...........
[OK]
sympy/mpmath/tests/test_functions2.py[16] ................
[OK]
sympy/mpmath/tests/test_functions_mpmath.py[39]
................................
.......
[OK]
sympy/mpmath/tests/test_gammazeta.py[24] ........................
[OK]
sympy/mpmath/tests/test_hp.py[3] ...
[OK]
sympy/mpmath/tests/test_identify.py[2] ..
[OK]
sympy/mpmath/tests/test_interval.py[7] .......
[OK]
sympy/mpmath/tests/test_linalg.py[12] ............
[OK]
sympy/mpmath/tests/test_matrices_mpmath.py[8] ........
[OK]
sympy/mpmath/tests/test_mpmath.py[7] .......
[OK]
sympy/mpmath/tests/test_ode_mpmath.py[5] .....
[OK]
sympy/mpmath/tests/test_pickle.py[1] .
[OK]
sympy/mpmath/tests/test_power.py[3] ...
[OK]
sympy/mpmath/tests/test_quad.py[13] .............
[OK]
sympy/mpmath/tests/test_rootfinding.py[7] .......
[OK]
sympy/mpmath/tests/test_special.py[5] .....
[OK]
sympy/mpmath/tests/test_summation.py[5] .....
[OK]
sympy/mpmath/tests/test_trig.py[3] ...
[OK]
sympy/ntheory/tests/test_ntheory.py[18] ..................
[OK]
sympy/parsing/tests/test_mathematica.py[1] .
[OK]
sympy/parsing/tests/test_maxima.py[3] ...
[OK]
sympy/physics/tests/test_paulialgebra.py[1] .
[OK]
sympy/physics/tests/test_physics_matrices.py[2] ..
[OK]
sympy/physics/tests/test_secondquant.py[14] ..............
[OK]
sympy/physics/tests/test_units.py[1] .
[OK]
sympy/plotting/tests/test_plotting.py[10] ..........
[OK]
sympy/polys/tests/test_galoispolys.py[19] ...................
[OK]
sympy/polys/tests/test_integerpolys.py[25] .........................
[OK]
sympy/polys/tests/test_polynomial.py[51]
.......................................
............
[OK]
sympy/printing/pretty/tests/test_pretty.py[16] ................
[OK]
sympy/printing/pretty/tests/test_pretty_unicode.py[18] ..................
[OK]
sympy/printing/tests/test_ccode.py[4] ....
[OK]
sympy/printing/tests/test_gtk.py[1] X
[OK]
sympy/printing/tests/test_lambdarepr.py[2] ..
[OK]
sympy/printing/tests/test_latex.py[15] ..........f...
$\left(\begin{smallmatrix}1 + x & y\\y & -1 + x\end{smallmatrix}\right)$
. [OK]
sympy/printing/tests/test_mathml.py[8] ........
[OK]
sympy/printing/tests/test_precedence.py[11] ...........
[OK]
sympy/printing/tests/test_python.py[6] ......
[OK]
sympy/printing/tests/test_repr.py[19] ...................
[OK]
sympy/printing/tests/test_str.py[54]
...........................................
...........
[OK]
sympy/series/tests/test_demidovich.py[17] .................
[OK]
sympy/series/tests/test_gruntz.py[22] ..........f...........
[OK]
sympy/series/tests/test_limits.py[16] ..........f.....
[OK]
sympy/series/tests/test_lseries.py[4] ....
[OK]
sympy/series/tests/test_nseries.py[61]
.........................................
....................
[OK]
sympy/series/tests/test_order.py[26] ..........................
[OK]
sympy/simplify/tests/test_cse.py[9] .........
[OK]
sympy/simplify/tests/test_rewrite.py[6] .....X
[OK]
sympy/simplify/tests/test_simplify.py[24] .....ffff............... [OK]
sympy/simplify/tests/test_sqrtdenest.py[2] .f
[OK]
sympy/solvers/tests/test_numeric.py[1] .
[OK]
sympy/solvers/tests/test_ode.py[12] ............
[OK]
sympy/solvers/tests/test_polysys.py[1] .
[OK]
sympy/solvers/tests/test_recurr.py[39] .......................................
[OK]
sympy/solvers/tests/test_solvers.py[12] ............
[OK]
sympy/statistics/tests/test_statistics.py[5] .....
[OK]
sympy/test_external/test_numpy.py[19] ...................
[OK]
sympy/test_external/test_sage.py[0]
[OK]
sympy/utilities/tests/test_code_quality.py[2] ..
[OK]
sympy/utilities/tests/test_decorator.py[1] .
[OK]
sympy/utilities/tests/test_iterables.py[4] ....
[OK]
sympy/utilities/tests/test_lambdify.py[24] ............f...........
[OK]
sympy/utilities/tests/test_pickling.py[28] ..........ffffff............ [OK]
sympy/utilities/tests/test_pytest.py[1] .
[OK]
sympy/utilities/tests/test_tests_names.py[1] .
[OK]

________________________________ xpassed tests
_________________________________
sympy/printing/tests/test_gtk.py:XPASS: test_1
sympy/simplify/tests/test_rewrite.py:XPASS: test_trim_xfail

tests finished: 1342 passed, 4 skipped, 27 xfailed, 2 xpassed in 94.89 seconds
Testing docstrings.
..........................................................................................................................................................................................
----------------------------------------------------------------------
Ran 186 tests in 2.207s

OK

Robert Kern

unread,
Mar 12, 2009, 11:11:40 AM3/12/09
to sy...@googlegroups.com
On Thu, Mar 12, 2009 at 06:32, Neal Becker <ndbe...@gmail.com> wrote:
>
> Tested OK on fedora f10 x86_64.
>
> Just one thing, what's with the warning at the start of the test?
>
>  ./setup.py test
> /usr/lib/python2.5/site-packages/gmpy-1.04-py2.5-linux-x86_64.egg/gmpy.py:3:
> UserWarning: Module sympy was already imported from
> /home/nbecker/sympy-0.6.4.beta2/sympy/__init__.pyc, but
> /usr/lib/python2.5/site-packages/sympy-0.6.3_hg-py2.5.egg is being added to
> sys.path

You need to uninstall the old 0.6.3.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco

Ondrej Certik

unread,
Mar 12, 2009, 11:25:31 AM3/12/09
to sy...@googlegroups.com
On Thu, Mar 12, 2009 at 8:11 AM, Robert Kern <rober...@gmail.com> wrote:
>
> On Thu, Mar 12, 2009 at 06:32, Neal Becker <ndbe...@gmail.com> wrote:
>>
>> Tested OK on fedora f10 x86_64.
>>
>> Just one thing, what's with the warning at the start of the test?
>>
>>  ./setup.py test
>> /usr/lib/python2.5/site-packages/gmpy-1.04-py2.5-linux-x86_64.egg/gmpy.py:3:
>> UserWarning: Module sympy was already imported from
>> /home/nbecker/sympy-0.6.4.beta2/sympy/__init__.pyc, but
>> /usr/lib/python2.5/site-packages/sympy-0.6.3_hg-py2.5.egg is being added to
>> sys.path
>
> You need to uninstall the old 0.6.3.

But still I don't understand why it interferes. It never happened to
me so far and I have multiple versions installed.

Ondrej

Neal Becker

unread,
Mar 12, 2009, 11:33:16 AM3/12/09
to sy...@googlegroups.com
Hmm.. Perhaps it's because in easy-install.pth:
./sympy-0.6.3_hg-py2.5.egg

So I guess this one was easy-install'd, and the 0.6.4beta2 was manually
built/installed. Some kind of bug I suppose, but whose?

Ondrej Certik

unread,
Mar 12, 2009, 12:28:37 PM3/12/09
to sy...@googlegroups.com

I have no idea -- we can fix something in setup.py if you know what --
let us know if you figure it out. This is an annoying bug.

Ondrej

Reply all
Reply to author
Forward
0 new messages