Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency moto to v5 (#243)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [moto](https://github.com/getmoto/moto) ([changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md)) | `^4.0.0` -> `^5.0.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/moto/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/moto/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/moto/4.2.12/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/moto/4.2.12/5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>getmoto/moto (moto)</summary> ### [`v5.0.0`](https://github.com/getmoto/moto/blob/HEAD/CHANGELOG.md#500) [Compare Source](https://github.com/getmoto/moto/compare/4.2.14...5.0.0) Docker Digest for 5.0.0: *sha256:2faf2460a6446dfe472ac0d799e00341b1c84203d08540c247a6cc09be7c54e9* General: * All decorators have been replaced with a single decorator: `mock_aws` * The `mock_batch_simple` and `mock_lambda_simple` decorators can now be configured using the `config`-parameter: `@mock_aws(config={"batch": {"use_docker": False}, "lambda": {"use_docker": False}})` * It is now possible to configure methods/services which should reach out to AWS. @​mock_aws( config={"core": {"mock_credentials": False, "passthrough": {"urls": [], "services": []}}} ) * All requests now return a RequestId Miscellaneous: * IAM: The AWS managed Policies are no longer loaded by default. If your application depends on these policies, tell Moto explicitly to load them like so: @​mock_aws(config={"iam": {"load_aws_managed_policies": True}}) Or by setting an environment variable: MOTO_IAM_LOAD_MANAGED_POLICIES=true * S3: list_objects() now returns a hashed ContinuationToken ### [`v4.2.14`](https://github.com/getmoto/moto/blob/HEAD/CHANGELOG.md#4214) [Compare Source](https://github.com/getmoto/moto/compare/4.2.13...4.2.14) Docker Digest for 4.2.14: *sha256:2fa10aa48e32f85c63c62a7d437b8a4b320a56a8494bc25d45ced370bc159c23* New Services: * Backup: * create_backup_plan() * create_backup_vault() * get_backup_plan() * describe_backup_vault() * delete_backup_plan() * list_backup_plans() * list_backup_vaults() * list_tags() * tag_resource() * untag_resource() New Methods: * RDS: * describe_db_cluster_snapshot_attributes() * describe_db_snapshot_attributes() * modify_db_cluster_snapshot_attribute() * modify_db_snapshot_attribute() * restore_db_instance_to_point_in_time() * SageMaker: * create_feature_group() * SageMakerRuntime: * invoke_endpoint_async() Miscellaneous: * Cognito: The ID-token now contains custom attributes * DynamoDB: query() now returns the correct ScannedCount * EC2: Security Group Rules now have tag support * LakeFormation: grant_permissions() now has better support for known principal-resource pairs * SNS: set_subscription_attributes() can now unset the FilterPolicy ### [`v4.2.13`](https://github.com/getmoto/moto/blob/HEAD/CHANGELOG.md#4213) [Compare Source](https://github.com/getmoto/moto/compare/4.2.12...4.2.13) Docker Digest for 4.2.13: *sha256:20a2fdd4828b0ce1170ae26186ed28b64523cf6af83af892a74d9b3e23f84471* New Services: * Panorama: * delete_device() * describe_device() * list_devices() * provision_device() * update_device_metadata() New Methods: * CognitoIDP: * admin_respond_to_auth_challenge() * IdentityStore: * list_group_memberships_for_member() * Rekognition: * compare_faces() * detect_labels() * detect_text() * SSO-Admin: * attach_customer_managed_policy_reference_to_permission_set() * attach_managed_policy_to_permission_set() * delete_inline_policy_from_permission_set() * detach_customer_managed_policy_reference_from_permission_set() * detach_managed_policy_from_permission_set() * get_inline_policy_for_permission_set() * list_account_assignments_for_principal() * list_customer_managed_policy_references_in_permission_set() * list_managed_policies_in_permission_set() * put_inline_policy_to_permission_set() * Textract: * detect_document_text() Miscellaneous: * ACM: describe_certificate() now returns a DomainValidationOption for each SN * CloudFormation: create_change_set() now longer throws an exception when supplying a YAML TemplateBody * CognitoIDP: create_resource_server() no longer crashes when the scope-parameter is not provided * DynamoDB: scan() now correctly handles the ScanFilter-attribute again (broken in 4.2.11) * EC2: launch templates created by CloudFormation now have a generated name if not provided * EC2: describe_instance_types() now handles unknown values for EnaSupport correctly * Sagemaker: create_model_package() nown supports Versioned packages * Scheduler: delete_scheduler() now throws the correct exception when a Schedule does not exist * SSO-Admin: list_account_assignments() now supports pagination </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/jooola/earhorn). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: jo <ljonas@riseup.net>
- Loading branch information