SageMath 7.6 Deprecation Warning

95 views
Skip to first unread message

Michael Shea

unread,
Jun 4, 2017, 5:02:50 PM6/4/17
to Project Jupyter
I am new to Jupyter and have been have finally been able to install and run the SageMath Kernel, however I am getting an annoying warning on cell execution that I think is slowing down execution. 

I am current running Arch Linux as a VMware guest on windows 10. I installed Jupyter with Anaconnda 3.  I have installed and registered the python 2 kernel in Jupyter. 

I installed sagemath-kernel via pacman and successfully registered it via jupyter-kernelspec. 

Now, whenever I execute a Sage

/usr/lib/python2.7/json/encoder.py:207: DeprecationWarning: Interpreting naive datetime as local 2017-06-03 22:23:23.879862. Please add timezone info to timestamps.
  chunks = self.iterencode(o, _one_shot=True)

Any suggestions.

Matthias Bussonnier

unread,
Jun 5, 2017, 1:29:06 PM6/5/17
to jup...@googlegroups.com
I believe this has been fixed if you upgrade jupyter_client.
--
M
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+u...@googlegroups.com.
> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/a97049c7-bad2-406d-ae86-145608f7eff3%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Michael Shea

unread,
Jun 6, 2017, 4:56:49 PM6/6/17
to Project Jupyter
I have the latest version, 5.0.1.  Any other ideas?

Matthias Bussonnier

unread,
Jun 6, 2017, 5:11:51 PM6/6/17
to jup...@googlegroups.com
Hum, if you can try to turn warnings into errors:

https://docs.python.org/3/library/warnings.html

Then we can try to see the stack trace and figure where this is coming from.
--
M
> https://groups.google.com/d/msgid/jupyter/e28b6d44-eaf0-4586-be22-1ec1f006b508%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages