# Update awscli version used by Jenkins

XMLWordPrintable

#### Details

• Type: Bug
• Status: Done
• Resolution: Done
• Fix Version/s: None
• Component/s:
• Labels:
None
• Team:
Architecture
• Urgent?:
No

#### Description

After the monthly auto-update of the awscli container used by Jenkins, pushes to AWS started failing with:

 File "/usr/lib/python3.10/site-packages/botocore/vendored/requests/packages/urllib3/_collections.py", line 1, in   from collections import Mapping, MutableMapping ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py) 

As a fix, try updating the pinned version of awscli from 1.14.61 to 1.25.21.

It may even be desirable to let this float.

#### Activity

Hide
Kian-Tat Lim added a comment -

I updated to the latest release of awscli.

Let me know if you think I can just let this float.

Show
Kian-Tat Lim added a comment - I updated to the latest release of awscli. Let me know if you think I can just let this float.
Hide
Kian-Tat Lim added a comment -

The version specified in lsst-sqre/docker-awscli is actually overridden in jenkins-dm-jobs etc/sqre/config.yaml, so I will change it in both places.

Show
Kian-Tat Lim added a comment - The version specified in lsst-sqre/docker-awscli is actually overridden in jenkins-dm-jobs etc/sqre/config.yaml, so I will change it in both places.
Hide
Kian-Tat Lim added a comment -

Reviewed on PR.

Show
Kian-Tat Lim added a comment - Reviewed on PR.

#### People

Assignee:
Kian-Tat Lim
Reporter:
Kian-Tat Lim
Reviewers:
Watchers: