Open Prikers opened 7 years ago
ipykernel.serialize
is marked as deprecated, and the functionality moved to ipyparallel. If Spyder is using ipykernel.serialize
, we need to either find an alternative for spider or reconsider the deprecation.
Pinging @minrk
@takluyver, we know it's deprecated. We are depending on ipykernel
for now to not add yet another dependency to Spyder.
However, I think the problem reported by @Prikers is still present in ipyparallel
.
Indeed the bug is present in ipyparallel. The ipykernel code is deprecated and destined to be removed, so I'd recommend moving away from it if you can. I would recommend switching to cloudpickle
instead of ipykernel.serialize
and data_pub
for this, which are not part of the Jupyter spec and will be removed from ipykernel at some point.
It seems that it is not possible to serialize a dict which a non-orderable keys:
Is ordering the keys mandatory to serialize the dict? (sorry if that is a dumb question)