-
Notifications
You must be signed in to change notification settings - Fork 32
Guard clause against too old python version #1153
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
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.
2 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
Eco CI Output:
🌳 CO2 Data: Total cost of whole PR so far: |
* main: (22 commits) .github workflows yml typos Added removal of sudoers.d to uninstall script Division by zero protection for StdDev in charts Charts now display absolute StdDev [skip ci] (#1154) Added journalctl debug output Moving to undersampling debugging Eco CI for a while Guard clause against too old python version (#1153) Updated Cloud Energy Updated Cloud Energy Better error message in diff Frontend test fix mWh also in api helpers test Revert "Redirecting port 80 to SSL (#1141)" Update README.md Fixed tests for new mWh badge Moving to milli-watt hours (#1133) Runner now warns more prominently in dashboard when a run is marked as invalid Added note column to be sent to eco-ci (#1145) Set tabs to not active which were not active Adds the runner arguments as 'Switches' menu item to the stats.html (#1144) ...
* main: (42 commits) .github workflows yml typos Added removal of sudoers.d to uninstall script Division by zero protection for StdDev in charts Charts now display absolute StdDev [skip ci] (#1154) Added journalctl debug output Moving to undersampling debugging Eco CI for a while Guard clause against too old python version (#1153) Updated Cloud Energy Updated Cloud Energy Better error message in diff Frontend test fix mWh also in api helpers test Revert "Redirecting port 80 to SSL (#1141)" Update README.md Fixed tests for new mWh badge Moving to milli-watt hours (#1133) Runner now warns more prominently in dashboard when a run is marked as invalid Added note column to be sent to eco-ci (#1145) Set tabs to not active which were not active Adds the runner arguments as 'Switches' menu item to the stats.html (#1144) ...
* main: (43 commits) (fix/improvement): Time Travel mode was not correctly advancing step in error case; Reduced complexity of Time Travel code (fix): ee-branch must be string and checked as such Timeline badges rework (#1158) Adds the option to use --ee-branch as parameter. (#1123) Bump aiohttp from 3.11.14 to 3.11.16 (#1139) Machine names have now nice names in Dashboard and some QoL (#1142) Bump pydantic from 2.10.6 to 2.11.3 (#1143) Bump uvicorn[standard] from 0.34.0 to 0.34.1 (#1147) Fix invalid run markers (#1157) .github workflows yml typos Added removal of sudoers.d to uninstall script Division by zero protection for StdDev in charts Charts now display absolute StdDev [skip ci] (#1154) Added journalctl debug output Moving to undersampling debugging Eco CI for a while Guard clause against too old python version (#1153) Updated Cloud Energy Updated Cloud Energy Better error message in diff Frontend test fix ...
Greptile Summary
Added Python version compatibility checks to ensure Green Metrics Tool requires Python 3.10 or higher, with consistent version checking implemented in both shell and Python environments.
check_python_version()
function in/lib/install_shared.sh
to validate Python version during installation/lib/venv_checker.py
to include version check and standardize error codes from -1 to 1venv_checker.py
for consistency