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 2021-05-20 19:25:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-moto (Old)
 and      /work/SRC/openSUSE:Factory/.python-moto.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-moto"

Thu May 20 19:25:21 2021 rev:9 rq:894555 version:2.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-moto/python-moto.changes  2021-01-04 
19:09:49.119416451 +0100
+++ /work/SRC/openSUSE:Factory/.python-moto.new.2988/python-moto.changes        
2021-05-20 19:25:49.753753284 +0200
@@ -1,0 +2,88 @@
+Thu Apr 15 10:08:23 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to 2.0.5
+  * New Services MediaStore
+  * ACM now supports the MOTO_ACM_VALIDATION_WAIT-environment
+    variable, to configure the wait time before the status on new
+    certificates move from PENDING_VALIDATION to ISSUED
+  * CloudFormation support for AWS::SageMaker::NotebookInstance
+  * EMR:run_job_flow() now creates the appropriate EC2 security
+    groups in a private subnet
+  * Events:put_events() has improved support for the
+    EventPattern-parameter in create_archive/put_rule
+  * Events:put_targets() now support SQS queues
+  * IAM:get_user() now returns the Tags-attribute
+  * Fixed a bug where Moto would break on systems with a default
+    encoding other than UTF-8
+- Release 2.0.4
+  * Events:put_targets() now supports SQS queues
+  * Support:describe_cases() no longer requires the
+    caseIdList-parameter
+- Release 2.0.3
+  * New methods for Support
+  * CF now returns the PhysicalResourceId-attributes for
+    AWS::EC2::NatGateway/AWS::EC2::Route/
+    AWS::EC2::SubnetRouteTableAssociation
+  * CognitoIDP:sign_up() now throws an UsernameExistsException if
+    appropriate
+  * DynamoDB now validates the case sensitivity for begins_with/
+    between operators
+  * EC2:associate_route_table() now supports the
+    GatewayId-parameter
+  * EC2:authorize_egress() now throws a InvalidPermission.
+    Duplicate-exception if appropriate
+  * EC2:authorize_security_group_egress() now throws a
+    InvalidGroup.NotFound-exception
+  * EC2:authorize_security_group_ingress() now throws a
+    InvalidGroup.NotFound-exception
+  * Events:describe_rule() now returns the ManagedBy/
+    CreatedBy-parameters
+  * Events:put_events() now supports providing an ARN for the
+    EventBusName-parameter
+  * Route53:list_hosted_zones_by_name() now returns the
+    DNSName-parameter
+  * S3:put_object_acl() now throws a NoSuchKey-exception if the
+    object does not exist
+  * SES:send_templated_email() now throws a
+    TemplateDoesNotExist-exception if the template has not been
+    created first
+  * SSM:put_parameter() now throws an exception for empty values
+- Release 2.0.2
+  * New Osaka region is now supported
+  * New Service MediaPackage
+  New Methods:
+  * Redshift: authorize_cluster_security_group_ingress
+  * Secrets Manager: untag_resource
+- Release 2.0.1
+  * New Service Media Connect
+  * New Methods for API Gateway, Events
+- Release 2.0.0
+  * When installing, it is now required to specify the service you
+    want to use:
+      pip install moto[service1,service2]
+      pip install moto[all]
+    This will ensure that only the required dependencies are
+    downloaded.
+    See the README for more information.
+  * Moved CI to Github Actions
+  * Moto no longer hogs the _default_mock from responses
+  * Internal testing is now executed using Pytest (instead of Nose)
+  * CORS is now enabled when running MotoServer
+  * AWS Lambda and Batch now support Podman as an alternative to
+    Docker
+  * New Services:
+      Forecast
+      MediaLive
+      Support
+      Transcribe
+- See CHANGELOG.md for a more detailed list of changes.
+- Drop patches merged upstream:
+  * moto-pr3273-escape-sequences.patch
+  * moto-pr3308-fix-test_s3.patch
+  * moto-pr3412-fix-cfn-lint.patch
+  * moto-pr3444-fix-docker.patch
+  * moto-pr3575-managedblockchain-botocore-api.patch
+  * remove_nose.patch
+  * denose_exceptions.patch
+
+-------------------------------------------------------------------

