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 2023-02-06 14:15:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-moto (Old) and /work/SRC/openSUSE:Factory/.python-moto.new.4462 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-moto" Mon Feb 6 14:15:28 2023 rev:19 rq:1063333 version:4.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-moto/python-moto.changes 2022-11-26 18:45:21.919181531 +0100 +++ /work/SRC/openSUSE:Factory/.python-moto.new.4462/python-moto.changes 2023-02-06 14:15:29.516593082 +0100 @@ -1,0 +2,77 @@ +Sat Jan 21 10:38:55 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 4.1.0 + * Dropped support for Py 3.6 + * Moto now uses setup.cfg to hold our packaging configuration, + instead of setup.py, making Moto compatible with more recent + Pip-versions +- Moto 4.0.13 + ## New Methods: + * EC2: + - get_password_data() + * Sagemaker: + - update_pipeline() + * SecretsManager: + - cancel_rotate_secret() + ## Miscellaneous: + * CloudWatch: put_metric_data() now supports the + StatisticValues-parameter + * CognitoIDP: sign_out() now also invalidates the AccessToken + * IAM: get_account_authorization_details() now returns the + Tags-attribute + * IOT: create_keys_and_certificate() now creates valid + certificates, instead of random data +- Moto 4.0.12 + ## General: + * Fixes our Kinesis-compatibility with botocore>=1.29.31 - + earlier Moto-versions will connect to AWS when using this + botocore-version + # New Methods: + * Athena: + - get_query_results() + - list_query_executions() + * RDS: + - promote_read_replica() + * Sagemaker: + - create_pipeline() + - delete_pipeline() + - list_pipelines() + ## Miscellaneous: + * AWSLambda: publish_function() and update_function_code() now + only increment the version if the source code has changed + * CognitoIDP: Passwords are now validated using the + PasswordPolicy (either supplied, or the default) + * CloudFormation: create_stack() now propagates parameters + StackPolicyBody and TimeoutInMinutes + * CloudFormation: create_stack_instances() now returns the actual + OperationId + * CloudFormation: create_stack_set() now validates the provided + name + * CloudFormation: create_stack_set() now supports the + DeploymentTargets-parameter + * CloudFormation: create_stack_set() now actually creates the + provided resources + * CloudFormation: create_stack_set() now propagates parameters + AdministrationRoleARN and ExecutionRoleName + * CloudFormation: describe_stack_set() now returns the attributes + Description, PermissionModel + * CloudFormation: delete_stack_set() now validates that no + instances are present before deleting the set + * CloudWatch: get_metric_data() now supports the Label-parameter + * EC2: allocate_address() now has improved behaviour for the + Domain-parameter + * EC2: create_volume() now supports the Iops-parameter + * ECR: Improved ImageManifest support + * KMS: describe_key() now returns an AccessDeniedException if the + supplied policy does not allow this action + * Route53: change_resource_record_sets() has additional + validations + * Route53: create_hosted_zone() now also creates a SOA-record by + default + * S3: put_object() now returns the ChecksumAlgorithm-attribute if + supplied + * SSM: describe_parameters() now has improved support for + filtering by tags +- Drop remove-mock.patch -- fixed upstream + +------------------------------------------------------------------- Old: ---- moto-4.0.10.tar.gz remove-mock.patch New: ---- moto-4.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-moto.spec ++++++ --- /var/tmp/diff_new_pack.DRnySL/_old 2023-02-06 14:15:30.172596351 +0100 +++ /var/tmp/diff_new_pack.DRnySL/_new 2023-02-06 14:15:30.176596371 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-moto # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,17 @@ # -%define skip_python2 1 Name: python-moto -Version: 4.0.10 +Version: 4.1.0 Release: 0 -Summary: Library to mock out the boto library +Summary: Library to mock out tests based on AWS License: Apache-2.0 -URL: https://github.com/spulec/moto +URL: https://github.com/getmoto/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 base >= 3.6} +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Jinja2 >= 2.10.1 @@ -35,7 +34,6 @@ Requires: python-boto3 >= 1.9.201 Requires: python-botocore >= 1.12.201 Requires: python-cryptography >= 3.3.1 -Requires: python-pytz Requires: python-requests >= 2.5 Requires: python-responses >= 0.13.0 Requires: python-xmltodict @@ -66,26 +64,23 @@ BuildRequires: %{python_module importlib-metadata if %python-base < 3.8} BuildRequires: %{python_module jsondiff >= 1.1.2} BuildRequires: %{python_module jsonpickle} -BuildRequires: %{python_module openapi-spec-validator} -BuildRequires: %{python_module parameterized} -BuildRequires: %{python_module pyparsing >= 3} +BuildRequires: %{python_module openapi-spec-validator >= 0.2.8} +BuildRequires: %{python_module pyparsing >= 3.0.7} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil >= 2.1 with %python-python-dateutil < 3} BuildRequires: %{python_module python-jose} -BuildRequires: %{python_module pytz} BuildRequires: %{python_module requests >= 2.5} BuildRequires: %{python_module responses >= 0.13.0} BuildRequires: %{python_module sshpubkeys >= 3.1.0} -BuildRequires: %{python_module sure} +BuildRequires: %{python_module surer} BuildRequires: %{python_module xmltodict} BuildRequires: %{python_module Werkzeug >= 0.5 without (%python-Werkzeug >= 2.2.0 with %python-Werkzeug < 2.2.2)} # /SECTION %python_subpackages %description -A library that allows your python tests to mock out the boto -library. +A library that allows your python tests to mock out AWS Services %package all Summary: Library to mock out the boto library -- all extras @@ -128,10 +123,10 @@ done %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/moto_server @@ -153,7 +148,8 @@ donttest+=" or (test_server and test_s3_server_post_to_bucket_redirect)" donttest+=" or (test_multiple_accounts_server and test_with_custom_request_header)" donttest+=" or test_invoke_function_from_sqs_exception" - +# 32-bit platforms can't handle dates beyond 2038 +[ $(getconf LONG_BIT) -eq 32 ] && donttest+=" or test_list_pipelines_created_after" # 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" @@ -172,7 +168,7 @@ %license LICENSE %python_alternative %{_bindir}/moto_server %{python_sitelib}/moto -%{python_sitelib}/moto-%{version}*-info +%{python_sitelib}/moto-%{version}.dist-info %files %{python_files all} %license LICENSE ++++++ moto-4.0.10.tar.gz -> moto-4.1.0.tar.gz ++++++ ++++ 89963 lines of diff (skipped)