Repository navigation
chore(deps): scheduled patch/minor dependency updates for js-sdk / cli / python-sdk - #2194
Conversation
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>
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
🦋 Changeset detectedLatest commit: cee4fee The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
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.
Package ArtifactsBuilt from 8ceaa93. Download artifacts from this workflow run. JS SDK ( 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.tgzCLI ( npm install ./e2b-cli-2.26.1-devin-1796022152-sdk-deps-bump.0.tgzCode Interpreter JS SDK ( npm install ./e2b-code-interpreter-2.9.2-devin-1796022152-sdk-deps-bump.0.tgzDesktop JS SDK ( npm install ./e2b-desktop-2.5.1-devin-1796022152-sdk-deps-bump.0.tgzPython SDK ( 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.whlCode Interpreter Python SDK ( pip install ./e2b_code_interpreter-2.11.12+devin.1796022152.sdk.deps.bump-py3-none-any.whlDesktop Python SDK ( pip install ./e2b_desktop-2.7.2+devin.1796022152.sdk.deps.bump-py3-none-any.whl |
…/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>
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 withpnpm install --config.minimum-release-age=10080plus a publish-date audit of every new lock entry (newest: npm-run-all2 9.1.0, 2026-11-21) and pinneduv lock --upgrade-package <pkg>==<ver>(noexclude-newerstamp).Commit 1 - patch
jose^6.2.17 -> ^6.2.18 (JWE/JWK/JWT fixes)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.1Commit 2 - minor
undici^8.12.4 -> ^8.13.1 (h1/h2 connection-reuse and abort fixes; no API changes)ws^8.22.0 -> ^8.23.0 (fixes a ping-flood memory-exhaustion DoS, addsmaxPendingAutoPongs)@redocly/cli2.78.0 -> 2.82.0 in js-sdk, cli andcodegen.Dockerfile. Changes are Arazzo rules /respect/diffonly;redocly bundleoutput for all 5 APIs (python-sdk, js-sdk, envd, volume, workspace) is byte-identical to 2.78.0.npm-run-all2^9.0.4 -> ^9.1.0,wrangler^4.162.0 -> ^4.166.0uv.lock: argcomplete 3.8.0.changeset/sdk-deps-jose-undici-ws.md: patch fore2b,@e2b/clicode-interpreter-python/desktop-pythonlocks get the same upgrades (uv workspaces with../python-sdkas a member). No pythonpyproject.tomlranges 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):
Verification
pnpm run lint,pnpm run format,pnpm run typecheck: pass;formatchanged no files.uv lock --checkpasses in python-sdk, code-interpreter-python, desktop-python.vitest --project unit: 885 passed, 7 failed: 5 intests/api/list.test.ts,create.test.ts > metadata, and the httpbin firewall test (e2b/httpbintemplate missing locally).test_sbx_list,test_create::test_metadata,test_file_symlink). The same tests fail on an unmodifiedorigin/maincheckout with the same API key, so the backend causes them, not this PR.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