Skip to content

chore(deps): scheduled patch/minor dependency updates for js-sdk / cli / python-sdk - #2194

Merged
mishushakov merged 2 commits into
mainfrom
devin/1796022152-sdk-deps-bump
Nov 30, 2026
Merged

mishushakov merged 2 commits into
mainfrom
devin/1796022152-sdk-deps-bump

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Scheduled dependency scan of packages/js-sdk, packages/cli, packages/python-sdk. Only versions published at least 7 days ago (cutoff 2026-11-23 07:00 UTC) are taken. Lockfile transitives were checked with pnpm install --config.minimum-release-age=10080 plus a publish-date audit of every new lock entry (newest: npm-run-all2 9.1.0, 2026-11-21) and pinned uv lock --upgrade-package <pkg>==<ver> (no exclude-newer stamp).

Commit 1 - patch

  • @e2b/cli: jose ^6.2.17 -> ^6.2.18 (JWE/JWK/JWT fixes)
  • python-sdk uv.lock: bracex 3.2.4, certifi 2026.11.20, platformdirs 4.14.8, pydantic 2.14.4 / pydantic-core 2.50.5, pyyaml 6.0.4, typeguard 4.6.1

Commit 2 - minor

  • e2b: undici ^8.12.4 -> ^8.13.1 (h1/h2 connection-reuse and abort fixes; no API changes)
  • @e2b/cli: ws ^8.22.0 -> ^8.23.0 (fixes a ping-flood memory-exhaustion DoS, adds maxPendingAutoPongs)
  • @redocly/cli 2.78.0 -> 2.82.0 in js-sdk, cli and codegen.Dockerfile. Changes are Arazzo rules / respect / diff only; redocly bundle output for all 5 APIs (python-sdk, js-sdk, envd, volume, workspace) is byte-identical to 2.78.0.
  • dev: npm-run-all2 ^9.0.4 -> ^9.1.0, wrangler ^4.162.0 -> ^4.166.0
  • python-sdk uv.lock: argcomplete 3.8.0
  • Changeset .changeset/sdk-deps-jose-undici-ws.md: patch for e2b, @e2b/cli

code-interpreter-python / desktop-python locks get the same upgrades (uv workspaces with ../python-sdk as a member). No python pyproject.toml ranges changed.

Skipped - too new (<7 days): tar 7.5.24, undici 8.14.0, ws 8.23.1, wrangler 4.167+, @redocly/cli 2.83+, @types/node 22.20.6/7, packaging 26.4, httpx 0.29.0, platformdirs 4.14.9.

Majors / out-of-range - follow-ups (not in this PR, need code or config changes):

Package Current -> latest Notes
vitest, @vitest/browser-playwright, @vitest/coverage-v8 4.1.12 -> 5.1.2 catalog; test harness migration
tsdown 0.22.14 -> 0.23.7 0.x minor = breaking (config renames, attw default profile)
knip 5.88.1 -> 6.49.0 config migration
msw 2.15.0 -> 3.0.8 test mocks
@types/node 22.x -> 26.x tied to the supported Node floor
chalk 5.6.2 -> 6.0.1 runtime dep (e2b, cli)
boxen 7.1.1 -> 9.0.0 cli runtime
@npmcli/package-json 7.0.5 -> 8.0.1 cli runtime
dotenv 16.6.1 -> 18.0.10 dev
json-schema-to-typescript 15.0.4 -> 16.0.0 dev, codegen
tar 7.5.x -> 8.0.3 e2b runtime; 8.x is days old
connectrpc / protoc-gen-connectrpc 0.12.1 -> 0.13.0 needs envd codegen regen
protobuf-py / protoc-gen-py 0.6.0 -> 0.7.0 needs envd codegen regen
pyqwest 0.12.0 -> 0.14.0 runtime transport
httpx 0.28.1 -> 0.29.0 runtime; <7d old, 0.x minor
wcmatch 11.2 -> 12.0.4 runtime
python-dateutil 2.9.0.post0 -> 4.0.0 runtime
ruff 0.11.13 -> 0.17.6 ~4k new lint findings, 2 files reformatted
ty 0.0.15 -> 0.0.114 type-check churn
datamodel-code-generator 0.87.0 -> 0.106.0 codegen pin, mirrored in Dockerfile

