This update for python-aiohttp, python-time-machine fixes the following issues:
python-aiohttp was updated to version 3.9.3:
ssl
parameter
when set outside of ClientSession
(e.g. directly in TCPConnector
)From version 3.9.2 (bsc#1219341, CVE-2024-23334, bsc#1219342, CVE-2024-23829):
web.FileResponse
doing blocking I/O in the event loop.ClientSession
timeout
parameter.True
to ssl
parameter in
ClientSession
while deprecating :py:data:None
.fallback_charset_resolver
function in the
:doc:client_advanced
document.contributing/Tests coverage <aiohttp-contributing>
section to show how we use codecov
.Replaced all tmpdir
fixtures with tmp_path
in test suite.
Disable broken tests with openssl 3.2 and python < 3.11 bsc#1217782
update to 3.9.1:
ClientResponse.close()
releasing the connection
instead of closing.Dreamsorcerer
Dreamsorcerer
update to 3.9.0: (bsc#1217684, CVE-2023-49081, bsc#1217682, CVE-2023-49082)
AppKey
for static typing support of
Application
storage.handler_cancellation
_ parameter to cancel web handler on
client disconnection.max_line_size
and max_field_size
.auto_decompress
parameter to
ClientSession.request
to override
ClientSession._auto_decompress
.raise_for_status
to allow a coroutine.client_max_size
to BaseRequest.clone()
to allow
overriding the request body size. -- :user:anesabml
.aiohttp.typedefs.Middleware
.HTTPMove
which can be used to catch any
redirection request that has a location -- :user:dreamsorcerer
.path
parameter in web.run_app()
to accept
a pathlib.Path
object.CookieJar
when the jar is
empty or all cookies have expired.CookieJar.filter_cookies()
.datetime
to
achieve faster cookie expiration in CookieJar
..netrc
file when making HTTP requests with the~aiohttp.ClientSession
trust_env
argument is
set to True
. -- by :user:yuvipanda
.RawResponseMessage
. -- by
:user:Gobot1234
async-timeout
for Python 3.11+ (replaced with
asyncio.timeout()
on newer releases).brotlicffi
as an alternative to
brotli
(fixing Brotli support on PyPy).WebSocketResponse.get_extra_info()
to access a
protocol transport's extra info.link
argument to be set to None/empty in HTTP 451
exception.Dreamsorcerer
.readuntil
to work with a delimiter of more than one
character.__repr__
to EmptyStreamReader
to avoid
AttributeError
.TCPConnector
with
ttl_dns_cache=0
.Dreamsorcerer
UnicodeDecodeError
in multipart and in
HTTP headers parsing.sock_read
timeout to start after writing has
finished, avoiding read timeouts caused by an unfinished
write. -- by :user:dtrifiro
yarl
1.9+.DeprecationWarning
on Python 3.12.EmptyStreamReader.iter_chunks()
never ending.RuntimeError: await wasn't used with future
exception.Dreamsorcerer
ClientWebSocketResponse.close_code
being
erroneously set to None
when there are concurrent async
tasks receiving data and closing the connection.Dreamsorcerer
ClientResponse.release
's type in the doc. Changed
from comethod
to method
.ClientSession
.trust_env
parameter description to honor
wss_proxy
, ws_proxy
or no_proxy
env.Dreamsorcerer
tokio
event loop.print
argument in run_app()
optional.ceil_timeout
in some cases.Dreamsorcerer
http.server
with
http.HTTPStatus
.ssl
parameter to disallow True
.update to 3.8.6 (bsc#1217181, CVE-2023-47627):
fallback_charset_resolver
parameter in
ClientSession
to allow a user-supplied
character set detection function.
Character set detection will no longer be included in 3.9 as
a default. If this feature is needed,
please use `fallbackcharsetresolver
the clientPermissionError
when .netrc
is unreadable due
to permissions.filter_cookies
to use cookie with
longest path.Release 3.8.0 (2021-10-31) (bsc#1217174, CVE-2023-47641)