From f09d9f8ee0009e4178dcc6b0c7832d9c70ec607bab32f5bf69813012e862b84b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 8 Jun 2021 19:54:48 +0000 Subject: [PATCH 1/3] Accepting request 898538 from home:mcepl:branches:devel:languages:python - Skip pyloop related tests, which are failing (gh#aio-libs/aiohttp#5787). OBS-URL: https://build.opensuse.org/request/show/898538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=64 --- python-aiohttp.changes | 6 ++++++ python-aiohttp.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-aiohttp.changes b/python-aiohttp.changes index e1b78c6..ae4add7 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 8 19:15:11 UTC 2021 - Matej Cepl + +- Skip pyloop related tests, which are failing + (gh#aio-libs/aiohttp#5787). + ------------------------------------------------------------------- Thu May 13 21:58:35 UTC 2021 - Matej Cepl diff --git a/python-aiohttp.spec b/python-aiohttp.spec index d1214a5..b7610ca 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -131,7 +131,8 @@ touch pytest.ini %define skiptest_python3_only or test_read_boundary_with_incomplete_chunk %endif %define skiptest_python36_only or test_read_boundary_with_incomplete_chunk -%pytest_arch --ignore ./aiohttp -rs -k 'not (%{skiptest_allflavors} %{skiptest_$python_only})' +# pyloop because of gh#aio-libs/aiohttp#5787 +%pytest_arch --ignore ./aiohttp -rs -k 'not (%{skiptest_allflavors} %{skiptest_$python_only} or pyloop)' %files %{python_files} %license LICENSE.txt From 241b3a214a75b85d1cfd51c260985b5383d2a87a187218700b80b217104f60d0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 9 Jun 2021 05:34:10 +0000 Subject: [PATCH 2/3] - Remove pytest-asyncio dependency which is actually harmful OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=65 --- python-aiohttp.changes | 2 +- python-aiohttp.spec | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/python-aiohttp.changes b/python-aiohttp.changes index ae4add7..f310e02 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Tue Jun 8 19:15:11 UTC 2021 - Matej Cepl -- Skip pyloop related tests, which are failing +- Remove pytest-asyncio dependency which is actually harmful (gh#aio-libs/aiohttp#5787). ------------------------------------------------------------------- diff --git a/python-aiohttp.spec b/python-aiohttp.spec index b7610ca..9832e7d 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -64,7 +64,6 @@ BuildRequires: %{python_module async_generator} BuildRequires: %{python_module brotlipy} BuildRequires: %{python_module gunicorn} BuildRequires: %{python_module pluggy} -BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} @@ -132,7 +131,7 @@ touch pytest.ini %endif %define skiptest_python36_only or test_read_boundary_with_incomplete_chunk # pyloop because of gh#aio-libs/aiohttp#5787 -%pytest_arch --ignore ./aiohttp -rs -k 'not (%{skiptest_allflavors} %{skiptest_$python_only} or pyloop)' +%pytest_arch --ignore ./aiohttp -rs -k 'not (%{skiptest_allflavors} %{skiptest_$python_only})' %files %{python_files} %license LICENSE.txt From 70339db236f5ac83bb832a54d58a0f26cee6f1ec04e2db99b80c43cd0f39d609 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 9 Jun 2021 05:48:51 +0000 Subject: [PATCH 3/3] Cleanup SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=66 --- python-aiohttp.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-aiohttp.spec b/python-aiohttp.spec index 9832e7d..60aa571 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -130,7 +130,6 @@ touch pytest.ini %define skiptest_python3_only or test_read_boundary_with_incomplete_chunk %endif %define skiptest_python36_only or test_read_boundary_with_incomplete_chunk -# pyloop because of gh#aio-libs/aiohttp#5787 %pytest_arch --ignore ./aiohttp -rs -k 'not (%{skiptest_allflavors} %{skiptest_$python_only})' %files %{python_files}