Public bug reported: The awscli package in Ubuntu 26.04 (2.31.35-1) shows a python SyntaxWarning whenever it is run:
aws s3 ls /usr/lib/python3/dist-packages/awscli/customizations/s3/s3handler.py:595: SyntaxWarning: 'return' in a 'finally' block return True This bug in awscli has been fixed upstream here: https://github.com/aws/aws-cli/pull/10092 I have attached a patch created from the above fix. ** Affects: awscli (Ubuntu) Importance: Undecided Status: New ** Attachment added: "pep765violation_fix" https://bugs.launchpad.net/bugs/2172147/+attachment/6012329/+files/pep765violation_fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2172147 Title: awscli shows a python Syntax warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/2172147/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
