Docs: update python version to 3.13 (#15103)

### What problem does this PR solve?

1. update python version to 3.13
2. upgrade ormsgpack to 1.6.0

### Type of change

- [x] Refactoring

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-05-21 19:09:19 +08:00
committed by GitHub
parent a725e114f9
commit 775ea55679
18 changed files with 19 additions and 19 deletions

View File

@@ -10,7 +10,7 @@
**Install Python dependencies (including test dependencies):**
```bash
uv sync --python 3.12 --only-group test --no-default-groups --frozen
uv sync --python 3.13 --only-group test --no-default-groups --frozen
```

View File

@@ -251,7 +251,7 @@ These scripts create a dataset,
upload/parse docs from test/benchmark/test_docs, run the benchmark, and clean up.
The both script runs retrieval then chat on the same dataset, then deletes it.
- Make sure to run ```uv sync --python 3.12 --group test ``` before running the commands.
- Make sure to run ```uv sync --python 3.13 --group test ``` before running the commands.
- It is also necessary to run these commands prior to initializing your containers if you plan on using the built-in embedded model: ```echo -e "TEI_MODEL=BAAI/bge-small-en-v1.5" >> docker/.env```
and ```echo -e "COMPOSE_PROFILES=\${COMPOSE_PROFILES},tei-cpu" >> docker/.env```

View File

@@ -12,7 +12,7 @@ def encrypt_password(password_plain: str) -> str:
from api.utils.crypt import crypt
except Exception as exc:
raise AuthError(
"Password encryption unavailable; install pycryptodomex (uv sync --python 3.12 --group test)."
"Password encryption unavailable; install pycryptodomex (uv sync --python 3.13 --group test)."
) from exc
return crypt(password_plain)