Repository navigation
Docs: Minimum required Python version increased to 3.13. - #15219
Conversation
📝 WalkthroughWalkthroughThis pull request adds Python 3.13 as a minimum version requirement across all user-facing documentation: translated README files establish the requirement for self-hosting, the quickstart guide adds it to setup prerequisites, and release notes v0.25.5 detail the version bump with reworded and expanded bullet points. ChangesPython 3.13 Minimum Version Documentation Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@6ba3i I took the liberty of using the right-to-left formmating on the Arabian translation, and would appreciate your double check. Cheers. |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@README_tzh.md`:
- Line 155: The README_tzh.md currently states "Python >= 3.13" but
pyproject.toml declares requires-python = ">=3.13,<3.15"; update the
README_tzh.md entry (the line currently saying "Python >= 3.13") to the full
supported range "Python >= 3.13, < 3.15" so it matches the requires-python
declaration, and scan other docs/quickstart for any similar lone "Python >=
3.13" occurrences to make them consistent with the requires-python range.
In `@README.md`:
- Line 155: README currently says "Python >= 3.13" which doesn't match the
package constraint in pyproject.toml (">=3.13,<3.15"); update the README entry
to document the full supported Python range exactly as in pyproject.toml (e.g.,
"Python >=3.13, <3.15" or "Python >=3.13 and <3.15") so the README and the
package metadata agree; mention or reference the pyproject.toml constraint text
if helpful for reviewers.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: d5f820b2-c314-4d19-8f4b-8af56e525db7
📒 Files selected for processing (12)
README.mdREADME_ar.mdREADME_fr.mdREADME_id.mdREADME_ja.mdREADME_ko.mdREADME_pt_br.mdREADME_tr.mdREADME_tzh.mdREADME_zh.mddocs/quickstart.mdxdocs/release_notes.md
| - RAM >= 16 GB | ||
| - Disk >= 50 GB | ||
| - Docker >= 24.0.0 & Docker Compose >= v2.26.1 | ||
| - Python >= 3.13 |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Verify the declared runtime contract and where docs mention only lower-bound Python constraints.
set -euo pipefail
echo "== pyproject requires-python =="
rg -n 'requires-python\s*=' pyproject.toml -C 1
echo
echo "== Docs mentioning Python >= 3.13 without upper bound (candidate mismatches) =="
rg -n --glob 'README*.md' --glob 'docs/**/*.md*' 'Python\s*(>=|≥)\s*3\.13'
echo
echo "== Docs explicitly mentioning <3.15 (if any) =="
rg -n --glob 'README*.md' --glob 'docs/**/*.md*' '3\.15|<\s*3\.15|<\s*3\.15' || trueRepository: infiniflow/ragflow
Length of output: 651
Document the full supported Python range (upper bound included)
pyproject.toml declares requires-python = ">=3.13,<3.15", but README_tzh.md line 155 lists only Python >= 3.13 with no < 3.15 limit. Align the README(s)/quickstart to document the full supported range.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@README_tzh.md` at line 155, The README_tzh.md currently states "Python >=
3.13" but pyproject.toml declares requires-python = ">=3.13,<3.15"; update the
README_tzh.md entry (the line currently saying "Python >= 3.13") to the full
supported range "Python >= 3.13, < 3.15" so it matches the requires-python
declaration, and scan other docs/quickstart for any similar lone "Python >=
3.13" occurrences to make them consistent with the requires-python range.
| - RAM >= 16 GB | ||
| - Disk >= 50 GB | ||
| - Docker >= 24.0.0 & Docker Compose >= v2.26.1 | ||
| - Python >= 3.13 |
There was a problem hiding this comment.
Document the full supported Python range to match project metadata.
README.md says Python >= 3.13, but the package contract is >=3.13,<3.15 (from pyproject.toml). This can mislead users on Python 3.15+.
Suggested doc fix
-- Python >= 3.13
+- Python >= 3.13, < 3.15📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| - Python >= 3.13 | |
| - Python >= 3.13, < 3.15 |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@README.md` at line 155, README currently says "Python >= 3.13" which doesn't
match the package constraint in pyproject.toml (">=3.13,<3.15"); update the
README entry to document the full supported Python range exactly as in
pyproject.toml (e.g., "Python >=3.13, <3.15" or "Python >=3.13 and <3.15") so
the README and the package metadata agree; mention or reference the
pyproject.toml constraint text if helpful for reviewers.
What problem does this PR solve?
Minimum Python version increased to 3.13.
Type of change