forked from pool/python-aiohttp
- Add remove-zlib-ng-test-dep.patch to remove python-zlib-ng test dependency OBS-URL: https://build.opensuse.org/request/show/1296060 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=153
31 lines
961 B
Diff
31 lines
961 B
Diff
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]:
|