From c0e5823c47e3e4928235626357148301805d7f756599e36da45d2a73895734fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 6 Sep 2024 09:45:01 +0000 Subject: [PATCH 1/2] 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 --- python-aiohttp.changes | 10 +++++++++- python-aiohttp.spec | 1 + test_no_warnings_fix.patch | 15 +++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 test_no_warnings_fix.patch diff --git a/python-aiohttp.changes b/python-aiohttp.changes index e814f3d..0dfa51c 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,7 +1,15 @@ +------------------------------------------------------------------- +Wed Sep 4 12:40:42 UTC 2024 - Fergal Mc Carthy + +- 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 -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 diff --git a/python-aiohttp.spec b/python-aiohttp.spec index f942d4e..45eba0e 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -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 diff --git a/test_no_warnings_fix.patch b/test_no_warnings_fix.patch new file mode 100644 index 0000000..995f0ba --- /dev/null +++ b/test_no_warnings_fix.patch @@ -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 + ) From 488950a858b2f927492159b9b6093782e59984ec62a6bad5a5921914b999298c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 25 Sep 2024 12:26:56 +0000 Subject: [PATCH 2/2] Accepting request 1203554 from home:nkrapp:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/1203554 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=132 --- aiohttp-3.10.5.tar.gz | 3 --- aiohttp-3.10.6.tar.gz | 3 +++ python-aiohttp.changes | 8 ++++++++ python-aiohttp.spec | 4 ++-- 4 files changed, 13 insertions(+), 5 deletions(-) delete mode 100644 aiohttp-3.10.5.tar.gz create mode 100644 aiohttp-3.10.6.tar.gz diff --git a/aiohttp-3.10.5.tar.gz b/aiohttp-3.10.5.tar.gz deleted file mode 100644 index bad3bb9..0000000 --- a/aiohttp-3.10.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f071854b47d39591ce9a17981c46790acb30518e2f83dfca8db2dfa091178691 -size 7524360 diff --git a/aiohttp-3.10.6.tar.gz b/aiohttp-3.10.6.tar.gz new file mode 100644 index 0000000..13498e4 --- /dev/null +++ b/aiohttp-3.10.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2578ef941be0c2ba58f6f421a703527d08427237ed45ecb091fed6f83305336 +size 7538429 diff --git a/python-aiohttp.changes b/python-aiohttp.changes index 0dfa51c..3aee0c9 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Sep 25 11:57:08 UTC 2024 - Nico Krapp + +- 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 diff --git a/python-aiohttp.spec b/python-aiohttp.spec index 45eba0e..0aa18ed 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -19,7 +19,7 @@ %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 @@ -35,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