[deps] Drop Python 3.9 support, bump networkx to 3.5+#156
Conversation
📝 WalkthroughWalkthroughThis PR updates GitHub Actions CI configuration and dependency constraints. The workflow now triggers pull request builds only for the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
c06fa41 to
ff9ad79
Compare
|
The CI is failing due to transient infrastructure issues (not related to your code). I have restarted the failed jobs automatically (1/3). |
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 `@requirements.txt`:
- Line 4: The requirements.txt line pinning NetworkX to "networkx>=3.5,<3.8"
conflicts with Python 3.10 in the CI matrix; either remove Python 3.10 from the
CI matrix or constrain NetworkX with Python-version environment markers so 3.10
gets a compatible range and 3.11+ gets networkx>=3.5. Edit requirements.txt to
add two markers: a NetworkX spec that is compatible with Python 3.10 (e.g., an
upper bound below 3.5) for python_version<'3.11' and keep the existing
networkx>=3.5,<3.8 only for python_version>='3.11', or alternatively drop 3.10
from .github/workflows/ci.yml if you intend to require Python 3.11+.
🪄 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: ASSERTIVE
Plan: Pro
Run ID: 55872f10-e0d2-4fa0-bcf2-d022169a4c5c
📒 Files selected for processing (2)
.github/workflows/ci.ymlrequirements.txt
💤 Files with no reviewable changes (1)
- .github/workflows/ci.yml
📜 Review details
⏰ 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). (2)
- GitHub Check: Python==3.13
- GitHub Check: Kilo Code Review
Summary
>=2.6,<3.5to>=3.5,<3.8NetworkX 3.3+ no longer supports Python 3.9 (dropped April 2024), and 3.5+ requires Python 3.11+ (dropped 3.10 in May 2025).