Hello community,
here is the log from the commit of package python-httpretty for
openSUSE:Factory checked in at 2020-04-19 21:49:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-httpretty (Old)
and /work/SRC/openSUSE:Factory/.python-httpretty.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-httpretty"
Sun Apr 19 21:49:02 2020 rev:14 rq:792733 version:1.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-httpretty/python-httpretty.changes
2019-01-08 12:31:18.252087423 +0100
+++
/work/SRC/openSUSE:Factory/.python-httpretty.new.2738/python-httpretty.changes
2020-04-19 21:49:03.000030233 +0200
@@ -1,0 +2,12 @@
+Thu Apr 9 11:25:31 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to 1.0.2
+ * Drop Python 2 support.
+ * Fix usage with redis and improve overall real-socket passthrough.
+ * Fix TypeError: wrap_socket() missing 1 required positional argument:
'sock'.
+ * Fix simple typo: neighter -> neither.
+ * Updated documentation for register_uri concerning using ports.
+ * Clarify relation between ``enabled`` and ``httprettized`` in API docs.
+ * Align signature with builtin socket.
+
+-------------------------------------------------------------------
Old:
----
httpretty-0.9.6.tar.gz
New:
----
httpretty-1.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-httpretty.spec ++++++
--- /var/tmp/diff_new_pack.kg9tFx/_old 2020-04-19 21:49:03.672031581 +0200
+++ /var/tmp/diff_new_pack.kg9tFx/_new 2020-04-19 21:49:03.676031589 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-httpretty
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-httpretty
-Version: 0.9.6
+Version: 1.0.2
Release: 0
Summary: HTTP client mocking tool for Python
License: MIT
@@ -26,18 +27,19 @@
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 mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module rednose}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module six}
BuildRequires: %{python_module sure}
BuildRequires: %{python_module tornado}
+BuildRequires: %{python_module twine >= 1.15.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-six
BuildArch: noarch
%python_subpackages
@@ -55,7 +57,8 @@
%python_build
%check
-%python_exec setup.py test
+# test_http_passthrough and test_https_passthrough need internet connection
+%python_expand nosetests-%{$python_bin_suffix}
--exclude='test_http.?_passthrough'
%install
%python_install
++++++ httpretty-0.9.6.tar.gz -> httpretty-1.0.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-httpretty/httpretty-0.9.6.tar.gz
/work/SRC/openSUSE:Factory/.python-httpretty.new.2738/httpretty-1.0.2.tar.gz
differ: char 5, line 1