forked from pool/python-uvicorn
		
	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
This commit is contained in:
		@@ -1,3 +1,9 @@
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Tue Jul 19 20:59:25 UTC 2022 - Ben Greiner <code@bnavigator.de>
 | 
			
		||||
 | 
			
		||||
- Disable testing with watchfiles
 | 
			
		||||
  * We don't want it in Ring1-MinimalX
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Mon Jul 18 20:17:15 UTC 2022 - Ben Greiner <code@bnavigator.de>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user