Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/publish_candidates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ jobs:
BASE_VERSION=$(uv version --short)
uv version "${BASE_VERSION}rc${{ github.run_id }}"
uv build
uv publish --token ${PYPI_TOKEN} --check-url https://pypi.org/simple/
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
uv publish --trusted-publishing always --check-url https://pypi.org/simple/

- name: Install JS dependencies
if: ${{ inputs.js-sdk || inputs.cli }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/publish_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
secrets:
E2B_API_KEY:
required: true
PYPI_TOKEN:
required: true
VERSION_BUMPER_SECRET:
required: true

Expand Down Expand Up @@ -106,8 +104,6 @@ jobs:
createGithubReleases: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: '' # See https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

- name: Push new versions
# A failed publish may have uploaded some Python packages before tagging.
Expand Down
2 changes: 1 addition & 1 deletion packages/code-interpreter-python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"test": "uv run pytest -n 4 --verbose -x",
"postVersion": "uv version $(pnpm pkg get version --workspaces=false | tr -d \\\")",
"postPublish": "uv build && uv publish --token ${PYPI_TOKEN} --check-url https://pypi.org/simple/",
"postPublish": "uv build && uv publish --trusted-publishing always --check-url https://pypi.org/simple/",
"typecheck": "uv run make typecheck",
"lint": "uv run make lint",
"format": "uv run make format"
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop-python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"test": "uv run pytest -n 4 --verbose -x",
"postVersion": "uv version $(pnpm pkg get version --workspaces=false | tr -d \\\")",
"postPublish": "uv build && uv publish --token ${PYPI_TOKEN} --check-url https://pypi.org/simple/",
"postPublish": "uv build && uv publish --trusted-publishing always --check-url https://pypi.org/simple/",
"typecheck": "uv run make typecheck",
"lint": "uv run make lint",
"format": "uv run make format"
Expand Down
2 changes: 1 addition & 1 deletion packages/python-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"test": "uv run pytest -n 4 --verbose -x",
"postVersion": "uv version $(pnpm pkg get version --workspaces=false | tr -d \\\")",
"postPublish": "uv build && uv publish --token ${PYPI_TOKEN} --check-url https://pypi.org/simple/",
"postPublish": "uv build && uv publish --trusted-publishing always --check-url https://pypi.org/simple/",
"typecheck": "uv run make typecheck",
"lint": "uv run make lint",
"format": "uv run make format"
Expand Down
Loading