mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-12 14:45:42 +08:00
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:
@@ -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
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -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```
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user