From e90d9646e9d0791c7e1edb5957405e38ac9042ed601d6157c6dcbae3c98f4d50 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 20 Jul 2022 10:11:36 +0000 Subject: [PATCH] Accepting request 990364 from home:bnavigator:branches:devel:languages:python - Disable testing with watchfiles * We don't want it in Ring1-MinimalX Having slept over it, I think it is best to not BuildRequire it at all. See https://build.opensuse.org/request/show/990107 OBS-URL: https://build.opensuse.org/request/show/990364 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=11 --- python-uvicorn.changes | 6 ++++++ python-uvicorn.spec | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/python-uvicorn.changes b/python-uvicorn.changes index d448406..5082af5 100644 --- a/python-uvicorn.changes +++ b/python-uvicorn.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 19 20:59:25 UTC 2022 - Ben Greiner + +- Disable testing with watchfiles + * We don't want it in Ring1-MinimalX + ------------------------------------------------------------------- Mon Jul 18 20:17:15 UTC 2022 - Ben Greiner diff --git a/python-uvicorn.spec b/python-uvicorn.spec index f457d02..f67b504 100644 --- a/python-uvicorn.spec +++ b/python-uvicorn.spec @@ -58,9 +58,10 @@ BuildRequires: %{python_module requests} BuildRequires: %{python_module trustme} BuildRequires: %{python_module typing_extensions if %python-base < 3.8} BuildRequires: %{python_module uvloop >= 0.14.0} -BuildRequires: %{python_module watchfiles >= 0.13} BuildRequires: %{python_module websockets >= 8.0} BuildRequires: %{python_module wsproto >= 0.15.0} +# We don't want watchfiles in Ring1 +#BuildRequires: #{python_module watchfiles >= 0.13} # /SECTION %python_subpackages @@ -89,14 +90,13 @@ rm setup.cfg %check # Required for reporting bugs %python_exec -m uvicorn --version -# Three wsproto upgrade related tests -# https://github.com/encode/uvicorn/issues/868 -%pytest -rs -k 'not (test_supported_upgrade_request or test_invalid_upgrade)' +%pytest %files %{python_files} %doc README.md %license LICENSE.md %python_alternative %{_bindir}/uvicorn -%{python_sitelib}/* +%{python_sitelib}/uvicorn +%{python_sitelib}/uvicorn-%{version}*-info %changelog