From ffa4177ccc5e1a3ea608587f7150fdd6c4f1bd83755507d129f03881a4214044 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 27 Nov 2023 15:25:40 +0000 Subject: [PATCH 1/3] - update to 3.9.1: * Fixed importing aiohttp under PyPy on Windows. * Fixed async concurrency safety in websocket compressor. * Fixed ``ClientResponse.close()`` releasing the connection instead of closing. * Fixed a regression where connection may get closed during upgrade. -- by :user:`Dreamsorcerer` * Fixed messages being reported as upgraded without an Upgrade header in Python parser. -- by :user:`Dreamsorcerer` OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=109 --- aiohttp-3.9.0.tar.gz | 3 --- aiohttp-3.9.1.tar.gz | 3 +++ python-aiohttp.changes | 13 +++++++++++++ python-aiohttp.spec | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) delete mode 100644 aiohttp-3.9.0.tar.gz create mode 100644 aiohttp-3.9.1.tar.gz diff --git a/aiohttp-3.9.0.tar.gz b/aiohttp-3.9.0.tar.gz deleted file mode 100644 index ab986da..0000000 --- a/aiohttp-3.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:09f23292d29135025e19e8ff4f0a68df078fe4ee013bca0105b2e803989de92d -size 7475063 diff --git a/aiohttp-3.9.1.tar.gz b/aiohttp-3.9.1.tar.gz new file mode 100644 index 0000000..043b35b --- /dev/null +++ b/aiohttp-3.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8fc49a87ac269d4529da45871e2ffb6874e87779c3d0e2ccd813c0899221239d +size 7482118 diff --git a/python-aiohttp.changes b/python-aiohttp.changes index 6d4f2fe..4acd66a 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Nov 27 15:22:11 UTC 2023 - Dirk Müller + +- update to 3.9.1: + * Fixed importing aiohttp under PyPy on Windows. + * Fixed async concurrency safety in websocket compressor. + * Fixed ``ClientResponse.close()`` releasing the connection + instead of closing. + * Fixed a regression where connection may get closed during + upgrade. -- by :user:`Dreamsorcerer` + * Fixed messages being reported as upgraded without an Upgrade + header in Python parser. -- by :user:`Dreamsorcerer` + ------------------------------------------------------------------- Sat Nov 25 22:51:20 UTC 2023 - Dirk Müller diff --git a/python-aiohttp.spec b/python-aiohttp.spec index 0eab653..60a0aa8 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.9.0 +Version: 3.9.1 Release: 0 Summary: Asynchronous HTTP client/server framework License: Apache-2.0 From dc33a0afc1b97630c4acad2050668d799bdf70888504ac74d287068a0088f358 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 2 Dec 2023 17:28:17 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=111 --- python-aiohttp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-aiohttp.spec b/python-aiohttp.spec index 60a0aa8..6673157 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -130,7 +130,7 @@ donttest+=" or test_client_session_timeout_zero or test_requote_redirect_url_def # flaky donttest+=" or test_https_proxy_unsupported_tls_in_tls" # not running under pytest ?! -donttest+=" or test_circular_imports" +donttest+=" or test_circular_imports test_import_time" # requires python-on-whales rm -v tests/autobahn/test_autobahn.py test -d aiohttp && mv aiohttp aiohttp.bkp From 4e991d8d7f981bdd695a0c7bbfe2839a072ff324dc471780fee0fd8945c0836c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 27 Dec 2023 10:46:36 +0000 Subject: [PATCH 3/3] Accepting request 1134719 from home:bnavigator:branches:devel:languages:python - Fix pytest call - Update requirements OBS-URL: https://build.opensuse.org/request/show/1134719 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=112 --- python-aiohttp.changes | 6 ++++++ python-aiohttp.spec | 11 +++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/python-aiohttp.changes b/python-aiohttp.changes index 4acd66a..78cda4a 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 22 13:46:25 UTC 2023 - Ben Greiner + +- Fix pytest call +- Update requirements + ------------------------------------------------------------------- Mon Nov 27 15:22:11 UTC 2023 - Dirk Müller diff --git a/python-aiohttp.spec b/python-aiohttp.spec index 6673157..eaee20a 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -31,9 +31,9 @@ Patch1: remove-re-assert.patch Requires: python-aiosignal >= 1.1.2 Requires: python-attrs >= 17.3.0 Requires: python-frozenlist >= 1.1.1 -# %if %python_version_nodots < 311 +%if 0%{?python_version_nodots} < 311 Requires: (python-async_timeout >= 4.0 with python-async_timeout < 5) -# %endif +%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) @@ -130,11 +130,14 @@ donttest+=" or test_client_session_timeout_zero or test_requote_redirect_url_def # flaky donttest+=" or test_https_proxy_unsupported_tls_in_tls" # not running under pytest ?! -donttest+=" or test_circular_imports test_import_time" +donttest+=" or test_circular_imports or test_import_time" # requires python-on-whales rm -v tests/autobahn/test_autobahn.py +# randomly fails on xdist splits +single_runs="test_run_app" test -d aiohttp && mv aiohttp aiohttp.bkp -%pytest_arch %{?jobs: -n %jobs} tests -k "not ($donttest ${$python_donttest})" +%pytest_arch %{?jobs: -n %jobs} tests -k "not ($donttest or ${single_runs})" +%pytest_arch tests -k "${single_runs}" %files %{python_files} %license LICENSE.txt