see $url basically, botocore update to 1.18.0 broke current awscli: $ aws --version Traceback (most recent call last): File "/usr/lib/python-exec/python3.7/aws", line 19, in <module> import awscli.clidriver File "/usr/lib/python3.7/site-packages/awscli/clidriver.py", line 36, in <module> from awscli.help import ProviderHelpCommand File "/usr/lib/python3.7/site-packages/awscli/help.py", line 23, in <module> from botocore.docs.bcdoc import docevents ImportError: cannot import name 'docevents' from 'botocore.docs.bcdoc' (/usr/lib/python3.7/site-packages/botocore/docs/bcdoc/__init__.py) a bump to >=dev-python/awscli-1.18.140 is needed. here is what I used but of course feel free to revize: # diff awscli-1.18.117.ebuild awscli-1.18.142.ebuild 6c6 < PYTHON_COMPAT=( python3_{6,7,8} ) --- > PYTHON_COMPAT=( python3_{7,8} ) 24c24 < >=dev-python/botocore-1.16.20[${PYTHON_USEDEP}] --- > =dev-python/botocore-1.18.1[${PYTHON_USEDEP}] 27c27 < dev-python/rsa[${PYTHON_USEDEP}] --- > <=dev-python/rsa-4.5.0[${PYTHON_USEDEP}]
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36f4c1f63a8da0c66b9f2361fd18de6a218373ac commit 36f4c1f63a8da0c66b9f2361fd18de6a218373ac Author: Piotr Karbowski <slashbeast@gentoo.org> AuthorDate: 2020-09-19 15:55:44 +0000 Commit: Piotr Karbowski <slashbeast@gentoo.org> CommitDate: 2020-09-19 15:57:46 +0000 dev-python/awscli: version bump Additionally: - Python 3.9 support - Lock major.minor version of botocore to avoid interface change breaking in future. Closes: https://bugs.gentoo.org/743559 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org> dev-python/awscli/Manifest | 2 +- dev-python/awscli/{awscli-1.18.117.ebuild => awscli-1.18.142.ebuild} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)