commit python-moto for openSUSE:Factory

2020-10-06 Thread root
Hello community,

here is the log from the commit of package python-moto for openSUSE:Factory 
checked in at 2020-10-06 17:11:40

Comparing /work/SRC/openSUSE:Factory/python-moto (Old)
 and  /work/SRC/openSUSE:Factory/.python-moto.new.4249 (New)


Package is "python-moto"

Tue Oct  6 17:11:40 2020 rev:7 rq:839752 version:1.3.16

Changes:

--- /work/SRC/openSUSE:Factory/python-moto/python-moto.changes  2020-05-08 
23:06:51.054046005 +0200
+++ /work/SRC/openSUSE:Factory/.python-moto.new.4249/python-moto.changes
2020-10-06 17:16:16.397793706 +0200
@@ -1,0 +2,16 @@
+Fri Sep 25 09:41:27 UTC 2020 - Hans-Peter Jansen 
+
+- Update to 1.3.16:
+- Update to 1.3.15:
+  * Many various updates see CHANGELOG.md
+- Drop merged patches
+  * dynabodbstreams.patch
+  * iot-1.patch
+  * iot-2.patch
+  * iot-3.patch
+  * lambdas.patch
+- Remove no longer needed patch
+  * unpin-reqs.patch
+- Exclude 3 failing tests (docker related)
+
+---

Old:

  dynabodbstreams.patch
  iot-1.patch
  iot-2.patch
  iot-3.patch
  lambdas.patch
  moto-1.3.14.tar.gz
  unpin-reqs.patch

New:

  moto-1.3.16.tar.gz



Other differences:
--
++ python-moto.spec ++
--- /var/tmp/diff_new_pack.2I6CxC/_old  2020-10-06 17:16:17.021794235 +0200
+++ /var/tmp/diff_new_pack.2I6CxC/_new  2020-10-06 17:16:17.025794238 +0200
@@ -19,18 +19,12 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:   python-moto
-Version:1.3.14
+Version:1.3.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
-Patch0: unpin-reqs.patch
-Patch1: dynabodbstreams.patch
-Patch2: iot-1.patch
-Patch3: iot-2.patch
-Patch4: iot-3.patch
-Patch5: lambdas.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -122,7 +116,7 @@
 # skipped tests require network connection
 export BOTO_CONFIG=/dev/null
 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-nosetests-%{$python_bin_suffix} -sv ./tests/ -e 
"(test_invoke_requestresponse_function|test_context_manager|test_decorator_start_and_stop|test_invoke_function_from_sns|test_passthrough_requests)"
+nosetests-%{$python_bin_suffix} -sv ./tests/ -e 
"(test_invoke_requestresponse_function|test_context_manager|test_decorator_start_and_stop|test_invoke_function_from_sns|test_passthrough_requests|test_list_jobs|test_submit_job|test_put_subscription_filter_with_lambda)"
 }
 
 %post

++ moto-1.3.14.tar.gz -> moto-1.3.16.tar.gz ++
 83227 lines of diff (skipped)




commit python-moto for openSUSE:Factory

2020-05-08 Thread root
Hello community,

here is the log from the commit of package python-moto for openSUSE:Factory 
checked in at 2020-05-08 23:06:48

Comparing /work/SRC/openSUSE:Factory/python-moto (Old)
 and  /work/SRC/openSUSE:Factory/.python-moto.new.2738 (New)


Package is "python-moto"

Fri May  8 23:06:48 2020 rev:6 rq:801245 version:1.3.14

Changes:

--- /work/SRC/openSUSE:Factory/python-moto/python-moto.changes  2020-02-19 
12:42:08.699809982 +0100
+++ /work/SRC/openSUSE:Factory/.python-moto.new.2738/python-moto.changes
2020-05-08 23:06:51.054046005 +0200
@@ -1,0 +2,5 @@
+Mon May  4 08:14:48 UTC 2020 - Tomáš Chvátal 
+
+- Fix build without python2
+
+---



Other differences:
--
++ python-moto.spec ++
--- /var/tmp/diff_new_pack.Ra5zvV/_old  2020-05-08 23:06:52.006047950 +0200
+++ /var/tmp/diff_new_pack.Ra5zvV/_new  2020-05-08 23:06:52.010047957 +0200
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:   python-moto
 Version:1.3.14
 Release:0
@@ -86,7 +87,9 @@
 BuildRequires:  %{python_module sshpubkeys >= 3.1.0}
 BuildRequires:  %{python_module sure}
 BuildRequires:  %{python_module xmltodict}
