This commit is contained in:
Gwyn Ciesla 2023-08-16 08:31:56 -05:00
parent 608142ad87
commit b636a1a091
2 changed files with 4 additions and 43 deletions

View File

@ -1,39 +0,0 @@
From 66acf7567a00559c42663f0b68ea9a802f2cbe0e Mon Sep 17 00:00:00 2001
From: Karolina Surma <ksurma@redhat.com>
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

View File

@ -3,7 +3,7 @@
Name: python-%{pypi_name} Name: python-%{pypi_name}
# NOTICE - Updating this package requires updating python-boto3 # NOTICE - Updating this package requires updating python-boto3
Version: 1.31.26 Version: 1.31.27
Release: 1%{?dist} Release: 1%{?dist}
Summary: Low-level, data-driven core of boto 3 Summary: Low-level, data-driven core of boto 3
@ -11,9 +11,6 @@ License: Apache-2.0
URL: https://github.com/boto/botocore URL: https://github.com/boto/botocore
Source0: %{pypi_source} Source0: %{pypi_source}
# Reported upstream: https://github.com/boto/botocore/issues/2979
Patch: Fix-test-failures-with-Python-3.12.patch
BuildArch: noarch BuildArch: noarch
%global _description %{expand: %global _description %{expand:
@ -67,6 +64,9 @@ rm -vr tests/functional/leak
%license LICENSE.txt %license LICENSE.txt
%changelog %changelog
* Wed Aug 16 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.31.27-1
- 1.31.27
* Mon Aug 14 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.31.26-1 * Mon Aug 14 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.31.26-1
- 1.31.26 - 1.31.26