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-01-19 00:35:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-moto (Old)
 and      /work/SRC/openSUSE:Factory/.python-moto.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-moto"

Wed Jan 19 00:35:04 2022 rev:11 rq:944760 version:2.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-moto/python-moto.changes  2021-08-19 
10:01:51.163203119 +0200
+++ /work/SRC/openSUSE:Factory/.python-moto.new.1892/python-moto.changes        
2022-01-19 00:35:05.754286217 +0100
@@ -1,0 +2,657 @@
+Thu Jan  6 19:35:07 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 2.3.0
+  * It is now possible to use a mocked region. This will throw an
+    error by default, but can be enabled using the
+    `MOTO_ALLOW_NONEXISTENT_REGION`-environment variable.
+  * Performance improvements - only the backend for the requested
+    region is now loaded into memory, instead of (naively) loading
+    a backend for every region.
+
+-------------------------------------------------------------------
+Fri Dec 24 22:31:31 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to 2.2.20
+  - New Services:
+    * ElasticsearchService:
+      * create_elasticsearch_domain()
+      * delete_elasticsearch_domain()
+      * describe_elasticsearch_domain()
+      * list_domain_names()
+  - New Methods:
+    * EC2:
+      * disable_ebs_encryption_by_default()
+      * enable_ebs_encryption_by_default()
+      * get_ebs_encryption_by_default()
+    * Redshift:
+      * pause_cluster()
+      * resume_cluster()
+  - Miscellanous:
+    * ELBv2: create_listener now supports the
+      DefaultActions.ForwardConfig parameter
+    * Redshift: restore_from_cluster_snapshot() now supports the
+      NodeType and NumberOfNodes-parameters
+    * Sagemaker: list_experiments() now supports pagination
+    * Sagemaker: list_trials() now supports pagination
+    * Sagemaker: list_trial_components() now supports pagination
+- Release 2.2.19
+  - General:
+    * Support for ap-southeast-3
+- Release 2.2.18
+  - New Services:
+    * ElastiCache:
+        * create_user()
+        * delete_user()
+        * describe_users()
+    * GuardDuty:
+        * create_detector()
+        * list_detectors()
+  - New Methods:
+    * IAM:
+        * list_open_id_connect_provider_tags()
+        * tag_open_id_connect_provider()
+        * untag_open_id_connect_provider()
+        * update_open_id_connect_provider_thumbprint()
+    * IOT:
+        * create_domain_configuration()
+        * delete_domain_configuration()
+        * describe_domain_configuration()
+        * list_domain_configurations()
+        * update_domain_configuration()
+  - Miscellaneous:
+    * ResourceGroupTaggingAPI now supports Lambda Functions
+    * SecretsManager:list_secrets() now supports negative filters
+- Release 2.2.17
+  - New Services:
+    * CloudFront:
+        * create_distribution()
+        * delete_distribution()
+        * get_distribution()
+        * list_distributions()
+  - New Methods:
+    * Autoscaling:
+        * describe_tags()
+    * CloudFormation:
+        * get_stack_policy()
+        * set_stack_policy()
+    * DynamoDB:
+        * restore_table_to_point_in_time()
+    * Glue:
+        * delete_database()
+        * list_jobs()
+    * IAM:
+        * update_group()
+    * Route53 Resolver:
+        * associate_resolver_rule()
+        * create_resolver_rule()
+        * delete_resolver_rule()
+        * disassociate_resolver_rule()
+        * get_resolver_rule()
+        * get_resolver_rule_association()
+        * list_resolver_rules()
+        * list_resolver_rule_associations()
+  - Miscellaneous:
+    * Batch: register_job_definition() now supports the
+      timeout-parameter
+    * Batch: submit_job() now supports the timeout-parameter
+    * EC2: describe_network_interfaces() now supports the
+      `attachment.instance-id` filter
+- Release 2.2.16
+  - New Services:
+    * SimpleDB:
+        * create_domain()
+        * delete_domain()
+        * get_attributes()
+        * list_domains()
+        * put_attributes()
+  - New Methods:
+    * Glue:
+        * create_job
+    * Route53 Resolver:
+        * create_resolver_endpoint()
+        * delete_resolver_endpoint()
+        * get_resolver_endpoint()
+        * list_resolver_endpoints()
+        * list_resolver_endpoint_ip_addresses()
+        * list_tags_for_resource()
+        * tag_resource()
+        * untag_resource()
+        * update_resolver_endpoint()
+  - Miscellaneous:
+    * Moto now supports mocking S3-equivalent libraries such as
+      Ceph
+    * Cognito IDP now exposes the `cognito:groups`-attribute as
+      part of the AccessToken
+- Release 2.2.15
+  - General:
+    * Fixed the dependency bug - `moto install[all]` now installs
+      all required dependencies again.
+- Release 2.2.14
+  - Known bugs:
+    * Running `pip install moto[all]` will not install all required
+      dependencies.
+  - General:
+    * Improved documentation for both users and contributors:
+      http://docs.getmoto.org/en/latest/
+    * The `@mock_all`-decorator is now available to mock all
+      services at the same time
+    * The
+      `moto.core.patch_client`/`moto.core.patch_resource`-methods
+      are now available to patch boto3-clients and -resources
+      instantiated after the mock was started. This provides a
+      workaround when encountering InvalidAccessKeyId-errors.
+  - New Methods:
+    * APIGateway:
+        * delete_base_path_mapping()
+    * EC2:
+        * assign_ipv6_addresses()
+        * assign_private_ip_addresses()
+        * unassign_ipv6_addresses()
+        * unassign_private_ip_addresses()
+    * SSM:
+        * create_maintenance_window()
+        * delete_maintenance_window()
+        * get_maintenance_window()
+  - Miscellaneous:
+    * CloudFormation no longer throws errors when trying to update
+      unsupported resources.
+    * CloudTrail:get_trail_status() now also supports ARN's as a
+      parameter
+    * CognitoIDP:list_users() now supports the
+      AttributesToGet-parameter
+    * IOT:attach_policy() now supports Cognito IdentityPools as a
+      target
+    * IOT:list_job_executions_for_thing() now supports pagination
+    * Kinesis:split_shards() now behaves more like AWS, by closing
+      the original shard and creating two new ones
+    * Logs:put_log_events() now enforces timestamp-validation
+    * S3:create_multipart_upload() now supports the
+      Tagging-parameter
+    * SSM:get_parameters_by_path() now support filtering by label
+- Release 2.2.13
+  - General:
+    * The mock_dynamodb and mock_rds-decorators have been
+      deprecated, and will be repurposed in a later release. Please
+      see https://github.com/spulec/moto/issues/4526 for more
+      information.
+  - New Methods:
+    * API Gateway:
+        * get_base_path_mappings()
+    * Cognito Identity:
+        * list_identities()
+    * DirectoryService:
+        * disable_sso()
+        * enable_sso()
+        * connect_directory()
+        * create_alias()
+        * create_microsoft_ad()
+    * EMR Containers:
+        * cancel_job_run()
+        * describe_job_run()
+        * list_job_runs()
+        * start_job_run()
+    * IAM:
+        * list_policy_tags()
+        * tag_policy()
+        * untag_policy()
+    * Sagemaker:
++++ 460 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/python-moto/python-moto.changes
++++ and /work/SRC/openSUSE:Factory/.python-moto.new.1892/python-moto.changes

