Skip to content

feat(templates): add fixMissing option to aptInstall#1205

Merged
mishushakov merged 3 commits into
mainfrom
mishushakov/apt-fix-missing
Mar 18, 2026
Merged

feat(templates): add fixMissing option to aptInstall#1205
mishushakov merged 3 commits into
mainfrom
mishushakov/apt-fix-missing

Conversation

@mishushakov
Copy link
Copy Markdown
Member

@mishushakov mishushakov commented Mar 16, 2026

Summary

  • Added fixMissing option to aptInstall() in JS SDK
  • Added fix_missing parameter to apt_install() in Python SDK
  • Enables --fix-missing flag for apt-get install command

🤖 Generated with Claude Code


Note

Low Risk
Low risk: additive, opt-in flags that only adjust how apt-get install is invoked in template builds, with minimal impact unless the new option is used.

Overview
Adds an opt-in fixMissing/fix_missing option to the JS and Python template builders’ aptInstall/apt_install helpers.

When enabled, the generated apt-get install command includes --fix-missing, and the JS types/docs are updated accordingly; a changeset bumps e2b and @e2b/python-sdk as minor releases.

Written by Cursor Bugbot for commit 3eb5f14. This will update automatically on new commits. Configure here.

Adds --fix-missing flag support to apt-get install in both JS and Python SDKs.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 16, 2026

🦋 Changeset detected

Latest commit: 3eb5f14

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
e2b Minor
@e2b/python-sdk Minor

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

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 16, 2026

Package Artifacts

Built from 6d6fc22. Download artifacts from this workflow run.

JS SDK (e2b@2.14.2-mishushakov-apt-fix-missing.0):

npm install ./e2b-2.14.2-mishushakov-apt-fix-missing.0.tgz

CLI (@e2b/cli@2.8.2-mishushakov-apt-fix-missing.0):

npm install ./e2b-cli-2.8.2-mishushakov-apt-fix-missing.0.tgz

Python SDK (e2b==2.15.3+mishushakov-apt-fix-missing):

pip install ./e2b-2.15.3+mishushakov.apt.fix.missing-py3-none-any.whl

@mishushakov mishushakov enabled auto-merge (squash) March 16, 2026 18:04
Copy link
Copy Markdown
Member

@jakubno jakubno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to add ubiquitous extra options and just pass it?

@mishushakov
Copy link
Copy Markdown
Member Author

@jakubno you can now just do .aptInstall('package --option')

@mishushakov mishushakov merged commit ca85620 into main Mar 18, 2026
32 of 35 checks passed
@mishushakov mishushakov deleted the mishushakov/apt-fix-missing branch March 18, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants