Skip to content

Docs: Minimum required Python version increased to 3.13. - #15219

Merged
yingfeng merged 1 commit into
infiniflow:mainfrom
writinwaters:python3.13
May 25, 2026
Merged

yingfeng merged 1 commit into
infiniflow:mainfrom
writinwaters:python3.13

Conversation

@writinwaters

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Minimum Python version increased to 3.13.

Type of change

  • Documentation Update

@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label May 25, 2026
@writinwaters
writinwaters requested review from 6ba3i and yingfeng May 25, 2026 12:14
@coderabbitai

coderabbitai Bot commented May 25, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This 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.

Changes

Python 3.13 Minimum Version Documentation Update

Layer / File(s) Summary
Self-Hosting prerequisites across README translations
README.md, README_ar.md, README_fr.md, README_id.md, README_ja.md, README_ko.md, README_pt_br.md, README_tr.md, README_tzh.md, README_zh.md
All 10 README files (English and 9 language translations) are updated consistently to add Python >= 3.13 to the Self-Hosting prerequisites section.
Quickstart guide prerequisites
docs/quickstart.mdx
Prerequisites section updated to add Python ≥ 3.13 alongside existing Docker and Docker Compose version requirements.
Release notes for v0.25.5
docs/release_notes.md
Rewords the Python 3.13 minimum-version bullet, expands the reranking robustness bullet with detailed stability and fault-tolerance notes mentioning timeouts and provider fixes, and rewords the Nginx minimum-version bullet to match the new phrasing style.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~4 minutes

Possibly related PRs

  • infiniflow/ragflow#15109: Both PRs modify docs/release_notes.md for the v0.25.5 release, including wording updates to the Python 3.13 minimum-version requirement and related release-note bullets.
  • infiniflow/ragflow#15103: Both PRs update documentation around Python versioning to require Python 3.13 (main PR adds Python >= 3.13 to prerequisites sections; related PR updates setup instructions to use --python 3.13).

Suggested labels

size:M, documentation

Suggested reviewers

  • yingfeng
  • JinHai-CN
  • wangq8

Poem

🐰 A rabbit hops through docs with glee,
Three-thirteen's the Python key!
READMEs worldwide, quickstart true,
Release notes sing of what's new.
Version bumps made crystal-clear,
From now to far and far and near! 🌟

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: updating documentation to reflect the minimum Python version requirement of 3.13.
Description check ✅ Passed The description adequately covers the required template sections with a clear problem statement and appropriate type of change selection (Documentation Update).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@writinwaters

Copy link
Copy Markdown
Contributor Author

@6ba3i I took the liberty of using the right-to-left formmating on the Arabian translation, and would appreciate your double check.

Cheers.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between af85aa9 and 11440d7.

📒 Files selected for processing (12)
  • README.md
  • README_ar.md
  • README_fr.md
  • README_id.md
  • README_ja.md
  • README_ko.md
  • README_pt_br.md
  • README_tr.md
  • README_tzh.md
  • README_zh.md
  • docs/quickstart.mdx
  • docs/release_notes.md

Comment thread README_tzh.md
- RAM >= 16 GB
- Disk >= 50 GB
- Docker >= 24.0.0 & Docker Compose >= v2.26.1
- Python >= 3.13

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

🧩 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*(>=|&ge;)\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|&lt;\s*3\.15' || true

Repository: 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.

Comment thread README.md
- RAM >= 16 GB
- Disk >= 50 GB
- Docker >= 24.0.0 & Docker Compose >= v2.26.1
- Python >= 3.13

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

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.

Suggested change
- 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.

@yingfeng
yingfeng merged commit 67e43e7 into infiniflow:main May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants