aws-cli: preferences is wrong type: <class 'dict'> (Should be <class 'collections.OrderedDict'>)
The aws-cli package has an issue with some of it's dependencies, which is documented in https://github.com/aws/aws-cli/issues/8018
How to reproduce, run the command aws eks update-kubeconfig --name $cluster --profile $profile
twice,
receive the error
preferences is wrong type: <class 'dict'> (Should be <class 'collections.OrderedDict'>)
This seems to relate to the Alpine package as building the aws-cli from source does not cause the issue.
The request is to fix the issue.