From b636a1a091dea886e373b9692276686fa0de97aa Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 16 Aug 2023 08:31:56 -0500 Subject: [PATCH] 1.31.27 --- Fix-test-failures-with-Python-3.12.patch | 39 ------------------------ python-botocore.spec | 8 ++--- 2 files changed, 4 insertions(+), 43 deletions(-) delete mode 100644 Fix-test-failures-with-Python-3.12.patch diff --git a/Fix-test-failures-with-Python-3.12.patch b/Fix-test-failures-with-Python-3.12.patch deleted file mode 100644 index 8605a9b..0000000 --- a/Fix-test-failures-with-Python-3.12.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 66acf7567a00559c42663f0b68ea9a802f2cbe0e Mon Sep 17 00:00:00 2001 -From: Karolina Surma -Date: Tue, 4 Jul 2023 10:03:31 +0200 -Subject: [PATCH] Fix test failures with Python 3.12 - ---- - tests/unit/test_client.py | 2 +- - tests/unit/test_utils.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tests/unit/test_client.py b/tests/unit/test_client.py -index eb7a307..6bc2f16 100644 ---- a/tests/unit/test_client.py -+++ b/tests/unit/test_client.py -@@ -1229,7 +1229,7 @@ class TestAutoGeneratedClient(unittest.TestCase): - ' :type Bar: string', - ' :param Bar: Documents Bar', - ' :type PaginationConfig: dict', -- ' :param PaginationConfig: ', -+ ' :param PaginationConfig:', - ( - ' A dictionary that provides parameters to control ' - 'pagination.' -diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py -index 6b1a33b..277caf1 100644 ---- a/tests/unit/test_utils.py -+++ b/tests/unit/test_utils.py -@@ -1124,7 +1124,7 @@ class TestSwitchToChunkedEncodingForNonSeekableObjects(unittest.TestCase): - request = AWSRequest( - method='POST', - headers={}, -- data=io.BufferedIOBase(b"some initial binary data"), -+ data=io.BufferedIOBase(), - url='https://foo.amazonaws.com/bucket/key.txt', - ) - prepared_request = request.prepare() --- -2.41.0 - diff --git a/python-botocore.spec b/python-botocore.spec index 35b6b5c..eacae36 100644 --- a/python-botocore.spec +++ b/python-botocore.spec @@ -3,7 +3,7 @@ Name: python-%{pypi_name} # NOTICE - Updating this package requires updating python-boto3 -Version: 1.31.26 +Version: 1.31.27 Release: 1%{?dist} Summary: Low-level, data-driven core of boto 3 @@ -11,9 +11,6 @@ License: Apache-2.0 URL: https://github.com/boto/botocore Source0: %{pypi_source} -# Reported upstream: https://github.com/boto/botocore/issues/2979 -Patch: Fix-test-failures-with-Python-3.12.patch - BuildArch: noarch %global _description %{expand: @@ -67,6 +64,9 @@ rm -vr tests/functional/leak %license LICENSE.txt %changelog +* Wed Aug 16 2023 Gwyn Ciesla - 1.31.27-1 +- 1.31.27 + * Mon Aug 14 2023 Gwyn Ciesla - 1.31.26-1 - 1.31.26