+%if %{with python2}
 BuildRequires:  python-backports.tempfile
+%endif
 # /SECTION
 %ifpython2
 Requires:   python-backports.tempfile




commit python-moto for openSUSE:Factory

2020-02-19 Thread root
Hello community,

here is the log from the commit of package python-moto for openSUSE:Factory 
checked in at 2020-02-19 12:42:03

Comparing /work/SRC/openSUSE:Factory/python-moto (Old)
 and  /work/SRC/openSUSE:Factory/.python-moto.new.26092 (New)


Package is "python-moto"

Wed Feb 19 12:42:03 2020 rev:5 rq:775243 version:1.3.14

Changes:

--- /work/SRC/openSUSE:Factory/python-moto/python-moto.changes  2019-10-18 
14:36:05.115825018 +0200
+++ /work/SRC/openSUSE:Factory/.python-moto.new.26092/python-moto.changes   
2020-02-19 12:42:08.699809982 +0100
@@ -1,0 +2,14 @@
+Tue Feb 18 11:39:22 UTC 2020 - Tomáš Chvátal 
+
+- Update to 1.3.14:
+  * Support for Python 3.8
+  * Many various updates see CHANGELOG.md
+- Drop merged patch botocore.patch
+- Add patches to build with new botocore:
+  * dynabodbstreams.patch
+  * iot-1.patch
+  * iot-2.patch
+  * iot-3.patch
+  * lambdas.patch
+
+---

Old:

  botocore.patch
  moto-1.3.13.tar.gz

New:

  dynabodbstreams.patch
  iot-1.patch
  iot-2.patch
  iot-3.patch
  lambdas.patch
  moto-1.3.14.tar.gz



Other differences:
--
++ python-moto.spec ++
--- /var/tmp/diff_new_pack.SjkrpN/_old  2020-02-19 12:42:09.887812269 +0100
+++ /var/tmp/diff_new_pack.SjkrpN/_new  2020-02-19 12:42:09.891812277 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-moto
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,18 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-moto
-Version:1.3.13
+Version:1.3.14
 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
 Patch0: unpin-reqs.patch
-Patch1: botocore.patch
+Patch1: dynabodbstreams.patch
+Patch2: iot-1.patch
+Patch3: iot-2.patch
+Patch4: iot-3.patch
+Patch5: lambdas.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -72,6 +76,7 @@
 BuildRequires:  %{python_module jsonpickle}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module parameterized}
 BuildRequires:  %{python_module python-dateutil >= 2.1}
 BuildRequires:  %{python_module python-jose}
 BuildRequires:  %{python_module pytz}
@@ -96,6 +101,11 @@
 %setup -q -n moto-%{version}
 %autopatch -p1
 
+# IOT is too flaky in 1.3.14 release, remove with next one
+rm -r tests/test_iot/
+# Lambda tests are flaky in 1.3.14 too, fixed in git master
+rm -r tests/test_awslambda/
+
 %build
 %python_build
 
@@ -109,7 +119,7 @@
 # skipped tests require network connection
 export BOTO_CONFIG=/dev/null
 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-nosetests-%{$python_bin_suffix} -sv ./tests/ -e 
"(test_invoke_requestresponse_function|test_context_manager|test_decorator_start_and_stop|test_invoke_function_from_sns)"
+nosetests-%{$python_bin_suffix} -sv ./tests/ -e 
"(test_invoke_requestresponse_function|test_context_manager|test_decorator_start_and_stop|test_invoke_function_from_sns|test_passthrough_requests)"
 }
 
 %post

++ dynabodbstreams.patch ++
>From 40f241adc212c1c113399534616427d3e2c1d47a Mon Sep 17 00:00:00 2001
From: Steve Pulec 
Date: Thu, 21 Nov 2019 17:00:18 -0500
Subject: [PATCH] Fix dynamodb required stream parameter for new boto3.

---
 tests/test_dynamodbstreams/test_dynamodbstreams.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/test_dynamodbstreams/test_dynamodbstreams.py 
b/tests/test_dynamodbstreams/test_dynamodbstreams.py
index 01cf915af..e23302022 100644
--- a/tests/test_dynamodbstreams/test_dynamodbstreams.py
+++ b/tests/test_dynamodbstreams/test_dynamodbstreams.py
@@ -213,7 +213,7 @@ def test_enable_stream_on_table(self):
 
 resp = conn.update_table(
 TableName="test-streams",
-StreamSpecification={"StreamViewType": "KEYS_ONLY"},
+StreamSpecification={"StreamViewType": "KEYS_ONLY", 
"StreamEnabled": True},
 )
 assert "StreamSpecification" in resp["TableDescription"]
 assert resp["TableDescription"]["StreamSpecification"] == {
@@ -226,7 +226,7 @@ def test_enable_stream_on_table(self):
 with assert_raises(conn.exceptions.ResourceInUseException):
 resp = conn.update_table(
  

commit python-moto for openSUSE:Factory

2019-10-18 Thread root
Hello community,

here is the log from the commit of package python-moto for openSUSE:Factory 
checked in at 2019-10-18 14:36:02

Comparing /work/SRC/openSUSE:Factory/python-moto (Old)
 and  /work/SRC/openSUSE:Factory/.python-moto.new.2352 (New)


Package is "python-moto"

Fri Oct 18 14:36:02 2019 rev:4 rq:739040 version:1.3.13

Changes:

--- /work/SRC/openSUSE:Factory/python-moto/python-moto.changes  2019-06-19 
20:58:42.729997845 +0200
+++ /work/SRC/openSUSE:Factory/.python-moto.new.2352/python-moto.changes
2019-10-18 14:36:05.115825018 +0200
@@ -1,0 +2,18 @@
+Wed Oct 16 13:34:52 UTC 2019 - Tomáš Chvátal 
+
+- Add patch to fix working with newer botocore from upstream
+  git:
+  * botocore.patch
+
+---
+Wed Oct 16 12:55:59 UTC 2019 - Tomáš Chvátal 
+
+- Enable testsuite
+
+---
+Wed Oct 16 12:28:10 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.3.13:
+  * Various fixes and updates to match up features in boto/botocore
+
+---

Old:

  moto-1.3.8.tar.gz

New:

  botocore.patch
  moto-1.3.13.tar.gz



Other differences:
--
++ python-moto.spec ++
--- /var/tmp/diff_new_pack.LWwqr6/_old  2019-10-18 14:36:06.395821685 +0200
+++ /var/tmp/diff_new_pack.LWwqr6/_new  2019-10-18 14:36:06.395821685 +0200
@@ -18,63 +18,67 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-moto
-Version:1.3.8
+Version:1.3.13
 Release:0
 Summary:Library to mock out the boto library
 License:Apache-2.0
-Group:  Development/Languages/Python
 URL:https://github.com/spulec/moto
 Source: 
https://files.pythonhosted.org/packages/source/m/moto/moto-%{version}.tar.gz
 Patch0: unpin-reqs.patch
+Patch1: botocore.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-Jinja2 >= 2.7.3
+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.6.16
-Requires:   python-botocore >= 1.12.13
-Requires:   python-cfn-lint
+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-pyaml
 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
-Recommends: python-jsonpickle
 Requires(post): update-alternatives
 Requires(preun): update-alternatives
-Recommends: python-flask
+Recommends: python-Flask
 BuildArch:  noarch
 # SECTION test requirements
-BuildRequires:  %{python_module Jinja2 >= 2.7.3}
+BuildRequires:  %{python_module Flask}
+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.6.16}
-BuildRequires:  %{python_module botocore >= 1.12.13}
-BuildRequires:  %{python_module cfn-lint}
+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}
 BuildRequires:  %{python_module docker >= 2.5.1}
 BuildRequires:  %{python_module freezegun}
+BuildRequires:  %{python_module idna >= 2.5}
 BuildRequires:  %{python_module jsondiff >= 1.1.2}
 BuildRequires:  %{python_module jsonpickle}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module pyaml}
 BuildRequires:  %{python_module python-dateutil >= 2.1}
 BuildRequires:  %{python_module python-jose}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module requests >= 2.5}
 BuildRequires:  %{python_module responses >= 0.9.0}
 BuildRequires:  %{python_module six > 1.9}
