forked from pool/python-aiohttp
Accepting request 1235442 from devel:languages:python
- Update to 3.11.11: - Bug fixes - Updated :py:meth:~aiohttp.ClientSession.request to reuse the quote_cookie setting from ClientSession._cookie_jar when processing cookies parameter. - Fixed type of SSLContext for some static type checkers (e.g. pyright). - Updated :meth:aiohttp.web.StreamResponse.write annotation to also allow :class:bytearray and :class:memoryview as inputs - Fixed a hang where a connection previously used for a streaming download could be returned to the pool in a paused state. - Features - Enabled ALPN on default SSL contexts. This improves compatibility with some proxies which don't work without this extension. - Miscellaneous internal changes - Fixed an infinite loop that can occur when using aiohttp in combination with async-solipsism - Update to 3.11.10: - Fixed race condition in :class:aiohttp.web.FileResponse that could have resulted in an incorrect response if the file was replaced on the file system during prepare - Replaced deprecated call to :func:mimetypes.guess_type with :func:mimetypes.guess_file_type when using Python 3.13+ - Disabled zero copy writes in the StreamWriter OBS-URL: https://build.opensuse.org/request/show/1235442 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=54
This commit is contained in:
commit
32ff66a302
3
aiohttp-3.11.11.tar.gz
Normal file
3
aiohttp-3.11.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb49c7f1e6ebf3821a42d81d494f538107610c3a705987f53068546b0e90303e
|
||||
size 7669618
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a9266644064779840feec0e34f10a89b3ff1d2d6b751fe90017abcad1864fa7c
|
||||
size 7668012
|
@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 6 19:02:59 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Update to 3.11.11:
|
||||
- Bug fixes
|
||||
- Updated :py:meth:~aiohttp.ClientSession.request to reuse
|
||||
the quote_cookie setting from ClientSession._cookie_jar
|
||||
when processing cookies parameter.
|
||||
- Fixed type of SSLContext for some static type checkers
|
||||
(e.g. pyright).
|
||||
- Updated :meth:aiohttp.web.StreamResponse.write annotation
|
||||
to also allow :class:bytearray and :class:memoryview as
|
||||
inputs
|
||||
- Fixed a hang where a connection previously used for a
|
||||
streaming download could be returned to the pool in a
|
||||
paused state.
|
||||
- Features
|
||||
- Enabled ALPN on default SSL contexts. This improves
|
||||
compatibility with some proxies which don't work without
|
||||
this extension.
|
||||
- Miscellaneous internal changes
|
||||
- Fixed an infinite loop that can occur when using aiohttp in
|
||||
combination with async-solipsism
|
||||
- Update to 3.11.10:
|
||||
- Fixed race condition in :class:aiohttp.web.FileResponse
|
||||
that could have resulted in an incorrect response if the
|
||||
file was replaced on the file system during prepare
|
||||
- Replaced deprecated call to :func:mimetypes.guess_type with
|
||||
:func:mimetypes.guess_file_type when using Python 3.13+
|
||||
- Disabled zero copy writes in the StreamWriter
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 11:02:09 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-aiohttp
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,7 +19,7 @@
|
||||
%bcond_with docs
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-aiohttp
|
||||
Version: 3.11.9
|
||||
Version: 3.11.11
|
||||
Release: 0
|
||||
Summary: Asynchronous HTTP client/server framework
|
||||
License: Apache-2.0
|
||||
@ -128,15 +128,15 @@ rm -r %{buildroot}%{$python_sitearch}/aiohttp/.hash
|
||||
|
||||
%check
|
||||
donttest="test_aiohttp_request_coroutine or test_mark_formdata_as_processed or test_aiohttp_plugin_async or test_secure_https_proxy_absolute_path"
|
||||
# no name resolution
|
||||
donttest+=" or test_client_session_timeout_zero"
|
||||
# flaky
|
||||
donttest+=" or test_https_proxy_unsupported_tls_in_tls"
|
||||
donttest+=" or test_shutdown_handler_cancellation_suppressed"
|
||||
# # no name resolution
|
||||
# donttest+=" or test_client_session_timeout_zero"
|
||||
# # flaky
|
||||
# donttest+=" or test_https_proxy_unsupported_tls_in_tls"
|
||||
# donttest+=" or test_shutdown_handler_cancellation_suppressed"
|
||||
# raises not expected "ConnectionResetError" with openssl 3.2 and python < 3.11
|
||||
donttest+=" or test_tcp_connector_raise_connector_ssl_error[pyloop]"
|
||||
# fails with pytest 8 https://github.com/aio-libs/aiohttp/issues/8234
|
||||
donttest+=" or (test_pytest_plugin and test_aiohttp_plugin)"
|
||||
# # fails with pytest 8 https://github.com/aio-libs/aiohttp/issues/8234
|
||||
# donttest+=" or (test_pytest_plugin and test_aiohttp_plugin)"
|
||||
|
||||
# requires python-on-whales
|
||||
rm -v tests/autobahn/test_autobahn.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user