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 <[email protected]> + +- Add patch to fix working with newer botocore from upstream + git: + * botocore.patch + +------------------------------------------------------------------- +Wed Oct 16 12:55:59 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Enable testsuite + +------------------------------------------------------------------- +Wed Oct 16 12:28:10 UTC 2019 - Tomáš Chvátal <[email protected]> + +- 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 xmltodict} BuildRequires: python-backports.tempfile @@ -101,11 +105,12 @@ %python_clone -a %{buildroot}%{_bindir}/moto_server -# Tests require a network connection -# %%check -# %%{python_expand export PYTHONPATH=%%{buildroot}%%{$python_sitelib} -# nosetests-%%{$python_bin_suffix} -sv ./tests/ -# } +%check +# 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)" +} %post %python_install_alternative moto_server ++++++ botocore.patch ++++++ >From e4a4e6183560489e98b95e815b439c7a1cf3566c Mon Sep 17 00:00:00 2001 From: Steve Pulec <[email protected]> Date: Mon, 29 Jul 2019 22:52:29 -0500 Subject: [PATCH] Allow passing of encoding-type for s3 get_bucket_versions without throwing error. This was a change made in https://github.com/boto/botocore/pull/1794. --- moto/s3/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/s3/models.py b/moto/s3/models.py index 2a628d681..528eacee3 100644 --- a/moto/s3/models.py +++ b/moto/s3/models.py @@ -764,7 +764,7 @@ def get_bucket_versions(self, bucket_name, delimiter=None, prefix=''): bucket = self.get_bucket(bucket_name) - if any((delimiter, encoding_type, key_marker, version_id_marker)): + if any((delimiter, key_marker, version_id_marker)): raise NotImplementedError( "Called get_bucket_versions with some of delimiter, encoding_type, key_marker, version_id_marker") ++++++ moto-1.3.8.tar.gz -> moto-1.3.13.tar.gz ++++++ ++++ 41484 lines of diff (skipped)
