Skip to content

Temporarily build main on cs50/cli:python-3.15 to trial Python 3.15 in production - #56

Merged
rongxin-liu merged 1 commit into
mainfrom
python-3.15-trial
Nov 26, 2026
Merged

rongxin-liu merged 1 commit into
mainfrom
python-3.15-trial

Conversation

@rongxin-liu

Copy link
Copy Markdown
Contributor

Summary

Temporarily builds main (and so cs50/check:latest) FROM cs50/cli:python-3.15 instead of cs50/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 to latest reverts, and it should go back once cs50/cli#256 merges.

Why it is safe to try now

Verification

Built the image FROM cs50/cli:python-3.15 and ran tests/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

  1. Ship compiled pytest tests for Python 3.14 and 3.15; pick by interpreter problems#419 (and cs50/cs50p-pytest-tests#8, its source)
  2. this PR

…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.
@rongxin-liu rongxin-liu self-assigned this Nov 26, 2026
@rongxin-liu
rongxin-liu merged commit 3218269 into main Nov 26, 2026
1 check passed
@rongxin-liu
rongxin-liu deleted the python-3.15-trial branch November 26, 2026 14:04
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.

1 participant