forked from pool/python-aiohttp
Accepting request 1296098 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1296098 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=58
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 28 08:16:17 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||
|
||||
- Add remove-zlib-ng-test-dep.patch to remove python-zlib-ng test
|
||||
dependency
|
||||
- enable test_leaks again, works with limited threads
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 14 15:17:06 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@ Patch0: test_no_warnings_fix.patch
|
||||
# PATCH-FIX-OPENSUSE remove-isal-test-dep.patch -- daniel.garcia@suse.com
|
||||
# Remove python-isal dependency for testing.
|
||||
Patch1: remove-isal-test-dep.patch
|
||||
# PATCH-FIX-OPENSUSE remove-zlib-ng-test-dep.patch
|
||||
Patch2: remove-zlib-ng-test-dep.patch
|
||||
Requires: python-aiohappyeyeballs >= 2.5.0
|
||||
Requires: python-aiosignal >= 1.4
|
||||
Requires: python-attrs >= 17.3.0
|
||||
@@ -73,7 +75,6 @@ BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module re-assert}
|
||||
BuildRequires: %{python_module time-machine}
|
||||
BuildRequires: %{python_module trustme}
|
||||
BuildRequires: %{python_module zlib-ng}
|
||||
# /SECTION
|
||||
# SECTION docs
|
||||
%if %{with docs}
|
||||
@@ -141,8 +142,6 @@ rm -v tests/autobahn/test_autobahn.py
|
||||
rm -v tests/test_proxy_functional.py
|
||||
# Requires python-pytest-codspeed
|
||||
rm -v tests/test_benchmarks_*
|
||||
# some tests from here hang with pycares 4.9 https://github.com/aio-libs/aiohttp/issues/11244
|
||||
rm -v tests/test_leaks.py
|
||||
|
||||
# randomly fails on xdist splits
|
||||
single_runs="(test_run_app or test_web_runner)"
|
||||
|
||||
30
remove-zlib-ng-test-dep.patch
Normal file
30
remove-zlib-ng-test-dep.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
Index: aiohttp-3.12.14/requirements/test.in
|
||||
===================================================================
|
||||
--- aiohttp-3.12.14.orig/requirements/test.in
|
||||
+++ aiohttp-3.12.14/requirements/test.in
|
||||
@@ -17,4 +17,3 @@ re-assert
|
||||
setuptools-git
|
||||
trustme; platform_machine != "i686" # no 32-bit wheels
|
||||
wait-for-it
|
||||
-zlib_ng
|
||||
Index: aiohttp-3.12.14/tests/conftest.py
|
||||
===================================================================
|
||||
--- aiohttp-3.12.14.orig/tests/conftest.py
|
||||
+++ aiohttp-3.12.14/tests/conftest.py
|
||||
@@ -13,7 +13,6 @@ from unittest import mock
|
||||
from uuid import uuid4
|
||||
|
||||
import pytest
|
||||
-import zlib_ng.zlib_ng
|
||||
from blockbuster import blockbuster_ctx
|
||||
|
||||
from aiohttp import payload
|
||||
@@ -330,7 +329,7 @@ def unused_port_socket() -> Generator[so
|
||||
s.close()
|
||||
|
||||
|
||||
-@pytest.fixture(params=[zlib, zlib_ng.zlib_ng])
|
||||
+@pytest.fixture(params=[zlib])
|
||||
def parametrize_zlib_backend(
|
||||
request: pytest.FixtureRequest,
|
||||
) -> Generator[None, None, None]:
|
||||
Reference in New Issue
Block a user