forked from pool/python-aiohttp
Accepting request 1199036 from home:yeey:OpenWebUI
- 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.
- Update to 3.10.5:
OBS-URL: https://build.opensuse.org/request/show/1199036
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=131
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
@@ -25,6 +25,7 @@ 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
|
||||
|
||||
15
test_no_warnings_fix.patch
Normal file
15
test_no_warnings_fix.patch
Normal 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
|
||||
)
|
||||
Reference in New Issue
Block a user