diff --git a/python-cheroot.changes b/python-cheroot.changes index 80632c9..6f93734 100644 --- a/python-cheroot.changes +++ b/python-cheroot.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 16 08:58:31 UTC 2022 - Daniel Garcia + +- Remove python_module macro definition +- Disable broken tests https://github.com/cherrypy/cheroot/issues/511 + ------------------------------------------------------------------- Wed May 11 16:26:15 UTC 2022 - Matej Cepl diff --git a/python-cheroot.spec b/python-cheroot.spec index 025737e..b3d2356 100644 --- a/python-cheroot.spec +++ b/python-cheroot.spec @@ -22,7 +22,6 @@ %bcond_with libalternatives %endif -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define pypi_name cheroot %bcond_without python2 %bcond_with ringdisabled @@ -114,7 +113,11 @@ pushd testclean %python_expand pytest_opts+=" --ignore %{buildroot}%{$python_sitelib}/cheroot/test/test_wsgi.py" %endif # test_tls_client_auth[...-False-localhost-builtin] fails ocassionally on server-side OBS -%pytest --pyargs cheroot $pytest_opts -k "not (test_tls_client_auth and False-localhost-builtin)" +donttest="(test_tls_client_auth and False-localhost-builtin)" +# looks like there's a bug with pytest.mark.forked +# https://github.com/cherrypy/cheroot/issues/511 +donttest+=" or test_high_number_of_file_descriptor" +%pytest --pyargs cheroot $pytest_opts -k "not ($donttest)" popd %pre