From 015984a4082a58838fa1f51378ecb66111d40281329cae3e15268f48dbba79bf Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 11 Sep 2023 20:43:13 +0000 Subject: [PATCH] - switch from unmaintained brotlipy to Brotli - skip more tests - Drop python39-failures.patch, no longer required. - Update python39-failures.patch to only fire with Python 3.9.7. * Made exceptions pickleable. Also changed the repr of some exceptions. #4077 * Raise a ClientResponseError instead of an AssertionError for a * Fix web_middlewares.normalize_path_middleware behavior for * Fix overshadowing of overlapped sub-applications prefixes. * Make BaseConnector.close() a coroutine and wait until the client closes all connections. Drop deprecated "with * Reset the sock_read timeout each time data is received for a * Fixed type annotation for add_view method of UrlDispatcher to * Fixed querying the address families from DNS that the current * Change return type of MultipartReader.__aiter__() and - Fix python 3.6 build * Response headers are now prepared prior to running OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=100 --- python-aiohttp.changes | 37 +++++++++++++++++++++---------------- python-aiohttp.spec | 4 ++-- 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/python-aiohttp.changes b/python-aiohttp.changes index 1d19c7b..aadf8a0 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 11 20:43:01 UTC 2023 - Dirk Müller + +- switch from unmaintained brotlipy to Brotli + ------------------------------------------------------------------- Fri Aug 18 15:42:27 UTC 2023 - Martin Schreiner @@ -74,7 +79,7 @@ Mon Nov 7 17:49:50 UTC 2022 - Ben Greiner ------------------------------------------------------------------- Tue Oct 4 20:31:56 UTC 2022 - Dirk Müller -- skip more tests +- skip more tests ------------------------------------------------------------------- Sat Sep 24 11:07:58 UTC 2022 - Dirk Müller @@ -301,12 +306,12 @@ Sat Dec 11 19:18:47 UTC 2021 - Ben Greiner ------------------------------------------------------------------- Wed Nov 24 00:38:26 UTC 2021 - Steve Kowalik -- Drop python39-failures.patch, no longer required. +- Drop python39-failures.patch, no longer required. ------------------------------------------------------------------- Wed Nov 17 09:52:49 UTC 2021 - Steve Kowalik -- Update python39-failures.patch to only fire with Python 3.9.7. +- Update python39-failures.patch to only fire with Python 3.9.7. ------------------------------------------------------------------- Fri Sep 10 14:22:31 UTC 2021 - Matej Cepl @@ -361,25 +366,25 @@ Fri Dec 4 11:50:52 UTC 2020 - Benjamin Greiner - Update to v3.7.3 Features - * Made exceptions pickleable. Also changed the repr of - some exceptions. #4077 + * Made exceptions pickleable. Also changed the repr of + some exceptions. #4077 Bugfixes - * Raise a ClientResponseError instead of an AssertionError for a + * Raise a ClientResponseError instead of an AssertionError for a blank HTTP Reason Phrase. #3532 - * Fix web_middlewares.normalize_path_middleware behavior for + * Fix web_middlewares.normalize_path_middleware behavior for patch without slash. #3669 - * Fix overshadowing of overlapped sub-applications prefixes. + * Fix overshadowing of overlapped sub-applications prefixes. #3701 - * Make BaseConnector.close() a coroutine and wait until the - client closes all connections. Drop deprecated "with + * Make BaseConnector.close() a coroutine and wait until the + client closes all connections. Drop deprecated "with Connector():" syntax. #3736 - * Reset the sock_read timeout each time data is received for a + * Reset the sock_read timeout each time data is received for a aiohttp.client response. #3808 - * Fixed type annotation for add_view method of UrlDispatcher to + * Fixed type annotation for add_view method of UrlDispatcher to accept any subclass of View #3880 - * Fixed querying the address families from DNS that the current + * Fixed querying the address families from DNS that the current host supports. #5156 - * Change return type of MultipartReader.__aiter__() and + * Change return type of MultipartReader.__aiter__() and BodyPartReader.__aiter__() to AsyncIterator. #5163 * Provide x86 Windows wheels. #5230 * Improved Documentation @@ -391,7 +396,7 @@ Fri Dec 4 11:50:52 UTC 2020 - Benjamin Greiner * #4102 - Also clean header files in sitearch - Remove hidden .hash directory (remnant from build process) -- Fix python 3.6 build +- Fix python 3.6 build * For Leap * For TW with python36 flavor gh#openSUSE/python-rpm-macros#66 * Always BuildRequire idna_ssl @@ -416,7 +421,7 @@ Wed Oct 28 15:33:18 UTC 2020 - John Vandenberg * Fix flaky test_when_timeout_smaller_second * Ensure sending a zero byte file does not throw an exception - from v3.7.0 - * Response headers are now prepared prior to running + * Response headers are now prepared prior to running ``on_response_prepare`` hooks, directly before headers are sent to the client * Add a ``quote_cookie`` option to ``CookieJar``, a way to skip diff --git a/python-aiohttp.spec b/python-aiohttp.spec index fcff060..4d20466 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -39,8 +39,8 @@ Requires: (python-idna_ssl >= 1.0 if python-base < 3.7) Requires: (python-multidict >= 4.5 with python-multidict < 7) Requires: (python-typing_extensions >= 3.7.4 if python-base < 3.8) Requires: (python-yarl >= 1.0 with python-yarl < 2) +Recommends: python-Brotli Recommends: python-aiodns -Recommends: python-brotlipy Recommends: python-cChardet Suggests: %{name}-doc # SECTION build requirements @@ -67,7 +67,7 @@ BuildRequires: %{python_module yarl >= 1.0 with %python-yarl < 2} # /SECTION # SECTION test requirements BuildRequires: %{python_module aiodns} -BuildRequires: %{python_module brotlipy} +BuildRequires: %{python_module Brotli} BuildRequires: %{python_module freezegun} BuildRequires: %{python_module gunicorn} BuildRequires: %{python_module pluggy}