Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-wsgi_intercept for 
openSUSE:Factory checked in at 2022-11-12 17:41:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wsgi_intercept (Old)
 and      /work/SRC/openSUSE:Factory/.python-wsgi_intercept.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-wsgi_intercept"

Sat Nov 12 17:41:08 2022 rev:27 rq:1035266 version:1.11.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-wsgi_intercept/python-wsgi_intercept.changes  
    2022-10-12 18:26:07.185878487 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-wsgi_intercept.new.1597/python-wsgi_intercept.changes
    2022-11-12 17:41:28.626277990 +0100
@@ -1,0 +2,13 @@
+Wed Nov  9 19:51:58 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 1.11.0 
+  * refer to pytest not py.test in tests (#69)
+
+- Update to version 1.10.0
+  * Correct handling of a environ keys in python2 (#66)
+  * Accept urllib3 server_hostname keyword
+  * Test by git hub actions (#64)
+  * Merge pull request #63 from santosh653/master
+  * Update .travis.yml
+
+-------------------------------------------------------------------

Old:
----
  wsgi_intercept-1.10.0.tar.gz

New:
----
  wsgi_intercept-1.11.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-wsgi_intercept.spec ++++++
--- /var/tmp/diff_new_pack.N4tr5x/_old  2022-11-12 17:41:29.062280585 +0100
+++ /var/tmp/diff_new_pack.N4tr5x/_new  2022-11-12 17:41:29.070280633 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-wsgi_intercept
-Version:        1.10.0
+Version:        1.11.0
 Release:        0
 Summary:        Library for installing a WSGI application in place of a real 
URI for testing
 License:        MIT

++++++ wsgi_intercept-1.10.0.tar.gz -> wsgi_intercept-1.11.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsgi_intercept-1.10.0/PKG-INFO 
new/wsgi_intercept-1.11.0/PKG-INFO
--- old/wsgi_intercept-1.10.0/PKG-INFO  2022-05-16 13:43:18.667807000 +0200
+++ new/wsgi_intercept-1.11.0/PKG-INFO  2022-11-04 11:41:12.963466400 +0100
@@ -1,12 +1,11 @@
 Metadata-Version: 2.1
 Name: wsgi_intercept
-Version: 1.10.0
+Version: 1.11.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
 Author-email: [email protected]
 License: MIT License
-Platform: UNKNOWN
 Classifier: Environment :: Web Environment
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
@@ -141,7 +140,7 @@
 The Python 2 version of wsgi-intercept was the result. Kumar McMillan
 later took over maintenance.
 
-The current version is tested with Python 2.7, 3.5-3.8, and pypy and pypy3.
+The current version is tested with Python 2.7, 3.5-3.11, and pypy and pypy3.
 It was assembled by `Chris Dent`_. Testing and documentation improvements
 from `Sasha Hart`_.
 
@@ -163,5 +162,3 @@
 
 .. _GitHub: http://github.com/cdent/wsgi-intercept
 .. _Read The Docs: http://wsgi-intercept.readthedocs.org/en/latest/
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsgi_intercept-1.10.0/README 
new/wsgi_intercept-1.11.0/README
--- old/wsgi_intercept-1.10.0/README    2022-05-16 13:43:15.000000000 +0200
+++ new/wsgi_intercept-1.11.0/README    2022-11-04 11:39:33.000000000 +0100
@@ -115,7 +115,7 @@
 The Python 2 version of wsgi-intercept was the result. Kumar McMillan
 later took over maintenance.
 
-The current version is tested with Python 2.7, 3.5-3.8, and pypy and pypy3.
+The current version is tested with Python 2.7, 3.5-3.11, and pypy and pypy3.
 It was assembled by `Chris Dent`_. Testing and documentation improvements
 from `Sasha Hart`_.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsgi_intercept-1.10.0/setup.py 
new/wsgi_intercept-1.11.0/setup.py
--- old/wsgi_intercept-1.10.0/setup.py  2022-05-16 13:39:31.000000000 +0200
+++ new/wsgi_intercept-1.11.0/setup.py  2022-11-04 11:39:33.000000000 +0100
@@ -1,7 +1,7 @@
 
 from setuptools import setup, find_packages
 
-VERSION = '1.10.0'
+VERSION = '1.11.0'
 
 CLASSIFIERS = """
 Environment :: Web Environment
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_http_client.py 
new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_http_client.py
--- old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_http_client.py  
2020-02-05 12:08:46.000000000 +0100
+++ new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_http_client.py  
2022-11-04 11:39:33.000000000 +0100
@@ -1,4 +1,4 @@
-import py.test
+import pytest
 from wsgi_intercept import http_client_intercept, WSGIAppError
 from . import wsgi_app
 from .install import installer_class, skipnetwork
@@ -57,7 +57,7 @@
 def test_app_error():
     with InstalledApp(wsgi_app.raises_app, host=HOST, port=80):
         http_client = http_lib.HTTPConnection(HOST)
-        with py.test.raises(WSGIAppError):
+        with pytest.raises(WSGIAppError):
             http_client.request('GET', '/')
             http_client.getresponse().read()
         http_client.close()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_httplib2.py 
new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_httplib2.py
--- old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_httplib2.py     
2020-02-05 12:08:46.000000000 +0100
+++ new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_httplib2.py     
2022-11-04 11:39:33.000000000 +0100
@@ -1,4 +1,4 @@
-import py.test
+import pytest
 from wsgi_intercept import httplib2_intercept, WSGIAppError
 from . import wsgi_app
 from .install import installer_class
@@ -42,7 +42,7 @@
 
 def test_bogus_domain():
     with InstalledApp(wsgi_app.simple_app, host=HOST, port=80):
-        with py.test.raises(gaierror):
+        with pytest.raises(gaierror):
             httplib2_intercept.HTTP_WSGIInterceptorWithTimeout(
                     "_nonexistant_domain_").connect()
 
@@ -80,6 +80,6 @@
 def test_app_error():
     with InstalledApp(wsgi_app.raises_app, host=HOST, port=80):
         http = httplib2.Http()
-        with py.test.raises(WSGIAppError):
+        with pytest.raises(WSGIAppError):
             http.request(
                 'http://some_hopefully_nonexistant_domain/')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_interceptor.py 
new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_interceptor.py
--- old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_interceptor.py  
2020-02-05 12:08:46.000000000 +0100
+++ new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_interceptor.py  
2022-11-04 11:39:33.000000000 +0100
@@ -7,7 +7,7 @@
 import socket
 from uuid import uuid4
 
-import py.test
+import pytest
 import requests
 import urllib3
 from httplib2 import Http, ServerNotFoundError
@@ -99,7 +99,7 @@
         assert 'WSGI intercept successful!' in content
 
     # outside the context manager the intercept does not work
-    with py.test.raises(socket.gaierror):
+    with pytest.raises(socket.gaierror):
         client = http_client.HTTPConnection(hostname, port)
         client.request('GET', '/')
 
@@ -159,7 +159,7 @@
         assert 'WSGI intercept successful!' in content.decode('utf-8')
 
     # outside the context manager the intercept does not work
-    with py.test.raises(ServerNotFoundError):
+    with pytest.raises(ServerNotFoundError):
         http.request(url)
 
 
@@ -194,7 +194,7 @@
         assert 'WSGI intercept successful!' in response.text
 
     # outside the context manager the intercept does not work
-    with py.test.raises(requests.ConnectionError):
+    with pytest.raises(requests.ConnectionError):
         requests.get(url)
 
 
@@ -229,7 +229,7 @@
         assert 'WSGI intercept successful!' in str(response.data)
 
     # outside the context manager the intercept does not work
-    with py.test.raises(urllib3.exceptions.ProtocolError):
+    with pytest.raises(urllib3.exceptions.ProtocolError):
         httppool.request('GET', url, retries=False)
 
 
@@ -264,7 +264,7 @@
         assert 'WSGI intercept successful!' in response.read().decode('utf-8')
 
     # outside the context manager the intercept does not work
-    with py.test.raises(URLError):
+    with pytest.raises(URLError):
         urlopen(url)
 
 
@@ -289,11 +289,11 @@
         assert 'WSGI intercept successful!' in str(response.data)
 
         # outside the inner context manager url2 does not work
-        with py.test.raises(urllib3.exceptions.HTTPError):
+        with pytest.raises(urllib3.exceptions.HTTPError):
             httppool.request('GET', url2, retries=False)
 
     # outside both context managers neither url works
-    with py.test.raises(urllib3.exceptions.HTTPError):
+    with pytest.raises(urllib3.exceptions.HTTPError):
         httppool.request('GET', url2, retries=False)
-    with py.test.raises(urllib3.exceptions.HTTPError):
+    with pytest.raises(urllib3.exceptions.HTTPError):
         httppool.request('GET', url1, retries=False)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_requests.py 
new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_requests.py
--- old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_requests.py     
2020-02-05 12:08:46.000000000 +0100
+++ new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_requests.py     
2022-11-04 11:39:33.000000000 +0100
@@ -1,5 +1,5 @@
 import os
-import py.test
+import pytest
 from wsgi_intercept import requests_intercept, WSGIAppError
 from . import wsgi_app
 from .install import installer_class, skipnetwork
@@ -36,12 +36,12 @@
 
 def test_bogus_domain():
     with InstalledApp(wsgi_app.simple_app, host=HOST, port=80):
-        with py.test.raises(ConnectionError):
+        with pytest.raises(ConnectionError):
             requests.get("http://_nonexistant_domain_";)
 
 
 def test_proxy_handling():
-    with py.test.raises(RuntimeError) as exc:
+    with pytest.raises(RuntimeError) as exc:
         with InstalledApp(wsgi_app.simple_app, host=HOST, port=80,
                           proxy='some_proxy.com:1234'):
             requests.get('http://some_hopefully_nonexistant_domain:80/')
@@ -86,7 +86,7 @@
 
 def test_app_error():
     with InstalledApp(wsgi_app.raises_app, host=HOST, port=80):
-        with py.test.raises(WSGIAppError):
+        with pytest.raises(WSGIAppError):
             requests.get('http://some_hopefully_nonexistant_domain/')
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_response_headers.py 
new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_response_headers.py
--- old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_response_headers.py     
2020-02-05 12:08:46.000000000 +0100
+++ new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_response_headers.py     
2022-11-04 11:39:33.000000000 +0100
@@ -8,7 +8,7 @@
 not the other way round. Let's write some tests to fix that.
 """
 
-import py.test
+import pytest
 import requests
 import six
 
@@ -74,7 +74,7 @@
     with RequestsInterceptor(header_app) as url:
         wsgi_intercept.STRICT_RESPONSE_HEADERS = True
 
-        with py.test.raises(TypeError) as error:
+        with pytest.raises(TypeError) as error:
             response = requests.get(url)
 
         assert (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_urllib.py 
new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_urllib.py
--- old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_urllib.py       
2020-02-05 12:08:46.000000000 +0100
+++ new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_urllib.py       
2022-11-04 11:39:33.000000000 +0100
@@ -1,5 +1,5 @@
 import os
-import py.test
+import pytest
 from wsgi_intercept import urllib_intercept, WSGIAppError
 from . import wsgi_app
 from .install import installer_class, skipnetwork
@@ -35,7 +35,7 @@
 
 def test_proxy_handling():
     """Like requests, urllib gets confused about proxy early on."""
-    with py.test.raises(RuntimeError) as exc:
+    with pytest.raises(RuntimeError) as exc:
         with InstalledApp(wsgi_app.simple_app, host=HOST, port=80,
                           proxy='some.host:1234'):
             url_lib.urlopen('http://some_hopefully_nonexistant_domain:80/')
@@ -62,7 +62,7 @@
 
 def test_app_error():
     with InstalledApp(wsgi_app.raises_app, host=HOST, port=80):
-        with py.test.raises(WSGIAppError):
+        with pytest.raises(WSGIAppError):
             url_lib.urlopen('http://some_hopefully_nonexistant_domain/')
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_urllib3.py 
new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_urllib3.py
--- old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_urllib3.py      
2020-02-05 12:08:46.000000000 +0100
+++ new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_urllib3.py      
2022-11-04 11:39:33.000000000 +0100
@@ -1,5 +1,5 @@
 import os
-import py.test
+import pytest
 from wsgi_intercept import urllib3_intercept, WSGIAppError
 from . import wsgi_app
 from .install import installer_class, skipnetwork
@@ -38,12 +38,12 @@
 
 def test_bogus_domain():
     with InstalledApp(wsgi_app.simple_app, host=HOST, port=80):
-        with py.test.raises(urllib3.exceptions.ProtocolError):
+        with pytest.raises(urllib3.exceptions.ProtocolError):
             http.request("GET", "http://_nonexistant_domain_";, retries=False)
 
 
 def test_proxy_handling():
-    with py.test.raises(RuntimeError) as exc:
+    with pytest.raises(RuntimeError) as exc:
         with InstalledApp(wsgi_app.simple_app, host=HOST, port=80,
                           proxy='some_proxy.com:1234'):
             http.request('GET', 'http://some_hopefully_nonexistant_domain:80/')
@@ -82,7 +82,7 @@
 
 def test_app_error():
     with InstalledApp(wsgi_app.raises_app, host=HOST, port=80):
-        with py.test.raises(WSGIAppError):
+        with pytest.raises(WSGIAppError):
             http.request('GET', 'http://some_hopefully_nonexistant_domain/')
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_wsgi_compliance.py 
new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_wsgi_compliance.py
--- old/wsgi_intercept-1.10.0/wsgi_intercept/tests/test_wsgi_compliance.py      
2020-02-05 12:08:46.000000000 +0100
+++ new/wsgi_intercept-1.11.0/wsgi_intercept/tests/test_wsgi_compliance.py      
2022-11-04 11:39:33.000000000 +0100
@@ -1,5 +1,5 @@
 import sys
-import py.test
+import pytest
 try:
     from urllib.parse import unquote
 except ImportError:
@@ -92,7 +92,7 @@
 def test_encoding_errors():
     with InstalledApp(wsgi_app.more_interesting_app, host=HOST):
         http = httplib2.Http()
-        with py.test.raises(UnicodeEncodeError):
+        with pytest.raises(UnicodeEncodeError):
             response, content = http.request(
                 'http://some_hopefully_nonexistant_domain/boom/baz',
                 headers={'Accept': u'application/\u2603'})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/wsgi_intercept-1.10.0/wsgi_intercept.egg-info/PKG-INFO 
new/wsgi_intercept-1.11.0/wsgi_intercept.egg-info/PKG-INFO
--- old/wsgi_intercept-1.10.0/wsgi_intercept.egg-info/PKG-INFO  2022-05-16 
13:43:18.000000000 +0200
+++ new/wsgi_intercept-1.11.0/wsgi_intercept.egg-info/PKG-INFO  2022-11-04 
11:41:12.000000000 +0100
@@ -1,12 +1,11 @@
 Metadata-Version: 2.1
 Name: wsgi-intercept
-Version: 1.10.0
+Version: 1.11.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
 Author-email: [email protected]
 License: MIT License
-Platform: UNKNOWN
 Classifier: Environment :: Web Environment
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
@@ -141,7 +140,7 @@
 The Python 2 version of wsgi-intercept was the result. Kumar McMillan
 later took over maintenance.
 
-The current version is tested with Python 2.7, 3.5-3.8, and pypy and pypy3.
+The current version is tested with Python 2.7, 3.5-3.11, and pypy and pypy3.
 It was assembled by `Chris Dent`_. Testing and documentation improvements
 from `Sasha Hart`_.
 
@@ -163,5 +162,3 @@
 
 .. _GitHub: http://github.com/cdent/wsgi-intercept
 .. _Read The Docs: http://wsgi-intercept.readthedocs.org/en/latest/
-
-

Reply via email to