AI Agent News/stories/e2b-python-sdk-2-56-0-drops-python-3-10-and-changes-http-2-connection-pooling.md

Infrastructure

E2B Python SDK 2.56.0 drops Python 3.10 and changes HTTP/2 connection pooling

E2B's Python SDK 2.56.0 raises the minimum supported Python version to 3.11. It also moves stream balancing onto pyqwest's native connection pool and removes the E2B_STREAMS_PER_CONNECTION setting.

Source: github.com/e2b-dev/E2B/releases/tag/%40e2b%2Fpython-sdk%402.56.0

The release, published by E2B on GitHub, requires Python 3.11 or newer, so Python 3.10 is no longer supported.

On the HTTP/2 side, the SDK now leans on pyqwest's built-in connection pool instead of a Python-level balancer spread across several transports. A new connection is opened only once every existing one has reached the server's advertised concurrent-stream limit. The number of connections per resolved address is capped by E2B_MAX_CONNECTIONS, which defaults to 200.

The E2B_STREAMS_PER_CONNECTION variable is removed, and the per-connection limit now comes from the server's SETTINGS_MAX_CONCURRENT_STREAMS value. The release also updates the @e2b/dockerfile-utils-python dependency to 0.1.1.

Why it matters if you build agents

Agent services still running on Python 3.10 will need to upgrade before they can use this SDK version.

Code that set E2B_STREAMS_PER_CONNECTION should switch to E2B_MAX_CONNECTIONS or rely on the server's stream limit instead.

Get stories like this every weekday

One short email with the day's agent tooling news.

Subscribe