+BuildRequires:  %{python_module sshpubkeys >= 3.1.0}
 BuildRequires:  %{python_module sure}
 BuildRequires:  %{python_module x

commit python-moto for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package python-moto for openSUSE:Factory 
checked in at 2019-06-19 20:58:40

Comparing /work/SRC/openSUSE:Factory/python-moto (Old)
 and  /work/SRC/openSUSE:Factory/.python-moto.new.4811 (New)


Package is "python-moto"

Wed Jun 19 20:58:40 2019 rev:3 rq:705183 version:1.3.8

Changes:

--- /work/SRC/openSUSE:Factory/python-moto/python-moto.changes  2019-03-07 
10:51:12.125841107 +0100
+++ /work/SRC/openSUSE:Factory/.python-moto.new.4811/python-moto.changes
2019-06-19 20:58:42.729997845 +0200
@@ -1,0 +2,9 @@
+Thu May 16 22:15:32 UTC 2019 - Scott Wulf 
+
+- Update to version 1.3.8:
+  * No changelog details provided (24 days since revision change)
+
+- Added unpin-reqs.patch
+  * Unpin jsondiff
+
+---

Old:

  moto-1.3.7.tar.gz

New:

  moto-1.3.8.tar.gz
  unpin-reqs.patch



Other differences:
--
++ python-moto.spec ++
--- /var/tmp/diff_new_pack.JdsU1l/_old  2019-06-19 20:58:43.257998318 +0200
+++ /var/tmp/diff_new_pack.JdsU1l/_new  2019-06-19 20:58:43.261998321 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-moto
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,14 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-moto
-Version:1.3.7
+Version:1.3.8
 Release:0
 Summary:Library to mock out the boto library
 License:Apache-2.0
 Group:  Development/Languages/Python
 URL:https://github.com/spulec/moto
 Source: 
https://files.pythonhosted.org/packages/source/m/moto/moto-%{version}.tar.gz
+Patch0: unpin-reqs.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -34,9 +35,10 @@
 Requires:   python-boto >= 2.36.0
 Requires:   python-boto3 >= 1.6.16
 Requires:   python-botocore >= 1.12.13
+Requires:   python-cfn-lint
 Requires:   python-cryptography >= 2.3.0
 Requires:   python-docker >= 2.5.1
-Requires:   python-jsondiff = 1.1.1
+Requires:   python-jsondiff >= 1.1.2
 Requires:   python-mock
 Requires:   python-pyaml
 Requires:   python-python-dateutil >= 2.1
@@ -58,10 +60,11 @@
 BuildRequires:  %{python_module boto >= 2.36.0}
 BuildRequires:  %{python_module boto3 >= 1.6.16}
 BuildRequires:  %{python_module botocore >= 1.12.13}
+BuildRequires:  %{python_module cfn-lint}
 BuildRequires:  %{python_module cryptography >= 2.3.0}
 BuildRequires:  %{python_module docker >= 2.5.1}
 BuildRequires:  %{python_module freezegun}
-BuildRequires:  %{python_module jsondiff == 1.1.1}
+BuildRequires:  %{python_module jsondiff >= 1.1.2}
 BuildRequires:  %{python_module jsonpickle}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose}
@@ -87,6 +90,7 @@
 
 %prep
 %setup -q -n moto-%{version}
+%autopatch -p1
 
 %build
 %python_build

++ moto-1.3.7.tar.gz -> moto-1.3.8.tar.gz ++
 12805 lines of diff (skipped)

++ unpin-reqs.patch ++
--- moto/setup-orig.py2018-11-04 14:29:10.0 -0800
+++ moto/setup.py   2019-05-16 14:18:26.128951428 -0700
@@ -36,3 +36,3 @@
 "docker>=2.5.1",
-"jsondiff==1.1.2",
+"jsondiff>=1.1.2",
 "aws-xray-sdk!=0.96,>=0.93",




commit python-moto for openSUSE:Factory

2019-03-07 Thread root
Hello community,

here is the log from the commit of package python-moto for openSUSE:Factory 
checked in at 2019-03-07 10:50:44

Comparing /work/SRC/openSUSE:Factory/python-moto (Old)
 and  /work/SRC/openSUSE:Factory/.python-moto.new.28833 (New)


Package is "python-moto"

Thu Mar  7 10:50:44 2019 rev:2 rq:682163 version:1.3.7

Changes:

--- /work/SRC/openSUSE:Factory/python-moto/python-moto.changes  2018-12-24 
11:37:19.805668405 +0100
+++ /work/SRC/openSUSE:Factory/.python-moto.new.28833/python-moto.changes   
2019-03-07 10:51:12.125841107 +0100
@@ -1,0 +2,5 @@
+Sat Dec 15 18:04:57 UTC 2018 - Jan Engelhardt 
+
+- Use noun phrase in summary.
+
+---



Other differences:
--
++ python-moto.spec ++
--- /var/tmp/diff_new_pack.Ep52yQ/_old  2019-03-07 10:51:12.557840989 +0100
+++ /var/tmp/diff_new_pack.Ep52yQ/_new  2019-03-07 10:51:12.561840989 +0100
@@ -20,7 +20,7 @@
 Name:   python-moto
 Version:1.3.7
 Release:0
-Summary:Mock out the boto library
+Summary:Library to mock out the boto library
 License:Apache-2.0
 Group:  Development/Languages/Python
 URL:https://github.com/spulec/moto