forked from pool/python-aiohttp
* Fixed file uploads failing with HTTP 422 errors when
encountering 307/308 redirects, and 301/302 redirects for
non-POST methods, by preserving the request body when
appropriate per RFC 9110 -- by :user:`bdraco`. Related issues
and pull requests on GitHub: :issue:`11270`.
* Fixed :py:meth:`ClientSession.close()
<aiohttp.ClientSession.close>` hanging indefinitely when
using HTTPS requests through HTTP proxies -- by
:user:`bdraco`. Related issues and pull requests on GitHub:
:issue:`11273`.
* Bumped minimum version of aiosignal to 1.4+ to resolve typing
issues -- by :user:`Dreamsorcerer`. Related issues and pull
requests on GitHub: :issue:`11280`.
* Added initial trailer parsing logic to Python HTTP parser --
by :user:`Dreamsorcerer`. Related issues and pull requests on
GitHub: :issue:`11269`.
* Clarified exceptions raised by WebSocketResponse.send_frame
et al. -- by :user:`DoctorJohn`. Related issues and pull
requests on GitHub: :issue:`11234`.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=149
25 lines
1.0 KiB
Diff
25 lines
1.0 KiB
Diff
Index: aiohttp-3.10.11/tests/test_imports.py
|
|
===================================================================
|
|
--- aiohttp-3.10.11.orig/tests/test_imports.py
|
|
+++ aiohttp-3.10.11/tests/test_imports.py
|
|
@@ -36,9 +36,9 @@ _TARGET_TIMINGS_BY_PYTHON_VERSION = {
|
|
"3.12": (
|
|
# 3.12+ is expected to be a bit slower due to performance trade-offs,
|
|
# and even slower under pytest-xdist, especially in CI
|
|
- _XDIST_WORKER_COUNT * 100 * (1 if _IS_CI_ENV else 1.53)
|
|
+ _XDIST_WORKER_COUNT * 250 * (1 if _IS_CI_ENV else 1.53)
|
|
if _IS_XDIST_RUN
|
|
- else 265
|
|
+ else 500
|
|
),
|
|
}
|
|
_TARGET_TIMINGS_BY_PYTHON_VERSION["3.13"] = _TARGET_TIMINGS_BY_PYTHON_VERSION["3.12"]
|
|
@@ -78,6 +78,6 @@ def test_import_time(pytester: pytest.Py
|
|
os.environ["PYTHONPATH"] = old_path
|
|
|
|
expected_time = _TARGET_TIMINGS_BY_PYTHON_VERSION.get(
|
|
- f"{sys.version_info.major}.{sys.version_info.minor}", 200
|
|
+ f"{sys.version_info.major}.{sys.version_info.minor}", 500
|
|
)
|
|
assert best_time_ms < expected_time
|