e2b-dev / e2b-dev/E2B

Out of range float values are not JSON compliant printed to STDERR in Code Sandbox

Open
#591 3 comments 0 reactions 1 assignee View on GitHub

@mishushakov is already working on this.

Since May 10, 2025.

bug Code Interpreter
Dominant language
Python
Stars
13.9k
Forks
1k
Avg merge
1d 20h
Merged PRs (30d)
70

Description

Getting the following warning printed to stderr in the code sandbox, when doing a display of a dataframe with, apparently, float values and/or NaNs.

"/usr/local/lib/python3.10/site-packages/jupyter_client/session.py:721: UserWarning:

Message serialization failed with:
Out of range float values are not JSON compliant
Supporting this message is deprecated in jupyter-client 7, please make sure your message is JSON-compliant

This is being fed to agents so it's a bit confusing, how can we disable these warnings?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.