Repository navigation
Temporarily build main on cs50/cli:python-3.15 to trial Python 3.15 in production - #56
Merged
Merged
Conversation
…n production The base tag for main builds moves from a literal to MAIN_BASE_TAG, set to python-3.15 (published from cs50/cli#256's branch), so the grading image can run Python 3.15 ahead of cs50/cli's own move (cs50/cli#254) and surface any problems with real submissions. Everything a 3.15 default runtime needs is already in: the TensorFlow checks have their own 3.14 (#53), the shared pins have cp315 wheels (#54), and the CS50P compiled tests ship a build per version (cs50/problems#419). Setting MAIN_BASE_TAG back to latest reverts. Built the image FROM cs50/cli:python-3.15 and ran tests/smoke.sh: default runtime 3.15.2, TensorFlow runtime 3.14.10, every check passes.
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
Temporarily builds
main(and socs50/check:latest)FROM cs50/cli:python-3.15instead ofcs50/cli:latest, so production grading runs Python 3.15 ahead of cs50/cli's own move (cs50/cli#254, cs50/cli#256) and any problems surface against real submissions. The base tag becomes a workflow variable,MAIN_BASE_TAG; setting it back tolatestreverts, and it should go back once cs50/cli#256 merges.Why it is safe to try now
cs50/cli:python-3.15is a stable per-branch tag (added in Python 3.15.2, built with the configure flags the Dockerfile asks for cli#256), notcanary, so another cs50/cli branch push cannot change whatmainbuilds on.Verification
Built the image
FROM cs50/cli:python-3.15and rantests/smoke.sh: default runtime 3.15.2, TensorFlow runtime 3.14.10, both runtimes satisfy their pins, check50 grades a TensorFlow submission end to end, every check passes. The CS50P checks from cs50/problems#419 were also run against the reference solutions on 3.15 with identical results to 3.14.Merge order