commit python-moto for openSUSE:Factory

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-31 22:57:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-moto (Old) and /work/SRC/openSUSE:Factory/.python-moto.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-moto" Mon Jan 31 22:57:14 2022 rev:12 rq:950105 version:3.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-moto/python-moto.changes 2022-01-19 00:35:05.754286217 +0100 +++ /work/SRC/openSUSE:Factory/.python-moto.new.1898/python-moto.changes 2022-01-31 22:58:00.485304370 +0100 @@ -1,0 +2,40 @@ +Mon Jan 31 07:13:04 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com> + +- Update to 3.0.2: + * Miscellaneous: + * Improved configuration options for Docker-instances started by + AWSLambda and Batch + * New Methods: + * EC2: + * create_snapshots() + * Logs: + * create_export_task() + * Organizations: + * remove_account_from_organization() + * Miscellaneous: + * DynamoDB: transact_write_items() now throws a + MultipleTransactionsException when appropriate + * DynamoDB: Now throws the appropriate InvalidConditionExpression when + a ConditionExpression contains reserved keywords + * Organizations: delete_organization() now validates whether all + accounts are deleted + * SecretsManager: The attributes CreatedDate and LastChangedDate are + now returned for secrets + * SNS: Simplistic email validation is now in place before sending emails + * Removed: + - All deprecated decorators have been removed + * Changes: + - The behaviour of the class-decorator has been reworked - the state + is now reset before every test-method. + - ECS ARN's are now using the long format. + * Rebranded: + - The new mock_s3control-decorator has been introduced. The existing + S3control methods (get/put/delete_public_access_block) are no longer + available via mock_s3, only via mock_s3control. + * General: + - Python 3.5 support has been removed + - Python 3.10 is now supported +- Add graphql-core to {Build,}Requires +- Remove importlib-metadata from {Build,}Requires + +------------------------------------------------------------------- Old: ---- moto-2.3.0.tar.gz New: ---- moto-3.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-moto.spec ++++++ --- /var/tmp/diff_new_pack.lCvdHd/_old 2022-01-31 22:58:00.985301004 +0100 +++ /var/tmp/diff_new_pack.lCvdHd/_new 2022-01-31 22:58:00.993300950 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-moto -Version: 2.3.0 +Version: 3.0.2 Release: 0 Summary: Library to mock out the boto library License: Apache-2.0 @@ -39,9 +39,6 @@ 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 @@ -56,14 +53,12 @@ BuildRequires: %{python_module aws-xray-sdk >= 0.93} BuildRequires: %{python_module boto3 >= 1.9.201} BuildRequires: %{python_module botocore >= 1.12.201} -# old boto is still imported in test files, but not a runtime requirement anymore. -BuildRequires: %{python_module boto} +BuildRequires: %{python_module cfn-lint >= 0.4.0} 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 graphql-core} BuildRequires: %{python_module idna >= 2.5} -BuildRequires: %{python_module importlib_metadata if %python-base < 3.8} BuildRequires: %{python_module jsondiff >= 1.1.2} BuildRequires: %{python_module jsonpickle} BuildRequires: %{python_module parameterized} @@ -78,7 +73,6 @@ BuildRequires: %{python_module sure} BuildRequires: %{python_module xmltodict} BuildRequires: %{python_module zipp} -BuildRequires: %{python_module cfn-lint >= 0.4.0 if (%python-base without python36-base)} # /SECTION %python_subpackages @@ -90,10 +84,9 @@ Summary: Library to mock out the boto library -- all extras Requires: python-PyYAML >= 5.1 Requires: python-aws-xray-sdk >= 0.93 -%if "%python_flavor" != "python36" Requires: python-cfn-lint >= 0.4.0 -%endif Requires: python-docker >= 2.5.1 +Requires: python-graphql-core Requires: python-idna >= 2.5 Requires: python-jsondiff >= 1.1.2 Requires: python-moto = %{version} @@ -115,8 +108,7 @@ library. Meta package to install server extras (moto[server]) %prep -%setup -q -n moto-%{version} -%autopatch -p1 +%autosetup -p1 -n moto-%{version} # 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 @@ -151,8 +143,6 @@ 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))" # 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-2.3.0.tar.gz -> moto-3.0.2.tar.gz ++++++ ++++ 103532 lines of diff (skipped)
participants (1)
-
Source-Sync