Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion readme_docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9.15
FROM python:3.13.12
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apt python3-sphinx installs for wrong Python version

Low Severity

With the base image change from python:3.9.15 (Debian Bullseye, system Python 3.9) to python:3.13.12 (Debian Bookworm, system Python 3.11), the apt-get install python3-sphinx now installs Sphinx for system Python 3.11 rather than the container's primary Python 3.13. This makes the apt-installed Sphinx package effectively useless — project packages from uv sync are installed for Python 3.13, so the apt-installed sphinx-build (using Python 3.11) cannot access them. The build_docs.sh script works around this by pip-installing sphinx extensions (which pulls in Sphinx for Python 3.13), but the apt package now adds unnecessary bloat and a potentially confusing second Python installation.

Fix in Cursor Fix in Web


COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv

Expand Down