Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61376 closed defect (fixed)

py38-awscli throws exception starting

Reported by: breiter (Brian Reiter) Owned by: mark4o
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-awscli

Description

$ aws
Traceback (most recent call last):
  File "/opt/local/bin/aws", line 19, in <module>
    import awscli.clidriver
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/awscli/clidriver.py", line 36, in <module>
    from awscli.help import ProviderHelpCommand
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/awscli/help.py", line 23, in <module>
    from botocore.docs.bcdoc import docevents
ImportError: cannot import name 'docevents' from 'botocore.docs.bcdoc' (/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/botocore/docs/bcdoc/__init__.py)

I wonder if the issue is that the py38-awscli is old and unmaintained by amazon but py38-botocore was updated. The current aws-cli according to amazon is 2.0.30.

https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-mac.html

Change History (3)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Port: py-awscli added; py38-awscli removed

comment:2 Changed 4 years ago by mark4o

Owner: set to mark4o <mark.hsj@…>
Resolution: fixed
Status: newclosed

In 1b13c41efde98d520e1d77a054738fb4087c6afa/macports-ports (master):

py-awscli: update to 1.18.164

An update is required because py-botocore was updated to 1.19.2, which
is not compatible with py-awscli 1.18.120.

Closes: #61376

comment:3 in reply to:  description Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to breiter:

The current aws-cli according to amazon is 2.0.30.

See #60452 about that.

Note: See TracTickets for help on using tickets.