Repository navigation
Update the shared Python pins to their current releases - #54
Merged
Merged
Conversation
Every pin in requirements.txt moves to its latest release with both cp314 and cp315 wheels, so both runtimes keep installing from wheels. Pillow moves to 13.0.0, the version cs50/codespace now pins (cs50/codespace#205): the CS50P shirt check byte-hashes students' JPEGs, so the grader's Pillow and the codespace's must agree, and the reference solution hashes identically on 11.3.0, 12.3.0, and 13.0.0. passlib stays at 1.7.4. The PyPI project published 1.9.5 on 2026-11-23 from a new maintainer and GitHub org after six years without a release; until that handover is accounted for, 1.7.4 (which works on 3.14 and 3.15) is the safer pin. The TensorFlow pins in requirements-tensorflow.txt are unchanged.
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
Every shared pin moves to its current release, each with both cp314 and cp315 wheels so the default and TensorFlow runtimes keep installing from wheels. Pillow goes to 13.0.0 to match cs50/codespace#205: the CS50P
shirtcheck byte-hashes the JPEG a student's Pillow writes, so the grader's Pillow and the codespace's must agree, and the reference solution hashes identically on 11.3.0, 12.3.0, and 13.0.0.cachelibemojifpdf2inflectnltkopencv-pythonpandasPillowplotlypytzvalidatorsnumpy,scikit-learn, and the rest were already current. The TensorFlow pins inrequirements-tensorflow.txtare unchanged.Deliberately not bumped:
passlibpasslib1.9.5 appeared on PyPI on 2026-11-23 from a new maintainer (notypecheck@gmail.com) and a new GitHub org, with the author field blanked, after six years with no release (1.7.4, Oct 2020, Eli Collins). It may be a legitimate handover, but nothing confirms that yet, and 1.7.4 imports and hashes correctly on 3.14 and 3.15 with no deprecation warnings. Staying on 1.7.4 until the handover is accounted for; the pin's comment says why.Verification
Resolved the pins on both
cs50/cli:canary(3.15.2) andcs50/cli:latest(3.14.10), alongside the TensorFlow stack on the latter: identical results. Built the image's Python layersFROM cs50/cli:canaryand rantests/smoke.sh: both runtimes satisfy their pins, the default runtime has no TensorFlow, the TF runtime trains a Keras 3 model and loads transformers' TF classes with the new numpy and pandas, routing is unchanged, and check50 grades a TensorFlow submission end to end. Separately exercised the larger jumps (pandas 3.1, plotly 7, fpdf2 2.9, emoji, inflect, validators) on 3.15.