diff --git a/python-aiohttp.changes b/python-aiohttp.changes index 6babe73..d2215ba 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 30 06:00:18 UTC 2025 - Daniel Garcia + +- Add remove-isal-test-dep.patch to remove python-isal test + dependency, that's not part of Factory yet. + ------------------------------------------------------------------- Fri Jun 20 05:53:30 UTC 2025 - Markéta Machová diff --git a/python-aiohttp.spec b/python-aiohttp.spec index f76e188..4ff5433 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -26,6 +26,9 @@ License: Apache-2.0 URL: https://github.com/aio-libs/aiohttp Source: https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz 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 Requires: python-aiohappyeyeballs >= 2.5.0 Requires: python-aiosignal >= 1.1.2 Requires: python-attrs >= 17.3.0 @@ -61,7 +64,6 @@ BuildRequires: %{python_module Brotli} BuildRequires: %{python_module blockbuster} BuildRequires: %{python_module freezegun} BuildRequires: %{python_module gunicorn} -BuildRequires: %{python_module isal} BuildRequires: %{python_module pluggy} BuildRequires: %{python_module propcache} BuildRequires: %{python_module pytest >= 6.2.0} diff --git a/remove-isal-test-dep.patch b/remove-isal-test-dep.patch new file mode 100644 index 0000000..31364db --- /dev/null +++ b/remove-isal-test-dep.patch @@ -0,0 +1,21 @@ +Index: aiohttp-3.12.13/tests/conftest.py +=================================================================== +--- aiohttp-3.12.13.orig/tests/conftest.py ++++ aiohttp-3.12.13/tests/conftest.py +@@ -12,7 +12,6 @@ from typing import Any, AsyncIterator, G + from unittest import mock + from uuid import uuid4 + +-import isal.isal_zlib + import pytest + import zlib_ng.zlib_ng + from blockbuster import blockbuster_ctx +@@ -331,7 +330,7 @@ def unused_port_socket() -> Generator[so + s.close() + + +-@pytest.fixture(params=[zlib, zlib_ng.zlib_ng, isal.isal_zlib]) ++@pytest.fixture(params=[zlib, zlib_ng.zlib_ng]) + def parametrize_zlib_backend( + request: pytest.FixtureRequest, + ) -> Generator[None, None, None]: