From d2e5ee21136a7dce8fbae0948c491aa6bd999e3f Mon Sep 17 00:00:00 2001 From: Ricardo Rosales <728243+missingcharacter@users.noreply.github.com> Date: Thu, 8 Sep 2022 12:17:09 -0500 Subject: [PATCH] Temporarily install awscrt==0.13.0 Until https://github.com/awslabs/aws-crt-python/issues/366 is solved --- docs/awscli.md | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/docs/awscli.md b/docs/awscli.md index b706bd8..6bb43e1 100644 --- a/docs/awscli.md +++ b/docs/awscli.md @@ -1,30 +1,13 @@ # Install AWS CLI ```shell -$ curl -sL 'https://github.com/Termux-pod/termux-pod/raw/main/aarch64/python/python-3.9.7/python_3.9.7_aarch64.deb' -o python_3.9.7_aarch64.deb -$ dpkg -i python_3.9.7_aarch64.deb -$ git clone https://github.com/aws/aws-cli.git -$ cd aws-cli -$ git checkout v2 +$ pkg install git python rust build-essential +$ git clone -b v2 https://github.com/aws/aws-cli.git $ python -m venv venv $ source venv/bin/activate $ vim setup.cfg -$ git diff -diff --git a/setup.cfg b/setup.cfg -index d7f8c2cca..cd9adacaf 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -31,7 +31,7 @@ install_requires = - colorama>=0.2.5,<0.4.4 - docutils>=0.10,<0.16 - cryptography>=3.3.2,<3.4.0 -- ruamel.yaml>=0.15.0,<0.16.0 -+ ruamel.yaml>=0.15.0,<0.17.18 - wcwidth<0.2.0 - prompt-toolkit>=2.0.0,<3.0.0 - distro>=1.5.0,<1.6.0 -$ pip install ruamel.yaml==0.17.17 +$ pip install ruamel.yaml==0.17.17 awscrt==0.13.0 $ pip install -e . -$ aws --version -aws-cli/2.4.6 Python/3.9.7 Linux/5.10.43-android12-9-00001-g3b35c4eea2da-ab7739787 source/aarch64 prompt/off +$ aws --version +aws-cli/2.7.29 Python/3.10.6 Linux/5.10.107-android13-4-00008-g466e95df8c7c-ab8760753 source/aarch64 prompt/off ```