Bump python to >=3.12 (#11846)

### What problem does this PR solve?

Bump python to >=3.12

### Type of change

- [x] Refactoring
This commit is contained in:
Zhichang Yu
2025-12-09 19:55:25 +08:00
committed by GitHub
parent 65a5a56d95
commit f128a1fa9e
19 changed files with 402 additions and 865 deletions

View File

@ -44,14 +44,14 @@ cd ragflow/
2. Install RAGFlow service's Python dependencies:
```bash
uv sync --python 3.11 --frozen
uv sync --python 3.12 --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.11 --group test --frozen && uv pip install sdk/python --group test
uv sync --python 3.12 --group test --frozen && uv pip install sdk/python --group test
```
### Launch third-party services