Unrelated PRs failing Travis tests due to test_sympify

17 views
Skip to first unread message

Oscar Benjamin

unread,
Nov 21, 2018, 6:16:03 AM11/21/18
to sy...@googlegroups.com
Hi all,

Travis tests are failing in unrelated PRs due to the same issue. You
can see an example here:
https://travis-ci.org/sympy/sympy/jobs/457806002

The test run that fails is for optional dependencies on Python 3.6. I
guess that either a bug has snuck into master or there has been some
change in the dependencies.

--
Oscar

Kalevi Suominen

unread,
Nov 21, 2018, 7:21:56 AM11/21/18
to sympy
Python's `generate_tokens()` was recently updated to add a newline token if there was none in the input: https://github.com/python/cpython/commit/c4ef4896eac86a6759901c8546e26de4695a1389#diff-e6b083beac7705d82a4e21f6391963a7R658. That became effective when conda-forge updated Python-3.6.6 to 3.6.7. The change breaks sympification of `lambda` because the code expects only two tokens instead of three.

Kalevi Suominen

Aaron Meurer

unread,
Nov 21, 2018, 1:54:34 PM11/21/18
to sy...@googlegroups.com
I have a fix at https://github.com/sympy/sympy/pull/15523

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 sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/ef2a59bb-40f0-4c36-af72-84cae88f4a60%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages