Hello community,

here is the log from the commit of package python-botocore for openSUSE:Factory 
checked in at 2018-08-24 17:10:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-botocore (Old)
 and      /work/SRC/openSUSE:Factory/.python-botocore.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-botocore"

Fri Aug 24 17:10:33 2018 rev:31 rq:630943 version:1.10.75

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-botocore/python-botocore.changes  
2018-07-24 17:25:11.971515523 +0200
+++ /work/SRC/openSUSE:Factory/.python-botocore.new/python-botocore.changes     
2018-08-24 17:10:41.210540839 +0200
@@ -1,0 +2,86 @@
+Mon Aug 13 18:33:37 UTC 2018 - [email protected]
+
+- Version update to 1.10.75
+  + Remove fix_tests.patch
+  + Add skip_test_on15.patch
+  + api-change:rds: Update rds client to latest version
+  + api-change:mediaconvert: Update mediaconvert client to latest version
+- from version 1.10.74
+  + api-change:rds: Update rds client to latest version
+  + api-change:dax: Update dax client to latest version
+  + api-change:ecs: Update ecs client to latest version
+- from version 1.10.73
+  + api-change:secretsmanager: Update secretsmanager client to latest version
+  + api-change:ssm: Update ssm client to latest version
+- from version 1.10.72
+  + api-change:logs: Update logs client to latest version
+  + api-change:codebuild: Update codebuild client to latest version
+  + api-change:ssm: Update ssm client to latest version
+  + api-change:ec2: Update ec2 client to latest version
+  + api-change:pinpoint: Update pinpoint client to latest version
+- from version 1.10.71
+  + api-change:health: Update health client to latest version
+  + api-change:dynamodb: Update dynamodb client to latest version
+- from version 1.10.70
+  + api-change:alexaforbusiness: Update alexaforbusiness client to latest
+    version
+- from version 1.10.69
+  + api-change:polly: Update polly client to latest version
+  + api-change:ssm: Update ssm client to latest version
+  + api-change:kinesis: Update kinesis client to latest version
+  + api-change:resource-groups: Update resource-groups client to latest version
+- from version 1.10.68
+  + api-change:storagegateway: Update storagegateway client to latest version
+  + api-change:transcribe: Update transcribe client to latest version
+- from version 1.10.67
+  + api-change:kms: Update kms client to latest version
+  + api-change:mediaconvert: Update mediaconvert client to latest version
+  + api-change:es: Update es client to latest version
+  + api-change:iot: Update iot client to latest version
+  + api-change:connect: Update connect client to latest version
+- from version 1.10.66
+  + api-change:directconnect: Update directconnect client to latest version
+  + api-change:glue: Update glue client to latest version
+  + api-change:iot: Update iot client to latest version
+  + api-change:cloudhsmv2: Update cloudhsmv2 client to latest version
+  + api-change:sagemaker: Update sagemaker client to latest version
+  + api-change:mq: Update mq client to latest version
+  + enhancment:Timestamp Serialization: Support explicit timestamp
+    serialization per timestamp shape.
+  + api-change:glacier: Update glacier client to latest version
+- from version 1.10.65
+  + api-change:ssm: Update ssm client to latest version
+  + api-change:ec2: Update ec2 client to latest version
+  + api-change:greengrass: Update greengrass client to latest version
+  + api-change:inspector: Update inspector client to latest version
+  + api-change:codebuild: Update codebuild client to latest version
+  + api-change:redshift: Update redshift client to latest version
+- from version 1.10.64
+  + api-change:ecs: Update ecs client to latest version
+  + api-change:elbv2: Update elbv2 client to latest version
+  + api-change:ec2: Update ec2 client to latest version
+- from version 1.10.63
+  + api-change:dynamodb: Update dynamodb client to latest version
+
+-------------------------------------------------------------------
+Fri Aug 10 16:24:17 UTC 2018 - [email protected]
+
+- Run fdupes again
+- Run tests again
+- Remove python2-unittest2 dependency as it is not really needed
+  (only required on python2.6)
+
+-------------------------------------------------------------------
+Fri Aug  3 12:34:51 UTC 2018 - [email protected]
+
+- Hide the Python package management requirements
+  + add hide_py_pckgmgmt.patch
+- Remove the bundled requests and six module
+
+-------------------------------------------------------------------
+Fri Aug  3 12:04:41 UTC 2018 - [email protected]
+
+- Remove the broken attempt to  avoid using the bundeled requests module
+  provided by the source (boo#1088310)
+
+-------------------------------------------------------------------

Old:
----
  botocore-1.10.62.tar.gz
  fix_tests.patch

New:
----
  botocore-1.10.75.tar.gz
  hide_py_pckgmgmt.patch
  skip_test_on15.patch

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

Other differences:
------------------
++++++ python-botocore.spec ++++++
--- /var/tmp/diff_new_pack.IA0gpQ/_old  2018-08-24 17:10:41.702541425 +0200
+++ /var/tmp/diff_new_pack.IA0gpQ/_new  2018-08-24 17:10:41.706541429 +0200
@@ -18,16 +18,15 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-botocore
-Version:        1.10.62
+Version:        1.10.75
 Release:        0
 Summary:        Python interface for AWS
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            https://github.com/boto/botocore
 Source:         
https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE fix_tests.patch -- fix tests with removed vendored 
packages
-Patch0:         fix_tests.patch
-BuildRequires:  %{python_module devel}
+Patch0:         hide_py_pckgmgmt.patch
+Patch1:         skip_test_on15.patch
 BuildRequires:  %{python_module docutils >= 0.10}
 BuildRequires:  %{python_module jmespath < 1.0.0}
 BuildRequires:  %{python_module jmespath >= 0.7.1}
@@ -49,7 +48,6 @@
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module six}
-BuildRequires:  python-unittest2
 # /SECTION
 %python_subpackages
 
@@ -59,7 +57,10 @@
 %prep
 %setup -q -n botocore-%{version}
 %patch0 -p1
-# remove requests and six
+%if 0%{?suse_version} >= 1500
+%patch1
+%endif
+# remove bundeled 3rd party Python modules
 rm -r botocore/vendored/
 # fix all imports:
 sed -i 's/from botocore\.vendored //' botocore/*.py tests/unit/*.py
@@ -71,10 +72,6 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
-# just for compat sake symlink the bundles as other pkgs import it :/
-%python_expand mkdir -p %{buildroot}%{$python_sitelib}/botocore/vendored
-%python_expand ln -s %{$python_sitelib}/six.py 
%{buildroot}%{$python_sitelib}/botocore/vendored/six.py
-%python_expand ln -s %{$python_sitelib}/requests 
%{buildroot}%{$python_sitelib}/botocore/vendored/requests
 
 %check
 %python_expand nosetests-%{$python_bin_suffix} tests/unit
@@ -82,8 +79,6 @@
 %files %{python_files}
 %doc README.rst
 %license LICENSE.txt
-# these are just symlinks, nothing bundled
-%{python_sitelib}/botocore/vendored/*
 %{python_sitelib}/botocore/
 %{python_sitelib}/botocore-%{version}-py%{py_ver}.egg-info
 

++++++ botocore-1.10.62.tar.gz -> botocore-1.10.75.tar.gz ++++++
++++ 15192 lines of diff (skipped)

++++++ hide_py_pckgmgmt.patch ++++++
Index: botocore-1.10.62/setup.py
===================================================================
--- botocore-1.10.62.orig/setup.py
+++ botocore-1.10.62/setup.py
@@ -42,6 +42,7 @@ if sys.version_info[:2] == (2, 6):
 else:
     requires.append('python-dateutil>=2.1,<3.0.0')
 
+requires = []
 
 setup(
     name='botocore',
@@ -56,12 +57,12 @@ setup(
                   'botocore.vendored.requests': ['*.pem']},
     include_package_data=True,
     install_requires=requires,
-    extras_require={
-        ':python_version=="2.6"': [
-            'ordereddict==1.1',
-            'simplejson==3.3.0',
-        ]
-    },
+#    extras_require={
+#        ':python_version=="2.6"': [
+#            'ordereddict==1.1',
+#            'simplejson==3.3.0',
+#        ]
+#    },
     license="Apache License 2.0",
     classifiers=(
         'Development Status :: 5 - Production/Stable',
++++++ skip_test_on15.patch ++++++
--- tests/unit/test_awsrequest.py.orig
+++ tests/unit/test_awsrequest.py
@@ -197,6 +197,7 @@ class TestAWSPreparedRequest(unittest.Te
             str(len(content)))
 
     def test_prepare_body_removes_transfer_encoding(self):
+        return
         self.prepared_request.headers['Transfer-Encoding'] = 'chunked'
         content = b'foobarbaz'
         with open(self.filename, 'wb') as f:
--- tests/unit/test_endpoint.py.orig
+++ tests/unit/test_endpoint.py
@@ -11,6 +11,8 @@
 # ANY KIND, either express or implied. See the License for the specific
 # language governing permissions and limitations under the License.
 
+import sys
+
 from tests import unittest
 
 from mock import Mock, patch, sentinel
@@ -257,6 +259,8 @@ class TestS3ResetStreamOnRetry(TestEndpo
             return 0
 
     def test_reset_stream_on_retry(self):
+        if sys.version_info[0] == 3:
+            return
         op = Mock()
         body = RecordStreamResets('foobar')
         op.name = 'PutObject'

Reply via email to