Old:
----
  moto-2.2.2.tar.gz

New:
----
  moto-2.3.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-moto.spec ++++++
--- /var/tmp/diff_new_pack.FbZFtP/_old  2022-01-19 00:35:06.574286802 +0100
+++ /var/tmp/diff_new_pack.FbZFtP/_new  2022-01-19 00:35:06.586286811 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-moto
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:           python-moto
-Version:        2.2.2
+Version:        2.3.0
 Release:        0
 Summary:        Library to mock out the boto library
 License:        Apache-2.0
@@ -33,14 +33,15 @@
 Requires:       python-boto3 >= 1.9.201
 Requires:       python-botocore >= 1.12.201
 Requires:       python-cryptography >= 3.3.1
-Requires:       python-importlib_metadata
-Requires:       python-more-itertools
 Requires:       python-python-dateutil >= 2.1
 Requires:       python-pytz
 Requires:       python-requests >= 2.5
 Requires:       python-responses >= 0.9.0
 Requires:       python-xmltodict
 Requires:       python-zipp
+%if 0%{?python_version_nodots} < 38
+Requires:       python-importlib_metadata
+%endif
 Requires(post): update-alternatives
 Requires(preun):update-alternatives
 Recommends:     python-moto-all
@@ -58,14 +59,15 @@
 # old boto is still imported in test files, but not a runtime requirement 
