-
Notifications
You must be signed in to change notification settings - Fork 44.6k
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
Adds check for Python 3.10 and print error message if required version not detected. #3598
Adds check for Python 3.10 and print error message if required version not detected. #3598
Conversation
…formative error messages for unsupported versions.
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Note that this is more important than people may think, since python 3.10 is now really being required - until yesterday the stable branch would still work with 3.8 (which still is the default on some distros), but today's changes require at least 3.10+ |
b777ee3
to
a4ff4ff
Compare
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
…formative error messages for unsupported versions.
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #3598 +/- ##
=======================================
Coverage 62.75% 62.75%
=======================================
Files 73 73
Lines 3367 3367
Branches 487 487
=======================================
Hits 2113 2113
Misses 1107 1107
Partials 147 147 ☔ View full report in Codecov by Sentry. |
…n not detected. (Significant-Gravitas#3598) * Updated run script to check for Python 3.10 and above, and provide informative error messages for unsupported versions. * Updated run script to check for Python 3.10 and above, and provide informative error messages for unsupported versions. --------- Co-authored-by: merwanehamadi <[email protected]>
Background
This pull request adds a check for Python 3.10 and above before running the Auto GPT script. This change ensures that the script only runs in supported Python versions, improving stability and reliability.
Changes
The code has been modified to check for Python 3.10 and above before running the Auto GPT script. If the required version of Python is not detected, an error message is printed to the console.
Documentation
The changes have been documented with in-code comments to explain the purpose and functionality of the added code.
Test Plan
The changes have been tested on a local machine running Python 3.10 and above. The script was also tested with lower versions of Python to ensure that the error message is displayed when attempting to run Auto GPT.
PR Quality Checklist