DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.
Python ai-agentsai-tutorclawbotcli-tooldeepresearchinteractive-learninglearningmulti-agent-systemsrag
fix: python version
Bingxi Zhao (Frank)2d7024bab256
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlindex 230dc0ff6..d8d4c287b 100644--- a/.github/ISSUE_TEMPLATE/bug_report.yml+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -74,7 +74,7 @@ body:description: |- DeepTutor Version: e.g., v0.5.0- Operating System: e.g., macOS 14.0, Windows 11, Ubuntu 22.04- - Python Version: e.g., 3.10.0+ - Python Version: e.g., 3.11.0- Node.js Version: e.g., 18.17.0- Browser (if applicable): e.g., Chrome 120, Firefox 121- Related Issues: e.g., #1diff --git a/.github/dependabot.yml b/.github/dependabot.ymldeleted file mode 100644index cf1be9afe..000000000--- a/.github/dependabot.yml+++ /dev/null@@ -1,86 +0,0 @@-# ============================================-# Dependabot Configuration-# ============================================-# Automatically checks for dependency updates and security vulnerabilities-# Creates pull requests to keep dependencies up-to-date-#-# Documentation: https://docs.github.com/en/code-security/dependabot-# ============================================--version: 2-updates:- # Python dependencies (pip)- - package-ecosystem: "pip"- directory: "/"- schedule:- interval: "weekly"- day: "monday"- time: "09:00"- timezone: "Asia/Hong_Kong"- open-pull-requests-limit: 5- labels:- - "dependencies"- - "python"- commit-message:- prefix: "chore(deps)"- groups:- # Group minor and patch updates together- python-minor-patch:- patterns:- - "*"- update-types:- - "minor"- - "patch"-- # Node.js dependencies (npm) for web frontend- - package-ecosystem: "npm"- directory: "/web"- schedule:- interval: "weekly"- day: "monday"- time: "09:00"- timezone: "Asia/Hong_Kong"- open-pull-requests-limit: 5- labels:- - "dependencies"- - "javascript"- commit-message:- prefix: "chore(deps)"- groups:- # Group minor and patch updates together- npm-minor-patch:- patterns:- - "*"- update-types:- - "minor"- - "patch"-- # GitHub Actions- - package-ecosystem: "github-actions"- directory: "/"- schedule:- interval: "weekly"- day: "monday"- time: "09:00"- timezone: "Asia/Hong_Kong"- open-pull-requests-limit: 3- labels:- - "dependencies"- - "github-actions"- commit-message:- prefix: "chore(deps)"-- # Docker dependencies- - package-ecosystem: "docker"- directory: "/"- schedule:- interval: "weekly"- day: "monday"- time: "09:00"- timezone: "Asia/Hong_Kong"- open-pull-requests-limit: 2- labels:- - "dependencies"- - "docker"- commit-message:- prefix: "chore(deps)"diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 213526d5e..47550cffb 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -33,7 +33,7 @@ jobs:strategy:fail-fast: falsematrix:- python-version: ["3.10", "3.11", "3.12"]+ python-version: ["3.11", "3.12"]steps:- name: Checkout code@@ -126,7 +126,7 @@ jobs:echo "" >> $GITHUB_STEP_SUMMARYecho "| Check | Status |" >> $GITHUB_STEP_SUMMARYecho "|-------|--------|" >> $GITHUB_STEP_SUMMARY- echo "| Import check (3.10/3.11/3.12) | ${{ needs.import-check.result == 'success' && '✅ Passed' || '❌ Failed' }} |" >> $GITHUB_STEP_SUMMARY+ echo "| Import check (3.11/3.12) | ${{ needs.import-check.result == 'success' && '✅ Passed' || '❌ Failed' }} |" >> $GITHUB_STEP_SUMMARYecho "| Smoke tests (3.11) | ${{ needs.smoke-tests.result == 'success' && '✅ Passed' || '❌ Failed' }} |" >> $GITHUB_STEP_SUMMARY- name: Fail if tests faileddiff --git a/README.md b/README.mdindex 83a43633b..442e71af0 100644--- a/README.md+++ b/README.md@@ -4,7 +4,7 @@# DeepTutor: Towards Agentic Personalized Tutoring-[](https://www.python.org/downloads/)+[](https://www.python.org/downloads/)[](https://nextjs.org/)[](LICENSE)[](https://github.com/HKUDS/DeepTutor/releases)diff --git a/SKILL.md b/SKILL.mdindex b9c33db66..a2d35689b 100644--- a/SKILL.md+++ b/SKILL.md@@ -14,7 +14,7 @@ Use this skill when the user wants to:## Prerequisites-- Python 3.10++- Python 3.11+- DeepTutor installed: `pip install -e .` (core) or `pip install -e ".[server]"` (with web)- Run `python scripts/start_tour.py` for first-time interactive setup (configures LLM, embedding, search providers and writes `.env`)diff --git a/assets/README/README_AR.md b/assets/README/README_AR.mdindex 40133a1aa..66bb72c68 100644--- a/assets/README/README_AR.md+++ b/assets/README/README_AR.md@@ -4,7 +4,7 @@# DeepTutor: نحو تعليم شخصي قائم على الوكلاء-[](https://www.python.org/downloads/)+[](https://www.python.org/downloads/)[](https://nextjs.org/)[](../../LICENSE)[](https://github.com/HKUDS/DeepTutor/releases)diff --git a/assets/README/README_CN.md b/assets/README/README_CN.mdindex 5e22290a2..c812fcf2f 100644--- a/assets/README/README_CN.md+++ b/assets/README/README_CN.md@@ -4,7 +4,7 @@# DeepTutor:迈向智能体驱动的个性化辅导-[](https://www.python.org/downloads/)+[](https://www.python.org/downloads/)[](https://nextjs.org/)[](../../LICENSE)[](https://github.com/HKUDS/DeepTutor/releases)diff --git a/assets/README/README_ES.md b/assets/README/README_ES.mdindex 3f169bd54..61508139f 100644--- a/assets/README/README_ES.md+++ b/assets/README/README_ES.md@@ -4,7 +4,7 @@# DeepTutor: Hacia un tutorizado personalizado basado en agentes-[](https://www.python.org/downloads/)+[](https://www.python.org/downloads/)[](https://nextjs.org/)[](../../LICENSE)[](https://github.com/HKUDS/DeepTutor/releases)diff --git a/assets/README/README_FR.md b/assets/README/README_FR.mdindex 4be46e7a9..26c26d4e4 100644--- a/assets/README/README_FR.md+++ b/assets/README/README_FR.md@@ -4,7 +4,7 @@# DeepTutor : vers un tutorat personnalisé fondé sur les agents-[](https://www.python.org/downloads/)+[](https://www.python.org/downloads/)[](https://nextjs.org/)[](../../LICENSE)[](https://github.com/HKUDS/DeepTutor/releases)diff --git a/assets/README/README_HI.md b/assets/README/README_HI.mdindex 6ef0c6a11..d5903744f 100644--- a/assets/README/README_HI.md+++ b/assets/README/README_HI.md@@ -4,7 +4,7 @@# DeepTutor: एजेंटिक व्यक्तिगत शिक्षण की ओर-[](https://www.python.org/downloads/)+[](https://www.python.org/downloads/)[](https://nextjs.org/)[](../../LICENSE)[](https://github.com/HKUDS/DeepTutor/releases)diff --git a/assets/README/README_JA.md b/assets/README/README_JA.mdindex 6eb9fa155..38841b045 100644--- a/assets/README/README_JA.md+++ b/assets/README/README_JA.md@@ -4,7 +4,7 @@# DeepTutor: エージェント型パーソナライズドチュータリングへ-[](https://www.python.org/downloads/)+[](https://www.python.org/downloads/)[](https://nextjs.org/)[](../../LICENSE)[](https://github.com/HKUDS/DeepTutor/releases)diff --git a/assets/README/README_PT.md b/assets/README/README_PT.mdindex 873ee8961..8bea31044 100644--- a/assets/README/README_PT.md+++ b/assets/README/README_PT.md@@ -4,7 +4,7 @@# DeepTutor: Rumo a um tutorado personalizado baseado em agentes-[](https://www.python.org/downloads/)+[](https://www.python.org/downloads/)[](https://nextjs.org/)[](../../LICENSE)[](https://github.com/HKUDS/DeepTutor/releases)diff --git a/assets/README/README_RU.md b/assets/README/README_RU.mdindex fd5bf307a..4bd5f6f80 100644--- a/assets/README/README_RU.md+++ b/assets/README/README_RU.md@@ -4,7 +4,7 @@# DeepTutor: к персонализированному обучению на основе агентов-[](https://www.python.org/downloads/)+[](https://www.python.org/downloads/)[](https://nextjs.org/)[](../../LICENSE)[](https://github.com/HKUDS/DeepTutor/releases)diff --git a/docs/guide/local-start.md b/docs/guide/local-start.mdindex d60ff9c54..9d010a31e 100644--- a/docs/guide/local-start.md+++ b/docs/guide/local-start.md@@ -5,7 +5,7 @@ DeepTutor now has a single local onboarding flow.## Recommended flow1. Clone the repository.-2. Activate a Python 3.10+ environment.+2. Activate a Python 3.11+ environment.3. Install from source:```bashdiff --git a/docs/guide/troubleshooting.md b/docs/guide/troubleshooting.mdindex 06ce1d6eb..b422d9178 100644--- a/docs/guide/troubleshooting.md+++ b/docs/guide/troubleshooting.md@@ -3,7 +3,7 @@## Backend fails to start?**Checklist**-- Confirm Python version >= 3.10+- Confirm Python version >= 3.11- Confirm all dependencies installed: `pip install -r requirements.txt`- Check if port 8001 is in use (configurable in `config/main.yaml`)- Check `.env` file configurationdiff --git a/docs/zh/guide/local-start.md b/docs/zh/guide/local-start.mdindex ed2099cbe..a01d8c0a7 100644--- a/docs/zh/guide/local-start.md+++ b/docs/zh/guide/local-start.md@@ -5,7 +5,7 @@ DeepTutor 现在只有一套官方本机引导流程。## 推荐流程1. `git clone` 项目。-2. 激活 Python 3.10+ 环境。+2. 激活 Python 3.11+ 环境。3. 从源码安装:```bashdiff --git a/docs/zh/guide/troubleshooting.md b/docs/zh/guide/troubleshooting.mdindex dc1f92e03..9be19db2c 100644--- a/docs/zh/guide/troubleshooting.md+++ b/docs/zh/guide/troubleshooting.md@@ -6,7 +6,7 @@| 问题 | 解决方案 ||:--------|:---------|-| 后端启动失败 | 检查 Python ≥ 3.10,验证 `.env` 配置 |+| 后端启动失败 | 检查 Python ≥ 3.11,验证 `.env` 配置 || `npm: command not found` | 安装 Node.js: `conda install -c conda-forge nodejs` || 端口已被占用 | 终止进程:`lsof -i :8001` → `kill -9 <PID>` |diff --git a/pyproject.toml b/pyproject.tomlindex 94a12fdb6..e093984a4 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"name = "deeptutor"version = "1.0.0"description = "An agent-native intelligent learning companion with multi-agent collaboration and RAG"-requires-python = ">=3.10"+requires-python = ">=3.11"readme = "README.md"license = {text = "Apache-2.0"}dependencies = [@@ -72,7 +72,7 @@ include = ["deeptutor*", "deeptutor_cli*"]# ============================================[tool.black]line-length = 100-target-version = ['py310', 'py311', 'py312']+target-version = ['py311', 'py312']include = '\.pyi?$'extend-exclude = '''/(@@ -99,7 +99,7 @@ extend-exclude = '''# ============================================[tool.ruff]# Target Python version-target-version = "py310"+target-version = "py311"line-length = 100[tool.ruff.lint]@@ -235,7 +235,7 @@ addopts = [# MyPy type checking configuration# ============================================[tool.mypy]-python_version = "3.10"+python_version = "3.11"# Relaxed type checking for gradual adoptionpretty = falseshow_error_context = falsediff --git a/requirements.txt b/requirements.txtindex 56efce015..2cc9bec90 100644--- a/requirements.txt+++ b/requirements.txt@@ -1,7 +1,7 @@# ============================================# DeepTutor Python Dependencies (Runtime Bundle)# ============================================-# Python >= 3.10 required+# Python >= 3.11 required## For targeted installs:# pip install -r requirements/cli.txt # CLI (full, with RAG + tools)