diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2021-03-29 11:17:25 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2021-03-29 09:22:26 +0000 |
commit | a7e471b1924cd2f83735f80bab69962011e21092 (patch) | |
tree | 5f34552af9e079f239a7911d47d15c219f37aa7a /android-lcr | |
parent | 5ccd75164097aeeb93f83c5fc7b24c7e70be26a8 (diff) |
ruamel: pin install version
The latest ruamel no longer works with python2.7. Pin to
last known working version 0.16.13. Use this as an opportunity
to move to python3.
Change-Id: Ia52b7a692b4914947854cfa2b6c139425116c042
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'android-lcr')
-rwxr-xr-x | android-lcr/common/builders.sh | 4 | ||||
-rwxr-xr-x | android-lcr/common/test_submit_for_testing.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/android-lcr/common/builders.sh b/android-lcr/common/builders.sh index ca941ea766..1567f5e34f 100755 --- a/android-lcr/common/builders.sh +++ b/android-lcr/common/builders.sh @@ -17,8 +17,8 @@ if ! python --version|grep 3; then sudo rm -fv /usr/bin/python && sudo ln -s /usr/bin/python3 /usr/bin/python fi -# Install jinja2-cli and ruamel.yaml -pip install --user --force-reinstall jinja2-cli ruamel.yaml pycryptodome pycryptodomex +# Install jinja2-cli and ruamel.yaml==0.16.13 +pip install --user --force-reinstall jinja2-cli ruamel.yaml==0.16.13 pycryptodome pycryptodomex pip3 install --user --force-reinstall pycryptodome pycryptodomex ruamel.yaml Jinja2 # Set local configuration diff --git a/android-lcr/common/test_submit_for_testing.sh b/android-lcr/common/test_submit_for_testing.sh index 5f6e217cdf..6471da6914 100755 --- a/android-lcr/common/test_submit_for_testing.sh +++ b/android-lcr/common/test_submit_for_testing.sh @@ -4,7 +4,7 @@ PARENT_DIR=$(cd $(dirname $0); pwd) virtualenv .venv source .venv/bin/activate -pip install Jinja2 requests urllib3 ruamel.yaml +pip install Jinja2 requests urllib3 ruamel.yaml==0.16.13 export ART_URL=https://android-qa-reports.linaro.org/api/ export BUILD_DIR=r-lcr-oreo |