Verification

  • pnpm run lint, pnpm run format, pnpm run typecheck: pass; format changed no files. uv lock --check passes in python-sdk, code-interpreter-python, desktop-python.
  • js-sdk build passes; vitest --project unit: 885 passed, 7 failed: 5 in tests/api/list.test.ts, create.test.ts > metadata, and the httpbin firewall test (e2b/httpbin template missing locally).
  • python-sdk pytest: 1773 passed, 14 failed (test_sbx_list, test_create::test_metadata, test_file_symlink). The same tests fail on an unmodified origin/main checkout with the same API key, so the backend causes them, not this PR.
  • cli vitest: 279/279 passed.

Link to Devin session: https://app.devin.ai/sessions/cf804c09e7814444bef11d80fe9cee2e
Open in Devin Desktop: https://app.devin.ai/desktop/session/cf804c09e7814444bef11d80fe9cee2e?variant=devin


🟢 Devin Review found nothing to fix · View findings

Devin Review

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@cla-bot cla-bot Bot added the cla-signed label Nov 30, 2026
@changeset-bot

changeset-bot Bot commented Nov 30, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cee4fee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
e2b Patch
@e2b/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T07:14:47.286547Z cee4fee PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TASTE.md review: compliant. 0 violations. The PR changes only dependency versions (package.json, lockfiles, codegen.Dockerfile, changeset) and no SDK source, so none of the API-shape, parity, error, timeout, config, or docstring rules (T-1 to T-74) apply.

Written by Devin

@github-actions

Copy link
Copy Markdown
Contributor

Package Artifacts

Built from 8ceaa93. Download artifacts from this workflow run.

JS SDK (e2b@2.66.1-devin-1796022152-sdk-deps-bump.0, with @e2b/dockerfile-utils@0.1.3-devin-1796022152-sdk-deps-bump.0):

npm install ./e2b-dockerfile-utils-0.1.3-devin-1796022152-sdk-deps-bump.0.tgz ./e2b-2.66.1-devin-1796022152-sdk-deps-bump.0.tgz

CLI (@e2b/cli@2.26.1-devin-1796022152-sdk-deps-bump.0):

npm install ./e2b-cli-2.26.1-devin-1796022152-sdk-deps-bump.0.tgz

Code Interpreter JS SDK (@e2b/code-interpreter@2.9.2-devin-1796022152-sdk-deps-bump.0):

npm install ./e2b-code-interpreter-2.9.2-devin-1796022152-sdk-deps-bump.0.tgz

Desktop JS SDK (@e2b/desktop@2.5.1-devin-1796022152-sdk-deps-bump.0):

npm install ./e2b-desktop-2.5.1-devin-1796022152-sdk-deps-bump.0.tgz

Python SDK (e2b==2.66.0+devin.1796022152.sdk.deps.bump, with e2b-dockerfile-utils==0.1.2+devin.1796022152.sdk.deps.bump):

pip install ./e2b_dockerfile_utils-0.1.2+devin.1796022152.sdk.deps.bump-py3-none-any.whl ./e2b-2.66.0+devin.1796022152.sdk.deps.bump-py3-none-any.whl

Code Interpreter Python SDK (e2b-code-interpreter==2.11.12+devin.1796022152.sdk.deps.bump):

pip install ./e2b_code_interpreter-2.11.12+devin.1796022152.sdk.deps.bump-py3-none-any.whl

Desktop Python SDK (e2b-desktop==2.7.2+devin.1796022152.sdk.deps.bump):

pip install ./e2b_desktop-2.7.2+devin.1796022152.sdk.deps.bump-py3-none-any.whl

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

