Control: forwarded -1 https://github.com/aws/aws-cli/issues/8342
On Fri, May 31, 2024 at 10:48:10AM +0200, Uli Schlachter wrote: > The problem that is reported in this bug comes from an old version of > "six" that is bundled in "botocore" which is bundled in "awscli". To fix > this, I simple updated (= overwrote) botocore's six.py with a newer > version from git: > > wget > https://github.com/benjaminp/six/raw/c1b416f24de52ebd8eaed3e379ab85ec9c3e935b/six.py > -O /usr/lib/python3/dist-packages/awscli/botocore/vendored/six.py > > Then, I ran into a problem with urllib3 (which might or might not be > unrelated to this bug - sorry). Newer versions no longer provide > urllib3.util.ssl_.DEFAULT_CIPHERS (and the "_" in "ssl_" makes me > believe that this module is not considered to be public API). This > problem is also already fixed in newer botocore versions. You need the > following two patches. > > https://github.com/boto/botocore/commit/0a6d8e3c6325da395a04227599cfa292190d6841.patch > > https://github.com/boto/botocore/commit/7b4c26e721936b185681cb10010ded4026295bd4.patch > > The resulting awscli seems to work fine for me on Ubuntu Noble, but so > far I only tested it lightly. Thanks; I can confirm that this seems to fix the build issue on sid. Will want to test it more before uploading, or better yet, wait for upstream to officially support it. I don't know that any of us have the patience for that, though, as it's already been over 6 months... noah