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 e814f3d..3aee0c9 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,7 +1,23 @@ +------------------------------------------------------------------- +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 + +- 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..0aa18ed 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -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 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 + )