Repository navigation
ci(release): publish e2b-charts to PyPI via trusted publishing - #359
Merged
mishushakov merged 1 commit intoOct 27, 2026
Merged
Conversation
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
mishushakov
approved these changes
Oct 27, 2026
Codex Review SummaryThis 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. |
mishushakov
deleted the
devin/1793105599-charts-pypi-trusted-publishing
branch
October 27, 2026 13:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The release run after #358 (https://github.com/e2b-dev/code-interpreter/actions/runs/40506648705) failed in Charts release:
uv publishofe2b_charts-1.1.0got403 Invalid or non-existent authentication informationfrom PyPI, i.e.CHARTS_PYPI_TOKENis no longer accepted. Because the template build pins the freshly publishede2b_chartsversion, it is gated on that job and was skipped too, so the template rebuild from #358 never happened.This switches the charts publish to OIDC trusted publishing, the same way the Python packages in e2b-dev/E2B are published:
- name: Release new versions run: | uv build - uv publish --check-url https://pypi.org/simple/ + uv publish --trusted-publishing always --check-url https://pypi.org/simple/ working-directory: ./chart_data_extractor - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - UV_PUBLISH_TOKEN: ${{ secrets.CHARTS_PYPI_TOKEN }}The workflow already grants
id-token: write.PYPI_TOKENis also dropped from theReleasejob: every workspace package here isprivateand none has apostPublishhook, sochangeset publishonly tags and nothing reads it.Before merging
Add a trusted publisher on https://pypi.org/manage/project/e2b-charts/settings/publishing/ : owner
e2b-dev, repositorycode-interpreter, workflowrelease.yml, environment left empty. After merging, re-dispatch Release to publishe2b-charts1.1.0 and the template.CHARTS_PYPI_TOKENandPYPI_TOKENcan then be deleted from the repo secrets.Link to Devin session: https://app.devin.ai/sessions/943dbceafe0f4e0a91bc044363751b97
Open in Devin Desktop: https://app.devin.ai/desktop/session/943dbceafe0f4e0a91bc044363751b97?variant=devin
Requested by: @mishushakov