Skip to content

armgit / E2B

Public Imported from GitHub
0

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

ci(release): re-lock every Python package after the version bump (#1855)

devin-ai-integration[bot]e0082d40235d
diff --git a/package.json b/package.json
index cdcfaab70..6301c43b6 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "e2b",
"private": true,
"scripts": {
- "version": "pnpm changeset version && pnpm run -r postVersion",
+ "version": "pnpm changeset version && pnpm run -r postVersion && pnpm run -r lock",
"publish": "pnpm --dir packages/js-sdk build && pnpm run -r postPublish && pnpm changeset publish",
"publish:python-sdk": "sh .github/scripts/publish_python_sdk.sh",
"test": "pnpm --dir packages/js-sdk build && pnpm --recursive --if-present run test",
diff --git a/packages/code-interpreter-python/package.json b/packages/code-interpreter-python/package.json
index 53accbd58..4644fedff 100644
--- a/packages/code-interpreter-python/package.json
+++ b/packages/code-interpreter-python/package.json
@@ -4,7 +4,8 @@
"version": "2.10.0",
"scripts": {
"test": "uv run pytest -n 4 --verbose -x",
- "postVersion": "uv version $(pnpm pkg get version --workspaces=false | tr -d \\\")",
+ "postVersion": "uv version --frozen $(pnpm pkg get version --workspaces=false | tr -d \\\")",
+ "lock": "uv lock",
"postPublish": "uv build && uv publish --trusted-publishing always --check-url https://pypi.org/simple/",
"typecheck": "uv run make typecheck",
"lint": "uv run make lint",
diff --git a/packages/desktop-python/package.json b/packages/desktop-python/package.json
index 8a97fbedd..af4a6acde 100644
--- a/packages/desktop-python/package.json
+++ b/packages/desktop-python/package.json
@@ -4,7 +4,8 @@
"version": "2.5.0",
"scripts": {
"test": "uv run pytest -n 4 --verbose -x",
- "postVersion": "uv version $(pnpm pkg get version --workspaces=false | tr -d \\\")",
+ "postVersion": "uv version --frozen $(pnpm pkg get version --workspaces=false | tr -d \\\")",
+ "lock": "uv lock",
"postPublish": "uv build && uv publish --trusted-publishing always --check-url https://pypi.org/simple/",
"typecheck": "uv run make typecheck",
"lint": "uv run make lint",
diff --git a/packages/python-sdk/package.json b/packages/python-sdk/package.json
index 110c9075c..83845bf43 100644
--- a/packages/python-sdk/package.json
+++ b/packages/python-sdk/package.json
@@ -4,7 +4,8 @@
"version": "2.49.0",
"scripts": {
"test": "uv run pytest -n 4 --verbose -x",
- "postVersion": "uv version $(pnpm pkg get version --workspaces=false | tr -d \\\")",
+ "postVersion": "uv version --frozen $(pnpm pkg get version --workspaces=false | tr -d \\\")",
+ "lock": "uv lock",
"postPublish": "uv build && uv publish --trusted-publishing always --check-url https://pypi.org/simple/",
"typecheck": "uv run make typecheck",
"lint": "uv run make lint",