Opened 14 months ago
Last modified 14 months ago
#67929 new defect
py-awscli2 fails when running "aws eke update-kubeconfig ..." with "preferences is wrong type" error
Reported by: | ghosthound | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-awscli2 |
Description
py-awscli2 fails when running "aws eke update-kubeconfig ..." with:
preferences is wrong type: <class 'dict'> (Should be class 'collections.OrderedDict'>)
relevant ports installed:
py311-awscli2 @2.13.3_0 py311-ruamel-yaml @0.17.32_0 py311-ruamel-yaml-clib @0.2.7_0
See https://github.com/aws/aws-cli/issues/7966 for a better writeup of the problem and answer from the awscli team regarding version of py-ruamel-yaml that they use (>=0.15.0,<=0.17.21).
Do we have a way to have the py-awscli2 port depend on an older version of py-ruamel-yaml?
Note: See
TracTickets for help on using
tickets.
This ticket should be assigned to me. (I don't have Trac perms to do so myself).
The 0.17.32 version of py-ruamel-yaml contains the fix to the issue in the linked awscli and py-ruamel-yaml tickets. So this is a little suspicious, maybe there are still bugs in py-ruamel-yaml that broke something. You may want to open a new ticket with awscli2 as the previous one was closed under the assumption the issue was fixed already.
I don't think it's the end of the world to ship the old version of py-ruamel-yaml if only temporarily, if I have time I can try that PR. But hopefully AWS just updates their stuff anyway, I see PRs in their queue to do that.