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

@@ -46,14 +46,14 @@ cd ragflow/
2. Install RAGFlow service's Python dependencies:
```bash
uv sync --python 3.12 --frozen
uv sync --python 3.13 --frozen
```
*A virtual environment named `.venv` is created, and all Python dependencies are installed into the new environment.*
If you need to run tests against the RAGFlow service, install the test dependencies:
```bash
uv sync --python 3.12 --group test --frozen && uv pip install sdk/python --group test
uv sync --python 3.13 --group test --frozen && uv pip install sdk/python --group test
```
### Launch third-party services

View File

@@ -178,7 +178,7 @@ This section is contributed by our community contributor [yiminghub2024](https:/
iii. Copy [docker/entrypoint.sh](https://github.com/infiniflow/ragflow/blob/main/docker/entrypoint.sh) locally.
iv. Install the required dependencies using `uv`:
- Run `uv add mcp` or
- Copy [pyproject.toml](https://github.com/infiniflow/ragflow/blob/main/pyproject.toml) locally and run `uv sync --python 3.12`.
- Copy [pyproject.toml](https://github.com/infiniflow/ragflow/blob/main/pyproject.toml) locally and run `uv sync --python 3.13`.
2. Edit **docker-compose.yml** to enable MCP (disabled by default).
3. Launch the MCP server: