Hello community,
here is the log from the commit of package python-wsgi_intercept for
openSUSE:Factory checked in at 2019-05-27 08:38:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wsgi_intercept (Old)
and /work/SRC/openSUSE:Factory/.python-wsgi_intercept.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wsgi_intercept"
Mon May 27 08:38:20 2019 rev:20 rq:705258 version:1.8.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-wsgi_intercept/python-wsgi_intercept.changes
2019-03-21 09:53:39.182783136 +0100
+++
/work/SRC/openSUSE:Factory/.python-wsgi_intercept.new.5148/python-wsgi_intercept.changes
2019-05-27 08:38:21.767071503 +0200
@@ -1,0 +2,6 @@
+Fri May 24 13:45:03 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.8.1:
+ * Fixes issues with latest urllib
+
+-------------------------------------------------------------------
Old:
----
wsgi_intercept-1.8.0.tar.gz
New:
----
wsgi_intercept-1.8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wsgi_intercept.spec ++++++
--- /var/tmp/diff_new_pack.P68o97/_old 2019-05-27 08:38:22.443071239 +0200
+++ /var/tmp/diff_new_pack.P68o97/_new 2019-05-27 08:38:22.443071239 +0200
@@ -18,31 +18,29 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-wsgi_intercept
-Version: 1.8.0
+Version: 1.8.1
Release: 0
Summary: Installs a WSGI application in place of a real URI for testing
License: MIT
Group: Development/Languages/Python
-Url: https://github.com/cdent/python3-wsgi-intercept
-Source:
https://pypi.io/packages/source/w/wsgi_intercept/wsgi_intercept-%{version}.tar.gz
-BuildRequires: %{python_module setuptools}
-BuildRequires: python-rpm-macros
-# Test requirements:
+URL: https://github.com/cdent/python3-wsgi-intercept
+Source:
https://files.pythonhosted.org/packages/source/w/wsgi_intercept/wsgi_intercept-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module httplib2}
BuildRequires: %{python_module pytest >= 2.4}
BuildRequires: %{python_module requests >= 2.0.1}
+BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module urllib3 >= 1.11.0}
BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Requires: python-six
+BuildArch: noarch
%if 0%{?_no_weakdeps}
Requires: python-requests >= 2.0.1
%else
Recommends: python-requests >= 2.0.1
%endif
-BuildArch: noarch
-
%python_subpackages
%description
@@ -54,9 +52,6 @@
%prep
%setup -q -n wsgi_intercept-%{version}
-%if 0%{?suse_version} == 1230
-%patch0 -p1
-%endif
%build
%python_build
@@ -68,7 +63,7 @@
%check
export WSGI_INTERCEPT_SKIP_NETWORK=true
-%python_exec -m pytest --ignore _build.python2 --ignore _build.python3
+%pytest
%files %{python_files}
%{python_sitelib}/wsgi_intercept-%{version}-py%{py_ver}.egg-info
++++++ wsgi_intercept-1.8.0.tar.gz -> wsgi_intercept-1.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wsgi_intercept-1.8.0/PKG-INFO
new/wsgi_intercept-1.8.1/PKG-INFO
--- old/wsgi_intercept-1.8.0/PKG-INFO 2018-07-06 13:24:09.000000000 +0200
+++ new/wsgi_intercept-1.8.1/PKG-INFO 2019-05-23 12:57:28.000000000 +0200
@@ -1,12 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: wsgi_intercept
-Version: 1.8.0
+Version: 1.8.1
Summary: wsgi_intercept installs a WSGI application in place of a real URI for
testing.
Home-page: http://pypi.python.org/pypi/wsgi_intercept
Author: Titus Brown, Kumar McMillan, Chris Dent, Sasha Hart
Author-email: [email protected]
License: MIT License
-Description-Content-Type: UNKNOWN
Description: Installs a WSGI application in place of a real host for testing.
Introduction
@@ -158,5 +157,8 @@
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Topic :: Software Development :: Testing
+Provides-Extra: testing
+Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wsgi_intercept-1.8.0/setup.py
new/wsgi_intercept-1.8.1/setup.py
--- old/wsgi_intercept-1.8.0/setup.py 2018-07-06 13:21:51.000000000 +0200
+++ new/wsgi_intercept-1.8.1/setup.py 2019-05-23 12:33:23.000000000 +0200
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
-VERSION = '1.8.0'
+VERSION = '1.8.1'
CLASSIFIERS = """
Environment :: Web Environment
@@ -14,6 +14,7 @@
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
+Programming Language :: Python :: 3.7
Topic :: Internet :: WWW/HTTP :: WSGI
Topic :: Software Development :: Testing
""".strip().splitlines()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wsgi_intercept-1.8.0/wsgi_intercept/_urllib3.py
new/wsgi_intercept-1.8.1/wsgi_intercept/_urllib3.py
--- old/wsgi_intercept-1.8.0/wsgi_intercept/_urllib3.py 2017-09-26
00:14:59.000000000 +0200
+++ new/wsgi_intercept-1.8.1/wsgi_intercept/_urllib3.py 2019-05-23
12:28:17.000000000 +0200
@@ -27,6 +27,7 @@
if 'strict' in kwargs and sys.version_info > (3, 0):
kwargs.pop('strict')
kwargs.pop('socket_options', None)
+ kwargs.pop('key_password', None)
WSGI_HTTPSConnection.__init__(self, *args, **kwargs)
HTTPSConnection.__init__(self, *args, **kwargs)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/wsgi_intercept-1.8.0/wsgi_intercept/tests/test_response_headers.py
new/wsgi_intercept-1.8.1/wsgi_intercept/tests/test_response_headers.py
--- old/wsgi_intercept-1.8.0/wsgi_intercept/tests/test_response_headers.py
2017-09-26 00:14:59.000000000 +0200
+++ new/wsgi_intercept-1.8.1/wsgi_intercept/tests/test_response_headers.py
2019-05-23 12:14:50.000000000 +0200
@@ -77,8 +77,8 @@
with py.test.raises(TypeError) as error:
response = requests.get(url)
- assert (str(error.value) ==
- "Header has a key '%s' or value '%s' "
+ assert (
+ str(error.value) == "Header has a key '%s' or value '%s' "
"which is not a native str." % (header_key, header_value))
# When False, other types of strings are okay.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/wsgi_intercept-1.8.0/wsgi_intercept.egg-info/PKG-INFO
new/wsgi_intercept-1.8.1/wsgi_intercept.egg-info/PKG-INFO
--- old/wsgi_intercept-1.8.0/wsgi_intercept.egg-info/PKG-INFO 2018-07-06
13:24:09.000000000 +0200
+++ new/wsgi_intercept-1.8.1/wsgi_intercept.egg-info/PKG-INFO 2019-05-23
12:57:27.000000000 +0200
@@ -1,12 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: wsgi-intercept
-Version: 1.8.0
+Version: 1.8.1
Summary: wsgi_intercept installs a WSGI application in place of a real URI for
testing.
Home-page: http://pypi.python.org/pypi/wsgi_intercept
Author: Titus Brown, Kumar McMillan, Chris Dent, Sasha Hart
Author-email: [email protected]
License: MIT License
-Description-Content-Type: UNKNOWN
Description: Installs a WSGI application in place of a real host for testing.
Introduction
@@ -158,5 +157,8 @@
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Topic :: Software Development :: Testing
+Provides-Extra: testing
+Provides-Extra: docs