Old:
----
  denose_exceptions.patch
  moto-1.3.16.tar.gz
  moto-pr3273-escape-sequences.patch
  moto-pr3308-fix-test_s3.patch
  moto-pr3412-fix-cfn-lint.patch
  moto-pr3444-fix-docker.patch
  moto-pr3575-managedblockchain-botocore-api.patch
  remove_nose.patch

New:
----
  moto-2.0.5.tar.gz

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

Other differences:
------------------
++++++ python-moto.spec ++++++
--- /var/tmp/diff_new_pack.HDoDWV/_old  2021-05-20 19:25:50.329750922 +0200
+++ /var/tmp/diff_new_pack.HDoDWV/_new  2021-05-20 19:25:50.329750922 +0200
@@ -18,82 +18,69 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %if 0%{?suse_version} >= 1500
+# skip python2 in SLE/Leap 15
+%bcond_with python2
+%else
+%bcond_without python2
+%endif
+%if ! %{with python2}
 %define skip_python2 1
 %endif
 Name:           python-moto
-Version:        1.3.16
+Version:        2.0.5
 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-FIX-UPSTREAM moto-pr3273-escape-sequences.patch gh#spulec/moto#3273 
fix escape sequences so that subsequent patches apply without rebase
-Patch0:         
https://github.com/spulec/moto/pull/3273.patch#/moto-pr3273-escape-sequences.patch
-# PATCH-FIX-UPSTREAM moto-pr3308-fix-test_s3.patch gh#spulec/moto#3308 -- fix 
test failure
-Patch1:         
https://github.com/spulec/moto/pull/3308.patch#/moto-pr3308-fix-test_s3.patch
-# PATCH-FEATURE-UPSTREAM remove_nose.patch gh#spulec/moto#3361 [email protected]
-# Port test suite from nose to pytest
-Patch2:         remove_nose.patch
-# PATCH-FEATURE-UPSTREAM denose_exceptions.patch gh#spulec/moto#3361 
[email protected]
-# Continuation of the previous patch
-Patch3:         denose_exceptions.patch
-# PATCH-FIX-UPSTREAM moto-pr3412-fix-cfn-lint.patch -- gh#spulec/moto#3412 Fix 
failures with newer cfn-lint
-Patch4:         
https://github.com/spulec/moto/pull/3412.patch#/moto-pr3412-fix-cfn-lint.patch
-# PATCH-FIX-UPSTREAM moto-pr3444-fix-docker.patch -- gh#spulec/moto#3444 Fix 
docker failure in test
-Patch5:         
https://github.com/spulec/moto/pull/3444.patch#/moto-pr3444-fix-docker.patch
-# PATCH-FIX-UPSTREAM moto-pr3575-managedblockchain-botocore-api.patch -- 
gh#spulec/moto#3575 Support change botocore api
-Patch6:         
https://github.com/spulec/moto/pull/3575.patch#/moto-pr3575-managedblockchain-botocore-api.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Jinja2 >= 2.10.1
-Requires:       python-PyYAML >= 5.1
 Requires:       python-Werkzeug
-Requires:       python-aws-xray-sdk >= 0.93
-Requires:       python-boto >= 2.36.0
 Requires:       python-boto3 >= 1.9.201
 Requires:       python-botocore >= 1.12.201
-Requires:       python-cfn-lint >= 0.4.0
-Requires:       python-cryptography >= 2.3.0
-Requires:       python-docker >= 2.5.1
-Requires:       python-idna >= 2.5
-Requires:       python-jsondiff >= 1.1.2
-Requires:       python-mock
+Requires:       python-cryptography >= 3.3.1
+Requires:       python-more-itertools
 Requires:       python-python-dateutil >= 2.1
-Requires:       python-python-jose
 Requires:       python-pytz
 Requires:       python-requests >= 2.5
 Requires:       python-responses >= 0.9.0
 Requires:       python-six > 1.9
-Requires:       python-sshpubkeys >= 3.1.0
 Requires:       python-xmltodict
+Requires:       python-zipp
 %if %{python_version_nodots} < 37
 # gh#spulec/moto#3576
 Requires:       python-importlib-resources
 %endif
