https://cs50.readthedocs.io/cs50/check/
The image has two Python runtimes, and docker-entry.sh picks one per job:
- cs50/cli's
python3(/usr/local/bin/python3) is the default. It getsdependencies/python/requirements.txt. /opt/tensorflowis a CPython 3.14 built from source with cs50/cli's configure flags, so TensorFlow checks grade on the same interpreter students had on 3.14. It gets the samerequirements.txtplusdependencies/python/requirements-tensorflow.txt. A job runs on it whencheck50-runtimefinds that its checks importtensorflow,tf_keras,keras, ortransformers(e.g.ai50/projects/trafficandattention, which import TensorFlow in the check module and load student code in-process).
This keeps TensorFlow, which trails new Python releases by about a year, from
holding back the Python version in cs50/cli (cs50/cli#254).
Once the TensorFlow stack has wheels for cs50/cli's Python, fold
requirements-tensorflow.txt back into requirements.txt and drop the second runtime.
make build then make test (or bash tests/smoke.sh IMAGE) exercises both runtimes
the way CI does before pushing.