Accepting request 1203566 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1203566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=50
This commit is contained in:
Ana Guerrero 2024-10-01 15:11:07 +00:00 committed by Git OBS Bridge
commit 21b1c1ed84
5 changed files with 38 additions and 6 deletions

BIN
aiohttp-3.10.5.tar.gz (Stored with Git LFS)

Binary file not shown.

3
aiohttp-3.10.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2578ef941be0c2ba58f6f421a703527d08427237ed45ecb091fed6f83305336
size 7538429

View File

@ -1,7 +1,23 @@
-------------------------------------------------------------------
Wed Sep 25 11:57:08 UTC 2024 - Nico Krapp <nico.krapp@suse.com>
- Update to 3.10.6
* Increased minimum yarl version to 1.12.0
* Declared Python 3.13 supported
* Full changelog: https://github.com/aio-libs/aiohttp/releases/tag/v3.10.6
-------------------------------------------------------------------
Wed Sep 4 12:40:42 UTC 2024 - Fergal Mc Carthy <fmccarthy@suse.com>
- Add patch test_no_warnings_fix.patch
* Ignore UserWarning about importing aiohttp from a second sys.path
location under the abuild home directory when running tests under
the build service.
-------------------------------------------------------------------
Tue Aug 20 06:48:08 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
e Update to 3.10.5:
- Update to 3.10.5:
* Fixed aiohttp.ClientResponse.json() not setting status when
aiohttp.ContentTypeError is raised
* Improved performance of the WebSocket reader

View File

@ -19,12 +19,13 @@
%bcond_with docs
%{?sle15_python_module_pythons}
Name: python-aiohttp
Version: 3.10.5
Version: 3.10.6
Release: 0
Summary: Asynchronous HTTP client/server framework
License: Apache-2.0
URL: https://github.com/aio-libs/aiohttp
Source: https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
Patch0: test_no_warnings_fix.patch
Requires: python-aiohappyeyeballs >= 2.3.0
Requires: python-aiosignal >= 1.1.2
Requires: python-attrs >= 17.3.0
@ -34,7 +35,7 @@ Requires: (python-async_timeout >= 4.0 with python-async_timeout < 5)
%endif
Requires: (python-charset-normalizer >= 2.0 with python-charset-normalizer < 4)
Requires: (python-multidict >= 4.5 with python-multidict < 7)
Requires: (python-yarl >= 1.0 with python-yarl < 2)
Requires: (python-yarl >= 1.12.0 with python-yarl < 2)
Recommends: python-Brotli
Recommends: python-aiodns
Recommends: python-cChardet

View File

@ -0,0 +1,15 @@
diff -rup aiohttp-3.10.5.orig/tests/test_circular_imports.py aiohttp-3.10.5/tests/test_circular_imports.py
--- aiohttp-3.10.5.orig/tests/test_circular_imports.py 2024-08-19 15:18:15.000000000 -0400
+++ aiohttp-3.10.5/tests/test_circular_imports.py 2024-09-04 08:18:49.702469018 -0400
@@ -111,6 +111,11 @@ def test_no_warnings(import_path: str) -
# `gunicorn.util`.
"-W", "ignore:pkg_resources is deprecated as an API:"
"DeprecationWarning",
+ # UserWarning about importing aiohttp from a second sys.path
+ # location under the abuild home directory when running tests
+ # under the build service
+ "-W", "ignore:Module aiohttp was already imported from "
+ "/home/abuild/rpmbuild/BUILDROOT",
"-c", f"import {import_path!s}",
# fmt: on
)