From e0641a989ddd89778569a88695c9c84f03420f0e7b0a7f92270792e2b71e216c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 16 Oct 2025 21:25:03 +0000 Subject: [PATCH] Remove unused patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=159 --- python-aiohttp.spec | 2 +- test_relax_import_time.patch | 24 ------------------------ 2 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 test_relax_import_time.patch diff --git a/python-aiohttp.spec b/python-aiohttp.spec index ad63133..ddfb1b6 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -1,7 +1,7 @@ # # spec file for package python-aiohttp # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/test_relax_import_time.patch b/test_relax_import_time.patch deleted file mode 100644 index cfc612b..0000000 --- a/test_relax_import_time.patch +++ /dev/null @@ -1,24 +0,0 @@ -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