Devr.AI icon indicating copy to clipboard operation
Devr.AI copied to clipboard

Clarify supported Python versions and document CUDA dependency issues

Open mahek2016 opened this issue 9 months ago β€’ 1 comments

Closes #272

πŸ“ Description

This pull request improves the installation and onboarding documentation for new contributors.

While setting up the project locally, I encountered issues related to unsupported Python versions and CUDA-related dependencies. These were not clearly documented, which may cause confusion for first-time contributors.

This update clarifies:

  • Supported Python versions (>=3.10 and <3.13)
  • Python 3.13 incompatibility issues
  • CUDA/NVIDIA dependency installation failures
  • Recommended use of Docker for consistent setup

These changes reduce onboarding friction and improve the overall contributor experience.

πŸ”§ Changes Made

  • Updated Python version requirement in prerequisites section
  • Added warning about Python 3.13 incompatibility
  • Added CUDA/GPU dependency notice section
  • Documented common installation error: ERROR: No matching distribution found for nvidia-cufile-cu12
  • Suggested Docker as recommended setup for consistency

πŸ“· Screenshots or Visual Changes (if applicable)

Not applicable – documentation update only.

🀝 Collaboration

Collaborated with: N/A

βœ… Checklist

  • [x] I have read the contributing guidelines.
  • [ ] I have added tests that prove my fix is effective or that my feature works.
  • [x] I have added necessary documentation (if applicable).
  • [ ] Any dependent changes have been merged and published in downstream modules.

Summary by CodeRabbit

  • Documentation
    • Updated Python version requirements (3.10–3.12, with 3.11 recommended); noted Python 3.13 incompatibility
    • Added GPU/CUDA dependency information for NVIDIA systems, including installation guidance and troubleshooting workarounds

mahek2016 avatar Feb 16 '26 17:02 mahek2016

πŸ“ Walkthrough

Walkthrough

Documentation update to the installation guide refining Python version requirements (β‰₯ 3.10, < 3.13, with 3.11 recommended) and introducing a new GPU/CUDA dependency notice with troubleshooting guidance for NVIDIA-related package installation failures.

Changes

Cohort / File(s) Summary
Installation Guide Updates
docs/INSTALL_GUIDE.md
Updated Python version constraints and added CUDA dependency documentation. Changed recommended Python from 3.10 to 3.11 for Poetry environment; added explicit 3.13 compatibility warning; introduced GPU/CUDA Dependency Notice section detailing NVIDIA packages, common installation failures, and workarounds.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 With whiskers twitching at version bounds,
I hopped through docs with curious bounds,
Python three-eleven hops just right,
While CUDA warnings shine so bright!
Now newcomers find their way with cheer,
The installation path is crystal clear! πŸš€

πŸš₯ Pre-merge checks | βœ… 5 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The PR partially addresses issue #272 objectives by documenting CUDA dependency issues and clarifying Python versions, but does not document environment variables or add a comprehensive Common Errors section as requested. Complete the remaining requirements from #272: document environment variables in .env.example file and expand the Common Errors section to cover additional setup issues beyond CUDA.
βœ… Passed checks (5 passed)
Check name Status Explanation
Description Check βœ… Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check βœ… Passed The title accurately and concisely describes the main changes to the INSTALL_GUIDE.md documentation, directly addressing Python version clarification and CUDA dependency documentation.
Out of Scope Changes check βœ… Passed Changes are focused on installation documentation and are aligned with the PR objectives; however, the scope is narrower than the linked issue requirements.
Docstring Coverage βœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection βœ… Passed βœ… No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
πŸ§ͺ Generate unit tests (beta)
  • [ ] Create PR with unit tests
  • [ ] Post copyable unit tests in a comment

[!TIP] Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


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.

coderabbitai[bot] avatar Feb 16 '26 17:02 coderabbitai[bot]