Repository navigation
Docs: update python version to 3.13 - #15103
Conversation
Signed-off-by: Jin Hai <[email protected]>
📝 WalkthroughWalkthroughThis PR updates Python references from 3.12 to 3.13 across setup and test documentation, adjusts error messages to mention Python 3.13 for dependency installation, bumps the runtime dependency ChangesPython 3.13 migration
🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs:
Suggested labels:
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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 |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
test/benchmark/README.md (1)
254-254: 💤 Low valueMinor markdown formatting issue detected.
The code span has extra spaces inside the backticks. Static analysis flagged this as MD038.
✨ Proposed fix
-- Make sure to run ```uv sync --python 3.13 --group test ``` before running the commands. +- Make sure to run ```uv sync --python 3.13 --group test``` before running the commands.🤖 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 `@test/benchmark/README.md` at line 254, A markdown code span has an extra space before the closing backticks causing MD038; edit the line containing the inline code "uv sync --python 3.13 --group test" so the backticks directly enclose the command (remove the trailing space before the closing ```), ensuring the text becomes: Make sure to run ```uv sync --python 3.13 --group test``` before running the commands.
🤖 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.
Nitpick comments:
In `@test/benchmark/README.md`:
- Line 254: A markdown code span has an extra space before the closing backticks
causing MD038; edit the line containing the inline code "uv sync --python 3.13
--group test" so the backticks directly enclose the command (remove the trailing
space before the closing ```), ensuring the text becomes: Make sure to run ```uv
sync --python 3.13 --group test``` before running the commands.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: a24d3bcd-870e-4a3e-9ecc-79a705391c72
📒 Files selected for processing (18)
AGENTS.mdREADME.mdREADME_ar.mdREADME_fr.mdREADME_id.mdREADME_ja.mdREADME_ko.mdREADME_pt_br.mdREADME_tr.mdREADME_tzh.mdREADME_zh.mdadmin/client/user.pydocs/develop/launch_ragflow_from_source.mddocs/develop/mcp/launch_mcp_server.mdpyproject.tomltest/README.mdtest/benchmark/README.mdtest/benchmark/auth.py
Signed-off-by: Jin Hai <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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 `@test/unit_test/api/apps/sdk/test_dify_retrieval.py`:
- Line 102: The get_by_ids stub currently ignores its _ids parameter and always
returns docs from chunks; change the lambda so it iterates over the incoming
_ids and returns a SimpleNamespace per id (id=<the id>) while pulling
meta_fields from the matching entry in chunks (match on chunk["doc_id"]) or
using {} if not found, so the stub enforces that the handler requests the
correct IDs (update the get_by_ids=lambda ... expression to build results from
_ids rather than from chunks).
🪄 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: 6f4a654c-17e4-47c3-9adf-c50a764fa516
📒 Files selected for processing (1)
test/unit_test/api/apps/sdk/test_dify_retrieval.py
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #15103 +/- ##
=======================================
Coverage 93.12% 93.12%
=======================================
Files 10 10
Lines 713 713
Branches 116 116
=======================================
Hits 664 664
Misses 29 29
Partials 20 20 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
What problem does this PR solve?
Type of change