Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

chore: sync the e2b floor of the Python Code Interpreter and Desktop SDKs on version (#1926)

devin-ai-integration[bot]d058b4c84464
diff --git a/packages/code-interpreter-python/package.json b/packages/code-interpreter-python/package.json
index 416e719d9..9a5ea14fc 100644
--- a/packages/code-interpreter-python/package.json
+++ b/packages/code-interpreter-python/package.json
@@ -4,7 +4,7 @@
"version": "2.10.1",
"scripts": {
"test": "uv run pytest -n 4 --verbose -x",
- "postVersion": "uv version --frozen $(pnpm pkg get version --workspaces=false | tr -d \\\")",
+ "postVersion": "uv version --frozen $(pnpm pkg get version --workspaces=false | tr -d \\\") && uv add --frozen \"$(node -p \"const v = require('../python-sdk/package.json').version; 'e2b>=' + v + ',<' + (Number(v.split('.')[0]) + 1) + '.0.0'\")\"",
"lock": "uv lock",
"postPublish": "uv build && uv publish --trusted-publishing always --check-url https://pypi.org/simple/",
"typecheck": "uv run make typecheck",
diff --git a/packages/desktop-python/package.json b/packages/desktop-python/package.json
index d6bad2f31..01bbbd04f 100644
--- a/packages/desktop-python/package.json
+++ b/packages/desktop-python/package.json
@@ -4,7 +4,7 @@
"version": "2.6.1",
"scripts": {
"test": "uv run pytest -n 4 --verbose -x",
- "postVersion": "uv version --frozen $(pnpm pkg get version --workspaces=false | tr -d \\\")",
+ "postVersion": "uv version --frozen $(pnpm pkg get version --workspaces=false | tr -d \\\") && uv add --frozen \"$(node -p \"const v = require('../python-sdk/package.json').version; 'e2b>=' + v + ',<' + (Number(v.split('.')[0]) + 1) + '.0.0'\")\"",
"lock": "uv lock",
"postPublish": "uv build && uv publish --trusted-publishing always --check-url https://pypi.org/simple/",
"typecheck": "uv run make typecheck",