SymPy 0.7.6 release candidate 1

120 views
Skip to first unread message

Aaron Meurer

unread,
Nov 6, 2014, 5:26:57 PM11/6/14
to sy...@googlegroups.com
I have uploaded SymPy 0.7.6 release candidate 1. Please download it
and test it. You can find it at
https://github.com/sympy/sympy/releases/tag/sympy-0.7.6.rc1.

If there are no major issues, I will aim to do the final release in one week.

The release notes for this release are at
https://github.com/sympy/sympy/wiki/release-notes-for-0.7.6. If you
see anything that is missing from that page, please add it.

Aaron Meurer

Aaron Meurer

unread,
Nov 12, 2014, 3:05:48 PM11/12/14
to sy...@googlegroups.com
Has anyone tested this? I haven't heard anything, so I'll cut the final release tomorrow. 

Aaron Meurer

Aaron Meurer

unread,
Nov 12, 2014, 4:26:45 PM11/12/14
to sy...@googlegroups.com
There are actually a few test failures relating to the benchmarks, so I'll probably do a second release candidate. 

Aaron Meurer

Ondřej Čertík

unread,
Nov 12, 2014, 4:39:05 PM11/12/14
to sympy
Here are my test results:

https://gist.github.com/certik/b50dd2a621c1785e8b7c

There are quite a few test failures, i.e. stuff like this:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
606: ordinal not in range(128)

Ondrej
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2B7sJRgW3yw7zi6oUO3ruv8pwdmNMqeJS2uWkDGqDD8WA%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.

Aaron Meurer

unread,
Nov 12, 2014, 5:57:22 PM11/12/14
to sy...@googlegroups.com
The benchmark issues should be fixed. 

The autowrap tests are a big mess. Depending on what compilers you have installed and whether or not they work, the tests will pass or fail.

Can you run the tests again in the latest 0.7.6 branch?

Aaron Meurer

Ondřej Čertík

unread,
Nov 12, 2014, 7:27:15 PM11/12/14
to sympy
On Wed, Nov 12, 2014 at 3:56 PM, Aaron Meurer <asme...@gmail.com> wrote:
> The benchmark issues should be fixed.
>
> The autowrap tests are a big mess. Depending on what compilers you have
> installed and whether or not they work, the tests will pass or fail.
>
> Can you run the tests again in the latest 0.7.6 branch?

Sure, I tested 744b334a70b462823e8ef57e6c672172629d1742:

https://gist.github.com/certik/e626b96b83ae4d5a477f

Ondrej
> https://groups.google.com/d/msgid/sympy/CAKgW%3D6K8H%3DBso62HyL5iQdMkFuRRvA6ib0YaF4eHDYY0-OhP9A%40mail.gmail.com.

Jason Moore

unread,
Nov 12, 2014, 9:24:35 PM11/12/14
to sy...@googlegroups.com

Jason Moore

unread,
Nov 12, 2014, 9:36:28 PM11/12/14
to sy...@googlegroups.com
The doctests fail on these files due to the "default_array":

moorepants@moorepants-2170p:sympy(0.7.6)$ grep -r default_array
doc/src/modules/numeric-computation.rst:    >>> f = lambdify(x, expr, default_array=True)
doc/src/modules/numeric-computation.rst:the next release. For now, setting ``default_array=True`` will provide the
doc/src/modules/numeric-computation.rst:    >>> f = lambdify(x, expr, "numpy", default_array=True)
doc/src/tutorial/basic_operations.rst:will be removed in the next release. For now, setting ``default_array=True``

Aaron Meurer

unread,
Nov 13, 2014, 12:26:57 AM11/13/14
to sy...@googlegroups.com
Apparently some doctests are not run unless numpy, matplotlib, and probably others are installed.  Can you submit a pull request to the release branch fixing this?

Aaron Meurer

Aaron Meurer

unread,
Nov 13, 2014, 4:01:52 PM11/13/14
to sy...@googlegroups.com
I'm going ignore the autowrap stuff, unless someone sends a pull request. I get completely different failures:

_____________________________________________________________________________________________________________________________________________
_______________________________________ sympy/external/tests/test_autowrap.py:test_ufuncify_C_Cython ________________________________________
  File "/users/aaronmeurer/documents/python/sympy/sympy/sympy/external/tests/test_autowrap.py", line 158, in test_ufuncify_C_Cython
    runtest_ufuncify('C', 'cython')
  File "/users/aaronmeurer/documents/python/sympy/sympy/sympy/external/tests/test_autowrap.py", line 93, in runtest_ufuncify
    fabc = ufuncify([a, b, c], a*b + c, backend=backend)
  File "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/core/cache.py", line 93, in wrapper
    retval = func(*args, **kwargs)
  File "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/utilities/autowrap.py", line 878, in ufuncify
    tempdir, args, flags, verbose, helpers)
  File "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/core/cache.py", line 93, in wrapper
    retval = func(*args, **kwargs)
  File "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/utilities/autowrap.py", line 508, in autowrap
    return code_wrapper.wrap_code(routine, helpers=helps)
  File "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/utilities/autowrap.py", line 144, in wrap_code
    self._process_files(routine)
  File "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/utilities/autowrap.py", line 163, in _process_files
    " ".join(command), e.output.decode()))
sympy.utilities.autowrap.CodeWrapError: Error while executing command: /Users/aaronmeurer/anaconda/bin/python setup.py build_ext --inplace. Command output is:
running build_ext
cythoning wrapper_module_6.pyx to wrapper_module_6.c
building 'wrapper_module_6' extension
creating build
creating build/temp.macosx-10.5-x86_64-3.4
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/aaronmeurer/anaconda/include -arch x86_64 -I/Users/aaronmeurer/anaconda/include/python3.4m -c wrapper_module_6.c -o build/temp.macosx-10.5-x86_64-3.4/wrapper_module_6.o -std=c99
wrapper_module_6.c:239:31: fatal error: numpy/arrayobject.h: No such file or directory
 #include "numpy/arrayobject.h"
                               ^
compilation terminated.
error: command 'gcc' failed with exit status 1

We need to make the tests much more robust against broken setups (and I'm not really even convinced that my setup is broken in this case).

Aaron Meurer

Aaron Meurer

unread,
Nov 13, 2014, 4:02:16 PM11/13/14
to sy...@googlegroups.com
So unless I hear anything else I will upload 0.7.6.rc2 in a few hours.  I have fixed the default_array issue. 

Aaron Meurer

Aaron Meurer

unread,
Nov 13, 2014, 4:19:11 PM11/13/14
to sy...@googlegroups.com
These test failures are all part of a bigger issue, which is that several tests are not run in Travis CI, because they require certain dependencies to be installed to run. See https://github.com/sympy/sympy/issues/8446.

Aaron Meurer

Reply all
Reply to author
Forward
0 new messages