+%ifpython2
+Requires:       python-backports.tempfile
+Requires:       python-configparser < 5
+Requires:       python-mock
+%endif
 Requires(post): update-alternatives
-Requires(preun): update-alternatives
-Recommends:     python-Flask
+Requires(preun):update-alternatives
+Recommends:     python-moto-all
+Suggests:       python-moto-server
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module Flask}
+BuildRequires:  %{python_module Flask-Cors}
 BuildRequires:  %{python_module Jinja2 >= 2.10.1}
 BuildRequires:  %{python_module PyYAML >= 5.1}
 BuildRequires:  %{python_module Werkzeug}
 BuildRequires:  %{python_module aws-xray-sdk >= 0.93}
-BuildRequires:  %{python_module boto >= 2.36.0}
 BuildRequires:  %{python_module boto3 >= 1.9.201}
 BuildRequires:  %{python_module botocore >= 1.12.201}
-BuildRequires:  %{python_module cfn-lint >= 0.4.0}
-BuildRequires:  %{python_module cryptography >= 2.3.0}
+# 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 docker >= 2.5.1}
 BuildRequires:  %{python_module freezegun}
 BuildRequires:  %{python_module idna >= 2.5}
-# For Python versions without importlib.resources, but it does not hurt to 
install the package for all flavors.
-BuildRequires:  %{python_module importlib-resources}
 BuildRequires:  %{python_module jsondiff >= 1.1.2}
 BuildRequires:  %{python_module jsonpickle}
-BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module more-itertools}
 BuildRequires:  %{python_module parameterized}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module python-dateutil >= 2.1}
@@ -105,19 +92,49 @@
 BuildRequires:  %{python_module sshpubkeys >= 3.1.0}
 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)}
+BuildRequires:  %{python_module importlib-resources if (%python-base < 3.7)}
 %if %{with python2}
 BuildRequires:  python-backports.tempfile
+BuildRequires:  python-configparser < 5
+BuildRequires:  python-mock
 %endif
 # /SECTION
-%ifpython2
-Requires:       python-backports.tempfile
-%endif
 %python_subpackages
 
 %description
 A library that allows your python tests to mock out the boto
 library.
 
+%package all
+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-idna >= 2.5
+Requires:       python-jsondiff >= 1.1.2
+Requires:       python-moto = %{version}
+Requires:       python-python-jose
+Requires:       python-sshpubkeys >= 3.1.0
+
+%description all
+A library that allows your python tests to mock out the boto
+library. Meta package to install all extras (moto[all])
+
+%package server
+Summary:        Library to mock out the boto library -- all extras
+Requires:       python-Flask
+Requires:       python-Flask-Cors
+Requires:       python-moto-all = %{version}
+
+%description server
+A library that allows your python tests to mock out the boto
+library. Meta package to install server extras (moto[server])
+
 %prep
 %setup -q -n moto-%{version}
 %autopatch -p1
@@ -132,9 +149,20 @@
 %python_clone -a %{buildroot}%{_bindir}/moto_server
 
 %check
-# skipped tests require network connection
 export BOTO_CONFIG=/dev/null
-%pytest -k 'not network' tests/
+# no online tests on obs
+donttest="network"
+# no connection -- no such file
+donttest+=" or test_terminate_job"
+# no  python2.7 on TW
+donttest+=" or test_invoke_function_from_sqs_exception"
+# https://github.com/boto/botocore/issues/2355
+if [ $(getconf LONG_BIT) -eq 32 ]; then
+  donttest+=" or test_describe_certificate"
+fi
+# no cfn-lint for python36
+python36_donttest+=" or (test_cloudformation and (validate or 
invalid_missing))"
+%pytest -k "not ($donttest ${$python_donttest})" tests/
 
 %post
 %python_install_alternative moto_server
@@ -148,4 +176,10 @@
 %python_alternative %{_bindir}/moto_server
 %{python_sitelib}/*
 
+%files %{python_files all}
+%license LICENSE
+
+%files %{python_files server}
+%license LICENSE
+
 %changelog

++++++ moto-1.3.16.tar.gz -> moto-2.0.5.tar.gz ++++++
++++ 102502 lines of diff (skipped)

Reply via email to