Hello community,
here is the log from the commit of package python-httpretty for
openSUSE:Factory checked in at 2020-08-13 10:13:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-httpretty (Old)
and /work/SRC/openSUSE:Factory/.python-httpretty.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-httpretty"
Thu Aug 13 10:13:25 2020 rev:15 rq:826033 version:1.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-httpretty/python-httpretty.changes
2020-04-19 21:49:03.000030233 +0200
+++
/work/SRC/openSUSE:Factory/.python-httpretty.new.3399/python-httpretty.changes
2020-08-13 10:13:39.830622635 +0200
@@ -1,0 +2,7 @@
+Wed Aug 12 12:24:09 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- avoid reading DNS resolver settings
+ gh#gabrielfalcao/HTTPretty#405
+- remove unnecessary test packages
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-httpretty.spec ++++++
--- /var/tmp/diff_new_pack.MH0y3m/_old 2020-08-13 10:13:42.018624004 +0200
+++ /var/tmp/diff_new_pack.MH0y3m/_new 2020-08-13 10:13:42.022624006 +0200
@@ -26,13 +26,11 @@
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 @@
%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'