Hello community,
here is the log from the commit of package python-wsgi_intercept for openSUSE:Factory checked in at 2019-11-12 16:11:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wsgi_intercept (Old)
and /work/SRC/openSUSE:Factory/.python-wsgi_intercept.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wsgi_intercept"
Tue Nov 12 16:11:11 2019 rev:23 rq:745987 version:1.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wsgi_intercept/python-wsgi_intercept.changes 2019-10-16 09:18:26.134980425 +0200
+++ /work/SRC/openSUSE:Factory/.python-wsgi_intercept.new.2990/python-wsgi_intercept.changes 2019-11-12 16:11:15.399741864 +0100
@@ -1,0 +2,7 @@
+Wed Nov 6 12:22:52 UTC 2019 - Tomáš Chvátal
+
+- Update to 1.9.0:
+ * Fix with new httplib2 included upstream
+- Remove patch httplib2.patch
+
+-------------------------------------------------------------------
Old:
----
httplib2.patch
wsgi_intercept-1.8.1.tar.gz
New:
----
wsgi_intercept-1.9.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wsgi_intercept.spec ++++++
--- /var/tmp/diff_new_pack.Mn2o8U/_old 2019-11-12 16:11:16.123742642 +0100
+++ /var/tmp/diff_new_pack.Mn2o8U/_new 2019-11-12 16:11:16.123742642 +0100
@@ -18,13 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-wsgi_intercept
-Version: 1.8.1
+Version: 1.9.0
Release: 0
Summary: Library for installing a WSGI application in place of a real URI for testing
License: MIT
URL: https://github.com/cdent/python3-wsgi-intercept
Source: https://files.pythonhosted.org/packages/source/w/wsgi_intercept/wsgi_intercept-%{version}.tar.gz
-Patch0: httplib2.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module httplib2}
BuildRequires: %{python_module pytest >= 2.4}
@@ -52,7 +51,6 @@
%prep
%setup -q -n wsgi_intercept-%{version}
-%patch0 -p1
%build
%python_build
++++++ wsgi_intercept-1.8.1.tar.gz -> wsgi_intercept-1.9.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsgi_intercept-1.8.1/Makefile new/wsgi_intercept-1.9.0/Makefile
--- old/wsgi_intercept-1.8.1/Makefile 2018-07-06 13:21:51.000000000 +0200
+++ new/wsgi_intercept-1.9.0/Makefile 2019-10-15 13:20:41.000000000 +0200
@@ -36,7 +36,8 @@
git push origin master --tags
pypi:
- python setup.py sdist bdist_wheel upload --sign
+ python3 setup.py sdist bdist_wheel
+ twine upload -s dist/*
docs:
tox -edocs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsgi_intercept-1.8.1/PKG-INFO new/wsgi_intercept-1.9.0/PKG-INFO
--- old/wsgi_intercept-1.8.1/PKG-INFO 2019-05-23 12:57:28.000000000 +0200
+++ new/wsgi_intercept-1.9.0/PKG-INFO 2019-10-15 13:44:12.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: wsgi_intercept
-Version: 1.8.1
+Version: 1.9.0
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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsgi_intercept-1.8.1/setup.py new/wsgi_intercept-1.9.0/setup.py
--- old/wsgi_intercept-1.8.1/setup.py 2019-05-23 12:33:23.000000000 +0200
+++ new/wsgi_intercept-1.9.0/setup.py 2019-10-15 13:19:21.000000000 +0200
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
-VERSION = '1.8.1'
+VERSION = '1.9.0'
CLASSIFIERS = """
Environment :: Web Environment
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsgi_intercept-1.8.1/wsgi_intercept/httplib2_intercept.py new/wsgi_intercept-1.9.0/wsgi_intercept/httplib2_intercept.py
--- old/wsgi_intercept-1.8.1/wsgi_intercept/httplib2_intercept.py 2017-09-26 00:14:59.000000000 +0200
+++ new/wsgi_intercept-1.9.0/wsgi_intercept/httplib2_intercept.py 2019-10-15 13:17:48.000000000 +0200
@@ -32,8 +32,7 @@
HTTPSConnectionWithTimeout):
def __init__(self, host, port=None, strict=None, timeout=None,
proxy_info=None, ca_certs=None, source_address=None,
- disable_ssl_certificate_validation=False,
- ssl_version=None):
+ **kwargs):
# ignore proxy_info and ca_certs
# In Python3 strict is deprecated
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsgi_intercept-1.8.1/wsgi_intercept/tests/test_httplib2.py new/wsgi_intercept-1.9.0/wsgi_intercept/tests/test_httplib2.py
--- old/wsgi_intercept-1.8.1/wsgi_intercept/tests/test_httplib2.py 2016-09-26 16:24:51.000000000 +0200
+++ new/wsgi_intercept-1.9.0/wsgi_intercept/tests/test_httplib2.py 2019-10-15 13:17:48.000000000 +0200
@@ -42,10 +42,9 @@
def test_bogus_domain():
with InstalledApp(wsgi_app.simple_app, host=HOST, port=80):
- py.test.raises(
- gaierror,
- 'httplib2_intercept.HTTP_WSGIInterceptorWithTimeout('
- '"_nonexistant_domain_").connect()')
+ with py.test.raises(gaierror):
+ httplib2_intercept.HTTP_WSGIInterceptorWithTimeout(
+ "_nonexistant_domain_").connect()
def test_proxy_handling():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsgi_intercept-1.8.1/wsgi_intercept/tests/test_requests.py new/wsgi_intercept-1.9.0/wsgi_intercept/tests/test_requests.py
--- old/wsgi_intercept-1.8.1/wsgi_intercept/tests/test_requests.py 2016-09-26 16:24:51.000000000 +0200
+++ new/wsgi_intercept-1.9.0/wsgi_intercept/tests/test_requests.py 2019-10-15 13:17:48.000000000 +0200
@@ -36,9 +36,8 @@
def test_bogus_domain():
with InstalledApp(wsgi_app.simple_app, host=HOST, port=80):
- py.test.raises(
- ConnectionError,
- 'requests.get("http://_nonexistant_domain_")')
+ with py.test.raises(ConnectionError):
+ requests.get("http://_nonexistant_domain_")
def test_proxy_handling():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsgi_intercept-1.8.1/wsgi_intercept/tests/test_urllib3.py new/wsgi_intercept-1.9.0/wsgi_intercept/tests/test_urllib3.py
--- old/wsgi_intercept-1.8.1/wsgi_intercept/tests/test_urllib3.py 2017-09-26 00:14:59.000000000 +0200
+++ new/wsgi_intercept-1.9.0/wsgi_intercept/tests/test_urllib3.py 2019-10-15 13:17:48.000000000 +0200
@@ -38,10 +38,8 @@
def test_bogus_domain():
with InstalledApp(wsgi_app.simple_app, host=HOST, port=80):
- py.test.raises(
- urllib3.exceptions.ProtocolError,
- 'http.request("GET", "http://_nonexistant_domain_", '
- 'retries=False)')
+ with py.test.raises(urllib3.exceptions.ProtocolError):
+ http.request("GET", "http://_nonexistant_domain_", retries=False)
def test_proxy_handling():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsgi_intercept-1.8.1/wsgi_intercept.egg-info/PKG-INFO new/wsgi_intercept-1.9.0/wsgi_intercept.egg-info/PKG-INFO
--- old/wsgi_intercept-1.8.1/wsgi_intercept.egg-info/PKG-INFO 2019-05-23 12:57:27.000000000 +0200
+++ new/wsgi_intercept-1.9.0/wsgi_intercept.egg-info/PKG-INFO 2019-10-15 13:44:12.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: wsgi-intercept
-Version: 1.8.1
+Version: 1.9.0
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