Summary
cloudflare/sandbox:0.4.x still bundles /usr/bin/python3 as Python 3.11.0rc1, so every import and venv inherits the
RC interpreter.
Proof
docker run --rm cloudflare/sandbox:0.4.12 python3 --version
# Python 3.11.0rc1
Impact
OpenAI’s Agents SDK (and other typing-heavy libs) trip over that RC build. For reference, openai/openai-agents-python#891
(openai/openai-agents-python#891) reproduces a KeyError: ~TContext on Python 3.11.0/rc1 but
disappears on 3.12+. We’re forced to add the Deadsnakes PPA and apt-install 3.12 in every Docker build just to stay stable,
which slows CI/CD and widens the failure surface.
Ask
Ship a new sandbox tag with a stable Python ≥3.12 baked in so downstream users can drop the workaround.