Skip to content

Documentation: Python version discrepancy in server READMEs (3.10 vs 3.12) #1579

@davidemarchisio

Description

@davidemarchisio

There is a conflict between the recommended Python version in the documentation and the actual requirements defined in the codebase for the server/ component.

The Problem:
The README files in server/ recommend Python 3.10.15, but the project configuration strictly requires Python 3.12.

Evidence:

  • server/pyproject.toml: Specifies requires-python = ">=3.12,<3.13".
  • server/uv.lock: Pins requires-python = "==3.12.*".
  • server/Dockerfile: Uses FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim.
  • Error observed when attempting to use 3.10:
    uv python pin 3.10.15
    error: The requested Python version `3.10.15` is incompatible with the project `requires-python` value of `==3.12.*`.

Affected Files:
The following files still list 3.10 as the recommended version:

  1. server/README_EN.md
  2. server/README_CN.md
  3. server/README_PT-BR.md

Suggested Fix:
Update the "Prerequisites" section in the above READMEs to recommend Python 3.12.x to match the pyproject.toml and Docker configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions