FS#67425 - [aws-cli] 1.18.104-1 does not work with botocore 1.17.27-1

Attached to Project: Community Packages
Opened by Louis Holbrook (lash) - Tuesday, 28 July 2020, 13:46 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 30 July 2020, 23:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Steel (jsteel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

seems to call a method that's no longer in the package

Additional info:
* package version(s)

aws-cli 1.18.104-1 , botocore 1.17.27-1

* config and/or log files etc.

$ aws s3
Traceback (most recent call last):
File "/usr/bin/aws", line 27, in <module>
sys.exit(main())
File "/usr/bin/aws", line 23, in main
return awscli.clidriver.main()
File "/usr/lib/python3.8/site-packages/awscli/clidriver.py", line 68, in main
driver = create_clidriver()
File "/usr/lib/python3.8/site-packages/awscli/clidriver.py", line 77, in create_clidriver
load_plugins(session.full_config.get('plugins', {}),
File "/usr/lib/python3.8/site-packages/awscli/plugin.py", line 44, in load_plugins
modules = _import_plugins(plugin_mapping)
File "/usr/lib/python3.8/site-packages/awscli/plugin.py", line 61, in _import_plugins
module = __import__(path, fromlist=[module])
File "/usr/lib/python3.8/site-packages/awscli/handlers.py", line 20, in <module>
from awscli.paramfile import register_uri_param_handler
File "/usr/lib/python3.8/site-packages/awscli/paramfile.py", line 18, in <module>
from botocore.httpsession import URLLib3Session
ModuleNotFoundError: No module named 'botocore.httpsession'

* link to upstream bug report, if any

Steps to reproduce:

simply:

> aws s3
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 30 July 2020, 23:10 GMT
Reason for closing:  Works for me
Additional comments about closing:  Use the forums, mailing lists, or IRC for support
Comment by Jonathan Steel (jsteel) - Tuesday, 28 July 2020, 16:37 GMT
Strange, works for me. Did this work and then break on an update? Or is this the first time you are trying this?
Comment by Doug Newgard (Scimmia) - Tuesday, 28 July 2020, 23:31 GMT
The python-botocore package definitely contains botocore.httpsession. Just look at the files.

You give a botocore package name and version, but there's no such thing as far as I can see.
Comment by Doug Newgard (Scimmia) - Tuesday, 28 July 2020, 23:45 GMT
For completeness, works fine:

Python 3.8.5 (default, Jul 27 2020, 08:42:51)
[GCC 10.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from botocore.httpsession import URLLib3Session
>>> quit()

Loading...