forked from pool/python-aiohttp
- 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/package/show/devel:languages:python/python-aiohttp?expand=0&rev=142
16 lines
822 B
Diff
16 lines
822 B
Diff
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
|
|
)
|