Azure / azure-iot-cli-extension

Azure IoT extension for Azure CLI
Other
82 stars 64 forks source link

Update Responses #630

Closed vilit1 closed 1 year ago

vilit1 commented 1 year ago

Update and pin the responses to 0.22.0

The key change here is that now they support retry logic starting with 0.21.0 (https://github.com/getsentry/responses/commit/bdc5eff7169a6fba730f2f8427d5ec5a817b1ad5#diff-27a24757cfb28e26971f5b4f49ba6f533b5a51c770d57369cebbef09c7433d6c). But we do not want that retry logic in our tests so I forcefully turn it off!

Also from github issues, 0.21.0 returns the wrong type for retry errors so we will skip that version.


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Thank you for contributing to the IoT extension!

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

Intent for Production

Basic expectations

Azure IoT CLI maintainers reserve the right to enforce any of the outlined expectations.

A PR is considered ready for review when all basic expectations have been met (or do not apply).