Repository navigation
feat: add python3-pip, python3-venv, python3-dev to default sandbox image - #33
Merged
Merged
Conversation
…mage and clarify Docker image build spinner messages
… host stdin closes
…t PTY exit in non-TTY contexts
malaporte
marked this pull request as ready for review
April 13, 2026 09:04
|
🎉 This PR is included in version 0.21.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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
Add core Python tooling to the default sandbox image so that
pip3,venv, and native extension builds work out of the box without any user configuration.Changes
python3-pipto the default Dockerfile apt install block —pip3was missing from the base imagepython3-venv— required forpython3 -m venvto work on Debian/Ubuntu (confirmed broken on the base image without it)python3-dev— provides headers needed to build packages with native C extensionsstatus.tsand its test to use "default Docker image" instead of "bundled default sandbox image"Testing
bun run typecheckpassespip3andvenvare absent from the base image (public.ecr.aws/s5i7k8t3/strongdm/coder:latest) by running the image directlyReviewer Notes
The three Python packages are small and install quickly.
uvremains the recommended Python package manager for project work (already in the image), butpip3andvenvare expected baseline tools that users will reach for instinctively.