-
Couldn't load subscription status.
- Fork 24
fix: pin Python to 3.12 #362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
As of Ubuntu 24.04 LTS, the default version of Python is 3.12. Whereas, Ubuntu 22.04 LTS used Python 3.10, which is reaching End-of-Life next week. Apparently, I already had created a .python-version file locally, but it was gitignored without my knowledge. This should helps us control upgrades to Python version while some dependencies, namely `pygit2`, need extra time to add support for the new Python versions. It also helps avoid disruption for users that are not aware of our use of a Python venv.
|
Warning Rate limit exceeded@2bndy5 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 1 minutes and 35 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
WalkthroughRemoved the pyenv ignore block from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
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 |
Cpp-Linter Report
|
It looks like this .python-version file is either not present or not getting noticed by |
Oh that error was from self-test using main branch (
|
| # pull_request_target: | ||
| # branches: [main] | ||
| # paths: | ||
| # - 'action.yml' | ||
| # - '.python-version' | ||
| # - 'uv.lock' | ||
| # - 'docs/examples/demo/**' | ||
| # - '.github/workflows/self-test.yml' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change will not take effect until merged to main.
FYI, it doesn't make sense to use thread-comments and pull_request_target together. Also pull_request and pull_request_target produce duplicate runs, but pull_request_target doesn't run against the proposed changes.
As of Ubuntu 24.04 LTS, the default version of Python is 3.12. Whereas, Ubuntu 22.04 LTS used Python 3.10, which is reaching End-of-Life next week.
Apparently, I already had created a .python-version file locally, but it was gitignored without my knowledge.
This should helps us control upgrades to Python version while some dependencies, namely
pygit2, need extra time to add support for the new Python versions.It also helps avoid disruption for users that are not aware of our use of a Python venv.
Summary by CodeRabbit