Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-moto for openSUSE:Factory checked in at 2022-06-30 13:18:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-moto (Old) and /work/SRC/openSUSE:Factory/.python-moto.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-moto" Thu Jun 30 13:18:15 2022 rev:16 rq:985785 version:3.1.16 Changes: -------- --- /work/SRC/openSUSE:Factory/python-moto/python-moto.changes 2022-06-15 00:34:25.426713798 +0200 +++ /work/SRC/openSUSE:Factory/.python-moto.new.1548/python-moto.changes 2022-06-30 13:18:21.213532988 +0200 @@ -1,0 +2,197 @@ +Mon Jun 27 20:07:48 UTC 2022 - Ben Greiner <code@bnavigator.de> + +- Update to 3.1.16 + * New Methods: + * Autoscaling: + * enable_metrics_collection() + * Miscellaneous: + * Fixes a dependency-error that popped up in 3.1.15. +- Release 3.1.15 + * Known bugs: + * Some services will throw an error: Missing module + 'openapi_spec_validator'. + * New Methods: + * Databrew: + * create_profile_job() + * create_recipe_job() + * delete_job() + * describe_job() + * list_jobs() + * update_profile_job() + * update_recipe_job() + * Glue: + * create_registry() + * Greengrass: + * create_group() + * create_group_version() + * delete_group() + * get_group() + * get_group_version() + * list_groups() + * list_group_versions() + * update_group() + * KMS: + * sign() + * verify() + * Route53Resolver: + * associate_resolver_endpoint_ip_address() + * disassociate_resolver_endpoint_ip_address() +- Release 3.1.14 + * New Methods: + * Greengrass: + * create_function_definition() + * create_resource_definition() + * create_function_definition_version() + * create_resource_definition_version() + * create_subscription_definition() + * create_subscription_definition_version() + * delete_function_definition() + * delete_resource_definition() + * delete_subscription_definition() + * get_function_definition() + * get_function_definition_version() + * get_resource_definition() + * get_resource_definition_version() + * get_subscription_definition() + * get_subscription_definition_version() + * list_function_definitions() + * list_function_definition_versions() + * list_resource_definitions() + * list_resource_definition_versions() + * list_subscription_definitions() + * list_subscription_definition_versions() + * update_function_definition() + * update_resource_definition() + * update_subscription_definition() + * EKS: + * list_tags_for_resources() + * tag_resource() + * untag_resource() + * Route53: + * associate_vpc_with_hosted_zone() + * disassociate_vpc_from_hosted_zone() + * update_health_check() + * update_hosted_zone_comment() + * Miscellaneous: + * APIGateway:put_integration() now supports the + requestParameters-parameter + * EC2:create_route() now validates whether a route already + exists +- Add remove-mock.patch -- https://trello.com/c/S6eADbii + +------------------------------------------------------------------- +Wed Jun 15 02:28:28 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> + +- Update to 3.1.13 + New Methods: + * EC2: + * create_default_vpc() + * Greengrass: + * create_device_definition() + * create_device_definition_version() + * delete_core_definition() + * delete_device_definition() + * get_core_definition() + * get_core_definition_version() + * get_device_definition() + * get_device_definition_version() + * list_core_definitions() + * list_core_definition_versions() + * list_device_definitions() + * list_device_definition_versions() + * update_core_definition() + * update_device_definition() + * SSO Admin: + * create_permission_set() + * delete_permission_set() + * describe_permission_set() + * list_permission_sets() + * update_permission_set() + * Route53: + * get_dnssec() + * get_health_check() + * Miscellaneous: + * StateManager now supports `s3::keyrestore`, managing how long it takes to restore S3 objects from Glacier. +- Update to 3.1.12 + New Services: + * Greengrass: + * create_core_definition() + * create_core_definition_version() + Internal Changes: + * The data structure containing all of Moto's state has been updated to support multiple accounts +- Update to 3.1.11 + New Methods: + * GuardDuty: + * create_filter() + * delete_detector() + * delete_filter() + * enable_organization_admin_account() + * get_detector() + * get_filter() + * list_organization_admin_accounts() + * update_detector() + * update_filter() + * KMS: + * create_grant() + * list_grants() + * list_retirable_grants() + * retire_grant() + * revoke_grant() + + Miscellaneous: + * EC2:describe_network_acls() now supports the `entry.egress`-filter + * EC2:run_instances() now supports validation for the KeyPair-parameter. This is disabled by default - set MOTO_ENABLE_KEYPAIR_VALIDATION to true to enable this. + * EC2:run_instances() now supports validation for the ImageId-parameter. This is disabled by default - set MOTO_ENABLE_AMI_VALIDATION to true to enable this. +- Update to 3.1.10 + New Methods: + * APIGateway: + * import_rest_api() + * put_rest_api() + * Glue: + * get_tags() + * tag_resource() + * untag_resource() + + Miscellaneous: + * APIGateway:put_integration() now supports the passthroughBehavior-parameter + * APIGatewayV2:create_authorizer() now supports the AuthorizerPayloadFormatVersion-parameter + * AWSLamba:publish_layer_version() now supports the CompatibleArchitectures-parameter + * DAX:create_cluster() now supports the ClusterEndpointEncryptionType-parameter + * EC2:describe_route_tables() now supports the filter `route.gateway-id` + * EC2:run_instances() now validates whether the Placement-parameter has a valid availabilty zone + * ECS:list_services() now supports the launchType-parameter + * ELB:describe_instance_health() now returns the OutOfService-status when appropriate + * Organizations:list_accounts_for_parent() now supports pagination + * Organizations:list_organizational_units_for_parent() now supports pagination +- Update to 3.1.9 + New Services: + * EBS: + * complete_snapshot() + * get_snapshot_block() + * list_changed_blocks() + * list_snapshot_blocks() + * put_snapshot_block() + * start_snapshot() + + New Methods: + * CloudFront: + * update_distribution() + * Datasets: + * create_dataset() + * delete_dataset() + * describe_dataset() + * list_datasets() + * update_dataset() + * Glue: + * list_crawlers() + * Rekognition: + * get_face_search() + * start_face_seach() + + Miscellaneous: + * EC2:describe_vpc_endpoints() now supports the `vpc-endpoint-type`-filter + * RDS:create_db_cluster() now supports the EnableCloudwatchLogsExports-parameter + * RDS:create_db_instance() now supports the EnableCloudwatchLogsExports-parameter + * SSM now integrates with SecretsManager + +------------------------------------------------------------------- Old: ---- moto-3.1.8.tar.gz New: ---- moto-3.1.16.tar.gz remove-mock.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-moto.spec ++++++ --- /var/tmp/diff_new_pack.qG4IUM/_old 2022-06-30 13:18:22.005533582 +0200 +++ /var/tmp/diff_new_pack.qG4IUM/_new 2022-06-30 13:18:22.009533585 +0200 @@ -19,12 +19,14 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-moto -Version: 3.1.8 +Version: 3.1.16 Release: 0 Summary: Library to mock out the boto library License: Apache-2.0 URL: https://github.com/spulec/moto Source: https://files.pythonhosted.org/packages/source/m/moto/moto-%{version}.tar.gz +# PATCH-FEATURE-OPENSUSE remove-mock.patch -- https://trello.com/c/S6eADbii +Patch1: remove-mock.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -64,7 +66,7 @@ BuildRequires: %{python_module importlib-metadata if %python-base < 3.8} BuildRequires: %{python_module jsondiff >= 1.1.2} BuildRequires: %{python_module jsonpickle} -BuildRequires: %{python_module mock} +BuildRequires: %{python_module openapi-spec-validator} BuildRequires: %{python_module parameterized} BuildRequires: %{python_module pyparsing >= 3} BuildRequires: %{python_module pytest-xdist} @@ -94,8 +96,10 @@ Requires: python-idna >= 2.5 Requires: python-jsondiff >= 1.1.2 Requires: python-moto = %{version} +Requires: python-openapi-spec-validator Requires: python-pyparsing >= 3 Requires: python-python-jose +Requires: python-setuptools Requires: python-sshpubkeys >= 3.1.0 %description all @@ -141,16 +145,14 @@ donttest+=" or (test_cloudformation_stack_integration and test_lambda_function)" donttest+=" or test_firehose_put" donttest+=" or test_vpc_peering_connections_cross_region_fail" +donttest+=" or test_events_lambdatriggers_integration" donttest+=" or (test_s3_lambda_integration and test_objectcreated_put__invokes_lambda and ObjectCreated)" # no python2.7 on TW donttest+=" or test_invoke_function_from_sqs_exception" donttest+=" or test_rotate_secret_lambda_invocations" +# requires botocore >= 1.27.14, see https://github.com/spulec/moto/pull/5253 +donttest+=" or test_create_customer_gateways_using_publicip_argument" -# https://github.com/boto/botocore/issues/2355 -if [ $(getconf LONG_BIT) -eq 32 ]; then - donttest+=" or test_describe_certificate" - donttest+=" or (test_budgets and test_create_and_describe)" -fi # see Makefile deselect_for_parallel=" or test_kinesisvideoarchivedmedia or test_awslambda or test_batch or test_ec2 or test_sqs" parallel_tests="./tests/test_awslambda ./tests/test_batch ./tests/test_ec2 ./tests/test_sqs" ++++++ moto-3.1.8.tar.gz -> moto-3.1.16.tar.gz ++++++ ++++ 161030 lines of diff (skipped) ++++++ remove-mock.patch ++++++ Index: moto-3.1.16/tests/test_cognitoidp/test_cognitoidp.py =================================================================== --- moto-3.1.16.orig/tests/test_cognitoidp/test_cognitoidp.py +++ moto-3.1.16/tests/test_cognitoidp/test_cognitoidp.py @@ -5,7 +5,7 @@ import os import random import re -import mock +from unittest import mock import moto.cognitoidp.models import requests import hmac Index: moto-3.1.16/tests/test_core/test_mock_regions.py =================================================================== --- moto-3.1.16.orig/tests/test_core/test_mock_regions.py +++ moto-3.1.16/tests/test_core/test_mock_regions.py @@ -1,5 +1,5 @@ import boto3 -import mock +from unittest import mock import os import pytest from moto import mock_dynamodb, mock_sns, settings Index: moto-3.1.16/tests/test_core/test_settings.py =================================================================== --- moto-3.1.16.orig/tests/test_core/test_settings.py +++ moto-3.1.16/tests/test_core/test_settings.py @@ -1,5 +1,5 @@ import os -import mock +from unittest import mock import pytest import sure # noqa # pylint: disable=unused-import Index: moto-3.1.16/tests/test_ecs/test_ecs_boto3.py =================================================================== --- moto-3.1.16.orig/tests/test_ecs/test_ecs_boto3.py +++ moto-3.1.16/tests/test_ecs/test_ecs_boto3.py @@ -2,7 +2,7 @@ from datetime import datetime from botocore.exceptions import ClientError import boto3 -import mock +from unittest import mock import sure # noqa # pylint: disable=unused-import import json import os Index: moto-3.1.16/tests/test_eks/test_eks.py =================================================================== --- moto-3.1.16.orig/tests/test_eks/test_eks.py +++ moto-3.1.16/tests/test_eks/test_eks.py @@ -2,7 +2,7 @@ from copy import deepcopy from unittest import SkipTest import boto3 -import mock +from unittest import mock import pytest import sure # noqa # pylint: disable=unused-import from botocore.exceptions import ClientError