-
Notifications
You must be signed in to change notification settings - Fork 109
Upgrade python version to 3.12 for all OSs except AL2 #2869
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2869 +/- ##
========================================
Coverage 76.63% 76.63%
========================================
Files 22 22
Lines 2243 2243
========================================
Hits 1719 1719
Misses 524 524
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
99f1c3c to
c767534
Compare
| set -e | ||
| tar xzf cookbook-dependencies.tgz | ||
| cd dependencies | ||
| #{virtualenv_path}/bin/pip install * -f ./ --no-index | ||
| #{virtualenv_path}/bin/pip install -r requirements.txt | ||
| if [ $? -ne 0 ]; then | ||
| tar xzf cookbook-dependencies.tgz | ||
| cd dependencies | ||
| #{virtualenv_path}/bin/pip install * -f ./ --no-index | ||
| fi |
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.
Why this change?
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.
Just so that there is a fall back option
| cookbook_file "#{cookbook_virtualenv_path}/requirements.txt" do | ||
| source "cookbook_virtualenv/requirements.txt" | ||
| mode '0755' | ||
| end | ||
|
|
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.
Why this change?
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.
to facilitate the change above
…ccesary python dep installation
* Revert "[Test] Fix Python version in kitchen tests related to AWS Batch and CFN Boostrap scripts. In particular, we expect all Oses to use Python 3.12.8, except for AL2 which uses 3.9.20." This reverts commit 4574ee5. * Revert "Upgrade python version to 3.12 for all OSs except AL2 and remove unneccesary python dep installation (#2869)" This reverts commit 45431e6. --------- Co-authored-by: Himani Anil Deshpande <[email protected]>
Description of changes
Tests
Please review the guidelines for contributing and Pull Request Instructions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.