diff --git a/python-httpretty.changes b/python-httpretty.changes index 24cb8c1..19a4506 100644 --- a/python-httpretty.changes +++ b/python-httpretty.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Aug 12 12:24:09 UTC 2020 - Benjamin Greiner + +- avoid reading DNS resolver settings + gh#gabrielfalcao/HTTPretty#405 +- remove unnecessary test packages + ------------------------------------------------------------------- Thu Apr 9 11:25:31 UTC 2020 - Marketa Calabkova diff --git a/python-httpretty.spec b/python-httpretty.spec index 9b0d9eb..a1b44c1 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -26,13 +26,11 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/gabrielfalcao/HTTPretty Source: https://files.pythonhosted.org/packages/source/h/httpretty/httpretty-%{version}.tar.gz -BuildRequires: %{python_module coverage} BuildRequires: %{python_module eventlet} BuildRequires: %{python_module fakeredis} BuildRequires: %{python_module freezegun} BuildRequires: %{python_module httplib2} BuildRequires: %{python_module nose} -BuildRequires: %{python_module rednose} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sure} @@ -50,13 +48,17 @@ It is similar to Ruby's FakeWeb. %prep %setup -q -n httpretty-%{version} -# randomly is unknown option for our nose -sed -i -e '/with-randomly/d' setup.cfg +# no test coverage check needed +sed -i -e '/cover/ d' setup.cfg +# no color printout for tests +sed -i -e '/rednose/ d' setup.cfg %build %python_build %check +# https://github.com/gabrielfalcao/HTTPretty/issues/405 +export EVENTLET_NO_GREENDNS=yes # test_http_passthrough and test_https_passthrough need internet connection %python_expand nosetests-%{$python_bin_suffix} --exclude='test_http.?_passthrough'