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 On Thu, Nov 13, 2014 at 3:01 PM, Aaron Meurer <[email protected]> wrote: > 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 > > On Thu, Nov 13, 2014 at 3:01 PM, Aaron Meurer <[email protected]> wrote: > >> 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 >> >> On Wed, Nov 12, 2014 at 11:26 PM, Aaron Meurer <[email protected]> >> wrote: >> >>> 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 >>> >>> On Wed, Nov 12, 2014 at 8:36 PM, Jason Moore <[email protected]> >>> wrote: >>> >>>> 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`` >>>> >>>> >>>> >>>> Jason >>>> moorepants.info >>>> +01 530-601-9791 >>>> >>>> On Wed, Nov 12, 2014 at 9:24 PM, Jason Moore <[email protected]> >>>> wrote: >>>> >>>>> I had one test failure in plotting: >>>>> >>>>> https://gist.github.com/moorepants/09f398059b7b4e6d615c >>>>> >>>>> >>>>> Jason >>>>> moorepants.info >>>>> +01 530-601-9791 >>>>> >>>>> On Wed, Nov 12, 2014 at 7:27 PM, Ondřej Čertík < >>>>> [email protected]> wrote: >>>>> >>>>>> On Wed, Nov 12, 2014 at 3:56 PM, Aaron Meurer <[email protected]> >>>>>> 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 >>>>>> >>>>>> > >>>>>> > Aaron Meurer >>>>>> > >>>>>> > On Wed, Nov 12, 2014 at 3:39 PM, Ondřej Čertík < >>>>>> [email protected]> >>>>>> > wrote: >>>>>> >> >>>>>> >> 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 >>>>>> >> >>>>>> >> On Wed, Nov 12, 2014 at 2:26 PM, Aaron Meurer <[email protected]> >>>>>> wrote: >>>>>> >> > There are actually a few test failures relating to the >>>>>> benchmarks, so >>>>>> >> > I'll >>>>>> >> > probably do a second release candidate. >>>>>> >> > >>>>>> >> > Aaron Meurer >>>>>> >> > >>>>>> >> > On Wed, Nov 12, 2014 at 2:05 PM, Aaron Meurer < >>>>>> [email protected]> >>>>>> >> > wrote: >>>>>> >> >> >>>>>> >> >> Has anyone tested this? I haven't heard anything, so I'll cut >>>>>> the final >>>>>> >> >> release tomorrow. >>>>>> >> >> >>>>>> >> >> Aaron Meurer >>>>>> >> >> >>>>>> >> >> On Thu, Nov 6, 2014 at 4:26 PM, Aaron Meurer < >>>>>> [email protected]> >>>>>> >> >> wrote: >>>>>> >> >>> >>>>>> >> >>> 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 >>>>>> >> >> >>>>>> >> >> >>>>>> >> > >>>>>> >> > -- >>>>>> >> > 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 [email protected]. >>>>>> >> > To post to this group, send email to [email protected]. >>>>>> >> > 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. >>>>>> >> >>>>>> >> -- >>>>>> >> 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 [email protected]. >>>>>> >> To post to this group, send email to [email protected]. >>>>>> >> 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/CADDwiVBsgdJPXvMcwyTEiMbf3hsfXjgtUrFi9SJSp_qRnNWrJQ%40mail.gmail.com >>>>>> . >>>>>> >> For more options, visit https://groups.google.com/d/optout. >>>>>> > >>>>>> > >>>>>> > -- >>>>>> > 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 [email protected]. >>>>>> > To post to this group, send email to [email protected]. >>>>>> > 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%3D6K8H%3DBso62HyL5iQdMkFuRRvA6ib0YaF4eHDYY0-OhP9A%40mail.gmail.com >>>>>> . >>>>>> > >>>>>> > For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>>> -- >>>>>> 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 [email protected]. >>>>>> To post to this group, send email to [email protected]. >>>>>> 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/CADDwiVAz6haE_g2%2BbcupRNsG07i7-h6t6XCZPYubz_%3DxqJL1%3DA%40mail.gmail.com >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>> -- >>>> 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 [email protected]. >>>> To post to this group, send email to [email protected]. >>>> 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/CAP7f1AiWMh1rWGp6%2BJYX7_wKL9ohKr75Be3ArYCArRUO479aWQ%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/sympy/CAP7f1AiWMh1rWGp6%2BJYX7_wKL9ohKr75Be3ArYCArRUO479aWQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >> > -- 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 [email protected]. To post to this group, send email to [email protected]. 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%3D6L1r4rhsjV-dbNDAPrwLM5cX9uoF1cM56Vdb_Dx7cWZ9A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
