LEADS-160: Adding python 3.13 compatibility#115
Conversation
WalkthroughUpdated Python version requirements in two Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
🧰 Additional context used🧠 Learnings (2)📚 Learning: 2025-07-16T12:07:29.169ZApplied to files:
📚 Learning: 2025-11-24T16:59:21.420ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (1)
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
lsc_agent_eval/pyproject.toml (1)
44-45: Align ruff target-version with supported Python 3.13.The ruff config specifies
target-version = "py311", but therequires-pythonconstraint now includes Python 3.13. Consider updating the target-version comment and setting to"py313"to ensure linting and compatibility checks are applied to the highest supported version. Alternatively, document if py311 is intentionally the conservative minimum target.Apply this diff if py313 should be the target:
[tool.ruff] -# always generate Python 3.11-compatible code. -target-version = "py311" +# always generate Python 3.13-compatible code. +target-version = "py313"Or if py311 is intentional, update the comment for clarity:
[tool.ruff] -# always generate Python 3.11-compatible code. +# minimum target version is Python 3.11; supports up to 3.13. target-version = "py311"
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
lsc_agent_eval/pyproject.toml(1 hunks)pyproject.toml(1 hunks)
🧰 Additional context used
🧠 Learnings (3)
📚 Learning: 2025-08-26T11:17:48.640Z
Learnt from: asamal4
Repo: lightspeed-core/lightspeed-evaluation PR: 28
File: lsc_eval/runner.py:99-103
Timestamp: 2025-08-26T11:17:48.640Z
Learning: The lsc_eval generic evaluation tool is intended to become the primary evaluation framework, replacing an existing evaluation tool in the lightspeed-evaluation repository.
Applied to files:
pyproject.toml
📚 Learning: 2025-07-16T12:07:29.169Z
Learnt from: asamal4
Repo: lightspeed-core/lightspeed-evaluation PR: 19
File: lsc_agent_eval/tests/core/agent_goal_eval/test_script_runner.py:0-0
Timestamp: 2025-07-16T12:07:29.169Z
Learning: In the lsc_agent_eval package, the ScriptRunner class was modified to use absolute paths internally rather than documenting path normalization behavior, providing more predictable and consistent path handling.
Applied to files:
lsc_agent_eval/pyproject.toml
📚 Learning: 2025-11-24T16:59:21.420Z
Learnt from: CR
Repo: lightspeed-core/lightspeed-evaluation PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-11-24T16:59:21.420Z
Learning: Do not add features to the legacy `lsc_agent_eval/` directory; use `src/lightspeed_evaluation/` instead
Applied to files:
lsc_agent_eval/pyproject.toml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
- GitHub Check: mypy
- GitHub Check: tests (3.13)
- GitHub Check: tests (3.11)
- GitHub Check: tests (3.12)
🔇 Additional comments (1)
pyproject.toml (1)
6-6: PR description missing required verification details.The version constraint change is correct, but the PR description is incomplete—it's a template with unchecked boxes and no testing steps, change rationale, or verification artifacts. Per the PR template's testing section, detailed test steps and verification are required before merge.
As a follow-up, please confirm:
- Testing completed on Python 3.13 runtime
- All CI/CD checks pass on Python 3.13 (especially dev tools: mypy, ruff, pytest, etc.)
- Any code changes needed for Python 3.13 compatibility (e.g., removed stdlib modules, deprecated APIs)
|
We also need to add 3.13 CI test suites. And need to update uv lock file for main evaluation |
VladimirKadlec
left a comment
There was a problem hiding this comment.
Did we test that it works with 3.13?
Yups @VladimirKadlec, tested it by creating a new virtual environment with Python 3.13.7 and running the evaluation framework inside it |
Hi @asamal4, Added uv.lock. |

Description
Type of change
Tools used to create PR
Identify any AI code assistants used in this PR (for transparency and review context)
Related Tickets & Documents
Checklist before requesting a review
Testing
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.