Merge ~cjwatson/launchpad-mojo-specs:utils-check-python-version into launchpad-mojo-specs:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 476e947625c401a29b366bd731abf086a7a3a669 |
Proposed branch: | ~cjwatson/launchpad-mojo-specs:utils-check-python-version |
Merge into: | launchpad-mojo-specs:master |
Diff against target: |
248 lines (+65/-16) 17 files modified
lp-codeimport/update-code-asset (+3/-1) lp-codeimport/upgrade-charms (+3/-1) mojo-lp-git/run-payload-tests (+3/-1) mojo-lp-git/update-code-asset (+3/-1) mojo-lp-git/upgrade-charms (+3/-1) mojo-lp-signing/update-code-asset (+3/-1) mojo-lp-signing/upgrade-charms (+3/-1) utils/add-floating-ip (+3/-1) utils/check_version.py (+17/-0) utils/custom-secgroups.py (+3/-1) utils/get-last-build-label (+3/-1) utils/get-swift-storage-url (+3/-1) utils/make-branches (+3/-1) utils/publish-build-assets (+3/-1) utils/publish-last-build-label (+3/-1) utils/set-local-config (+3/-1) utils/set-service-options (+3/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ioana Lasc (community) | Approve | ||
Review via email: mp+404120@code.launchpad.net |
Commit message
Re-exec scripts using Python 2 where necessary
Description of the change
wendigo (the devops management host for PS4.5) is old and lacks a number of Python 3 libraries that we use; however, when deploying to PS5, we need to run on Ubuntu 20.04 LTS, which lacks Python 2 versions of the same libraries. To escape this Catch-22, re-exec ourselves using Python 2 if we find ourselves on a system that's known to be too old to support the Python 3 libraries we need.
To post a comment you must log in.