anymore.
 BuildRequires:  %{python_module boto}
 BuildRequires:  %{python_module cryptography >= 3.3.1}
+BuildRequires:  %{python_module dataclasses if %python-base < 3.7}
 BuildRequires:  %{python_module docker >= 2.5.1}
 BuildRequires:  %{python_module freezegun}
 BuildRequires:  %{python_module idna >= 2.5}
-BuildRequires:  %{python_module importlib_metadata}
+BuildRequires:  %{python_module importlib_metadata if %python-base < 3.8}
 BuildRequires:  %{python_module jsondiff >= 1.1.2}
 BuildRequires:  %{python_module jsonpickle}
-BuildRequires:  %{python_module more-itertools}
 BuildRequires:  %{python_module parameterized}
+BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module python-dateutil >= 2.1}
 BuildRequires:  %{python_module python-jose}
@@ -115,6 +117,10 @@
 %prep
 %setup -q -n moto-%{version}
 %autopatch -p1
+# avoid zero-length modules
+for f in athena/utils.py ec2/regions.py glue/utils.py medialive/exceptions.py 
redshift/utils.py support/exceptions.py; do
+  echo '# empty module' > moto/$f
+done
 
 %build
 %python_build
@@ -130,23 +136,34 @@
 # no online tests on obs
 donttest="network"
 # no connection -- no such file -- we don't have the test containers
-donttest+=" or test_terminate_job"
+donttest+=" or test_terminate_job or test_cancel_running_job or 
test_cancel_pending_job"
 donttest+=" or (test_batch_jobs and (test_dependencies or 
test_container_overrides))"
+donttest+=" or (test_cloudformation_custom_resources and 
test_create_custom_lambda_resource__verify_cfnresponse_failed)"
+donttest+=" or (test_cloudformation_stack_integration and 
test_lambda_function)"
+donttest+=" or test_firehose_put"
+donttest+=" or test_vpc_peering_connections_cross_region_fail"
 # no  python2.7 on TW
 donttest+=" or test_invoke_function_from_sqs_exception"
 donttest+=" or test_rotate_secret_lambda_invocations"
+
 # 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
 # no cfn-lint for python36
 python36_donttest+=" or (test_cloudformation and (validate or 
invalid_missing))"
-%pytest -k "not ($donttest ${$python_donttest})" tests/
+# 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"
+%pytest -k "not ($donttest ${$python_donttest} $deselect_for_parallel)" tests/
+export MOTO_CALL_RESET_API=false
+%pytest -n auto -k "not ($donttest ${$python_donttest})" $parallel_tests
 
 %post
 %python_install_alternative moto_server
 
-%preun
+%postun
 %python_uninstall_alternative moto_server
 
 %files %{python_files}

++++++ moto-2.2.2.tar.gz -> moto-2.3.0.tar.gz ++++++
++++ 326217 lines of diff (skipped)

Reply via email to