feat(worker): publish py3.13 image variants#98
Open
deanq wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Python 3.13 as an additional published worker-image variant by installing python3.13 via deadsnakes on the GPU-based images (which don’t ship 3.13) and expanding the CI build/release matrices accordingly.
Changes:
- Add conditional deadsnakes-based install of
python3.13(plus-venv/-dev) inDockerfileandDockerfile-lbwhenPYTHON_VERSION=3.13. - Expand GitHub Actions docker test matrices to include Python 3.13 across cpu/gpu/lb variants.
- Expand GitHub Actions docker production include matrices to publish 3.13 tags (non-default).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| Dockerfile | Installs Python 3.13 from deadsnakes PPA for GPU image when requested. |
| Dockerfile-lb | Mirrors GPU Dockerfile change for the load-balancer image variant. |
| .github/workflows/ci.yml | Adds 3.13 to docker test and prod publish matrices. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This was referenced May 22, 2026
f5d3a18 to
4bcce1a
Compare
KAJdev
approved these changes
May 23, 2026
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
Adds Python 3.13 to the worker image CI matrix. No Dockerfile changes required — the base image
runpod/pytorch:1.0.3-cu1281-torch291-ubuntu2204already shipspython3.13at/usr/bin/python3.13(verified viadocker run ... python3.13 --version→Python 3.13.11). The existing non-3.12 install path (pip bootstrap + torch reinstall + symlink repoint) handles 3.13 unchanged.What's in this PR
.github/workflows/ci.yml: 3.13 added to the fourdocker-test-*matrices (build/test) and to the fourdocker-prod-*include-style matrices (release-build). One commit, +12/-4.Why this is small
An earlier revision added a deadsnakes-PPA install for 3.13 — that was unnecessary (the base already has it) and introduced a supply-chain concern flagged by Copilot. Dropped via force-push. Verifying that
python3.13 --versionworks directly from the base is enough.Verification
docker run --rm runpod/pytorch:1.0.3-cu1281-torch291-ubuntu2204 python3.13 --version→Python 3.13.11docker buildx build --build-arg PYTHON_VERSION=3.13 -f Dockerfile .advances pastpython3.13 --versioninto the torch-install step (local QEMU runs hit transient network read errors on the 700 MB torch wheel; CI on native amd64 will handle it).Linear
AE-3152 (child of AE-2827)
Test plan
runpod/flash:py3.13-{gpu,cpu,lb,lb-cpu}exist on Docker HubPython 3.13 OK