mishushakov added a commit that referenced this pull request Nov 30, 2026
…/2 again (#2197)

## Summary
Bumps `pyqwest` `>=0.12.0,<0.13` → `>=0.15.0,<0.16`
([v0.15.0](https://github.com/curioswitch/pyqwest/discussions/308)) and
drops the workarounds it makes unnecessary. Lockfiles of `acp-python`,
`code-interpreter-python` and `desktop-python` are relocked.

- **HTTP/2 downloads (#2027):** pyqwest 0.15 ships h2 with the
empty-DATA-frame fix (anuraaga/h2#1, cherry-pick of hyperium/h2#972):
empty frames now cost from a budget that payload frames refill, instead
of a 100-per-connection lifetime cap. So the #2088 workaround is
narrowed: `files.read` in `text`/`bytes` format uses `self._envd_api` on
the configured `http_version` (the dedicated `_envd_api_download` client
is gone).
- **Streamed reads stay on HTTP/1.1:**
`ENVD_API_FILE_DOWNLOAD_HTTP_VERSION` becomes
`ENVD_API_FILE_STREAM_HTTP_VERSION = "1.1"`, used by
`_envd_api_streaming` (sync + async) and, for an explicit async
`stream_idle_timeout`, a new `_envd_api_stream` client (previously that
branch used `_envd_api`). Over HTTP/2, data a caller hasn't read holds
the connection's flow-control window, so a few partly read or abandoned
`format="stream"` readers stall every other request on that connection,
including envd RPC.
- **Upload chunk errors (0.14, curioswitch/pyqwest#287):** an exception
raised by the request-body iterator is now re-raised as-is instead of
becoming `WriteError`, so `ChunkCheck` (which recorded the
`InvalidArgumentException` to re-raise it) is removed.
- **Timeouts (0.15, curioswitch/pyqwest#305):** the httpx adapter uses
`max(read, write)` instead of `read + write`, so Python SDK timeouts are
no longer doubled (SDK-451). This supersedes #2175.
- **gevent (0.15, curioswitch/pyqwest#306):** sync calls yield
cooperatively under gevent monkey-patching.

## Verification
- `test_envd_file_download_empty_data_frames.py` asserts `bytes`/`text`
reads use the configured version and streamed reads use HTTP/1.1; the
fake server sends 600-byte frames each followed by an empty one (the
real proxy sends ~32 KiB per empty frame). It fails on pyqwest 0.12 with
`too_many_data_frames` and passes on 0.15.
- Real sandbox, buffered reads over HTTP/2 (envd negotiates HTTP/2 via
ALPN, checked with a raw pyqwest request): sync and async, 40 sequential
text reads and 32 concurrent 4 MiB reads pass; the same script fails
with `too_many_data_frames` on pyqwest 0.12.
- Real sandbox, streams: with streamed reads on HTTP/2, 3 partly read 8
MiB async streams (`stream_idle_timeout=15`) made the 4th `files.read`
and `commands.run` time out. With this PR, 10 such open streams don't
block a new read, `commands.run` or `files.list`.
- Real sandbox uploads over HTTP/2 (32 concurrent 4 MiB writes,
iterator, file object, gzip, `write_files`) pass sync and async,
checksums match.
- Unit tests: 1047 passed. `files` integration tests: 133 passed, 2
failed (`test_file_symlink`, a backend failure already on `main`, see
#2194).

Link to Devin session:
https://app.devin.ai/sessions/d734c4752b1a4f7b90b09bfd3379c6f4
Open in Devin Desktop:
https://app.devin.ai/desktop/session/d734c4752b1a4f7b90b09bfd3379c6f4?variant=devin
Requested by: @mishushakov
<!-- devin-review-badge-begin -->

---

🟢 Devin Review found nothing to fix · [View
findings](https://app.devin.ai/review/e2b-dev/e2b/pull/2197)

<a href="https://app.devin.ai/review/e2b-dev/e2b/pull/2197"
target="_blank"><picture><source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img
src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4"
alt="Devin Review"></picture></a><!-- devin-review-badge-end -->

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: mish@e2b.dev <mish@e2b.dev>
@mishushakov
mishushakov merged commit 9876db9 into main Nov 30, 2026
42 checks passed
@mishushakov
mishushakov deleted the devin/1796022152-sdk-deps-bump branch November 30, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant