Files
python-aiohttp/test_no_warnings_fix.patch
Matej Cepl 71dd584400 - Update to 3.12.15
* Fixed :class:`~aiohttp.DigestAuthMiddleware` to preserve the algorithm case
    from the server's challenge in the authorization response. This improves
    compatibility with servers that perform case-sensitive algorithm matching
    (e.g., servers expecting ``algorithm=MD5-sess`` instead of ``algorithm=MD5-SESS``)
  * Remove outdated contents of ``aiohttp-devtools`` and ``aiohttp-swagger``
    from Web_advanced docs.
  * Started including the ``llhttp`` :file:`LICENSE` file in wheels by adding
    ``vendor/llhttp/LICENSE`` to ``license-files`` in :file:`setup.cfg`
  * Updated a regex in `test_aiohttp_request_coroutine` for Python 3.14.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=156
2025-08-08 10:49:16 +00:00

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
)