View Issue Details

IDProjectCategoryView StatusLast Update
0018474CentOS-7awsclipublic2022-06-27 18:06
Reporterjoe@panix.com Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version7.9.2009 
Summary0018474: awscli stops working after python-s3transfer updated to the lastest
DescriptionIt appears that the latest python-s3transfer updated from 0.1.13-1.el7.0.1 to 0.1.13-1.el7_9.2 and removed botocore docevents from the bundle which broke awscli I'm not sure what else may be missing but you can see the error by simply running aws --version
Steps To Reproduceaws --version
Additional Informationaws --version
Traceback (most recent call last):
  File "/usr/bin/aws", line 19, in <module>
    import awscli.clidriver
  File "/usr/lib/python2.7/site-packages/awscli/clidriver.py", line 37, in <module>
    from awscli.help import ProviderHelpCommand
  File "/usr/lib/python2.7/site-packages/awscli/help.py", line 24, in <module>
    from botocore.docs.bcdoc import docevents
ImportError: cannot import name docevents
TagsNo tags attached.
abrt_hash
URL

Activities

TrevorH

TrevorH

2022-06-27 18:06

manager   ~0038951

This needs reporting via bugzilla.redhat.com or your organization's RH contract. It's just as broken on RHEL 7.

[root@rhel7 ~]# subscription-manager repos --enable=rhel-ha-for-rhel-7-server-rpms
Repository 'rhel-ha-for-rhel-7-server-rpms' is enabled for this system.
[root@rhel7 ~]# yum install awscli
Loaded plugins: product-id, search-disabled-repos, subscription-manager
===================================================================================================================
 Package Arch Version Repository Size
===================================================================================================================
Installing:
 awscli noarch 1.14.28-5.el7_5.1 rhel-ha-for-rhel-7-server-rpms 1.0 M
Installing for dependencies:
 PyYAML x86_64 3.10-11.el7 rhel-7-server-rpms 153 k
 jbigkit-libs x86_64 2.0-11.el7 rhel-7-server-rpms 46 k
 libjpeg-turbo x86_64 1.2.90-8.el7 rhel-7-server-rpms 135 k
 libtiff x86_64 4.0.3-35.el7 rhel-7-server-rpms 172 k
 libwebp x86_64 0.3.0-10.el7_9 rhel-7-server-rpms 170 k
 libyaml x86_64 0.1.4-11.el7_0 rhel-7-server-rpms 55 k
 python-cffi x86_64 1.6.0-5.el7 rhel-7-server-rpms 218 k
 python-docutils noarch 0.11-0.3.20130715svn7687.el7 rhel-7-server-rpms 1.5 M
 python-enum34 noarch 1.0.4-1.el7 rhel-7-server-rpms 52 k
 python-idna noarch 2.4-1.el7 rhel-7-server-rpms 94 k
 python-pillow x86_64 2.0.0-23.gitd1c6db8.el7_9 rhel-7-server-rpms 439 k
 python-ply noarch 3.4-11.el7 rhel-7-server-rpms 123 k
 python-pycparser noarch 2.14-1.el7 rhel-7-server-rpms 105 k
 python-s3transfer noarch 0.1.13-1.el7_9.2 rhel-ha-for-rhel-7-server-rpms 6.1 M
 python2-cryptography x86_64 1.7.2-2.el7 rhel-7-server-rpms 503 k
 python2-pyasn1 noarch 0.1.9-7.el7 rhel-7-server-rpms 100 k

[root@rhel7 ~]# rpm -ql awscli | grep bin
/usr/bin/aws
/usr/bin/aws_completer
[root@rhel7 ~]# aws --version
Traceback (most recent call last):
  File "/bin/aws", line 19, in <module>
    import awscli.clidriver
  File "/usr/lib/python2.7/site-packages/awscli/clidriver.py", line 37, in <module>
    from awscli.help import ProviderHelpCommand
  File "/usr/lib/python2.7/site-packages/awscli/help.py", line 24, in <module>
    from botocore.docs.bcdoc import docevents
ImportError: cannot import name docevents

Issue History

Date Modified Username Field Change
2022-06-27 16:56 joe@panix.com New Issue
2022-06-27 18:06 TrevorH Note Added: 0038951