Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-WSGIProxy2 for 
openSUSE:Factory checked in at 2022-08-30 14:48:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-WSGIProxy2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-WSGIProxy2.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-WSGIProxy2"

Tue Aug 30 14:48:27 2022 rev:12 rq:999913 version:0.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-WSGIProxy2/python-WSGIProxy2.changes      
2019-11-04 17:13:35.276721462 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-WSGIProxy2.new.2083/python-WSGIProxy2.changes
    2022-08-30 14:48:33.023978101 +0200
@@ -1,0 +2,10 @@
+Mon Aug 29 04:04:23 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>
+
+- Update to 0.5.1: 
+  * remove stale dep on six
+  * use github actions as CI
+
+- Update to 0.5.0:
+  * Drop support for python3.6 and bellow
+
+-------------------------------------------------------------------

Old:
----
  WSGIProxy2-0.4.6.tar.gz

New:
----
  WSGIProxy2-0.5.1.tar.gz

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

Other differences:
------------------
++++++ python-WSGIProxy2.spec ++++++
--- /var/tmp/diff_new_pack.BFW1So/_old  2022-08-30 14:48:33.507979336 +0200
+++ /var/tmp/diff_new_pack.BFW1So/_new  2022-08-30 14:48:33.511979346 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-WSGIProxy2
+# spec file
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
 %bcond_with test
 %endif
 Name:           python-WSGIProxy2%{psuffix}
-Version:        0.4.6
+Version:        0.5.1
 Release:        0
 Summary:        WSGI Proxy Implementation
 License:        MIT

++++++ WSGIProxy2-0.4.6.tar.gz -> WSGIProxy2-0.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/CHANGES.rst 
new/WSGIProxy2-0.5.1/CHANGES.rst
--- old/WSGIProxy2-0.4.6/CHANGES.rst    2019-02-22 13:08:28.000000000 +0100
+++ new/WSGIProxy2-0.5.1/CHANGES.rst    2021-08-26 13:51:17.000000000 +0200
@@ -1,6 +1,19 @@
 Changes
 =======
 
+0.5.1 (2021-08-26)
+------------------
+
+- remove stale dep on six
+
+- use github actions as CI
+
+
+0.5.0 (2021-08-18)
+------------------
+
+- Drop support for python3.6 and bellow
+
 0.4.6 (2019-02-22)
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/MANIFEST.in 
new/WSGIProxy2-0.5.1/MANIFEST.in
--- old/WSGIProxy2-0.4.6/MANIFEST.in    2019-02-22 13:08:28.000000000 +0100
+++ new/WSGIProxy2-0.5.1/MANIFEST.in    2021-08-26 13:51:17.000000000 +0200
@@ -1,5 +1,7 @@
 graft docs
 prune docs/_build
+prune .github/
+prune .tox/
 graft wsgiproxy
 include *.rst
 include *_fixt.py
@@ -9,4 +11,4 @@
 include *.txt
 include COPYING
 include buildout.cfg
-include tox.ini
+include *.ini
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/PKG-INFO 
new/WSGIProxy2-0.5.1/PKG-INFO
--- old/WSGIProxy2-0.4.6/PKG-INFO       2019-02-22 13:08:29.000000000 +0100
+++ new/WSGIProxy2-0.5.1/PKG-INFO       2021-08-26 13:51:18.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: WSGIProxy2
-Version: 0.4.6
+Version: 0.5.1
 Summary: A WSGI Proxy with various http client backends
 Home-page: https://github.com/gawel/WSGIProxy2/
 Author: Gael Pasgrimaud
@@ -15,7 +15,7 @@
         
         Install optionnal backends::
         
-          $ pip install requests restkit urllib3
+          $ pip install requests urllib3
         
         
         Usage
@@ -50,16 +50,23 @@
         
           >>> proxy = HostProxy(application_url, client='requests')
         
-        Use `restkit <http://pypi.python.org/pypi/restkit>`_. This client 
support
-        request and response streaming but does not support python3 (will be 
fixed with
-        the next release)::
-        
-          >>> proxy = HostProxy(application_url, client='restkit') # doctest: 
+SKIP
-        
         
         Changes
         =======
         
+        0.5.1 (2021-08-26)
+        ------------------
+        
+        - remove stale dep on six
+        
+        - use github actions as CI
+        
+        
+        0.5.0 (2021-08-18)
+        ------------------
+        
+        - Drop support for python3.6 and bellow
+        
         0.4.6 (2019-02-22)
         ------------------
         
@@ -129,7 +136,6 @@
 Platform: UNKNOWN
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
-Classifier: Programming Language :: Python :: 2.6
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.2
-Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/README.rst 
new/WSGIProxy2-0.5.1/README.rst
--- old/WSGIProxy2-0.4.6/README.rst     2019-02-22 13:08:28.000000000 +0100
+++ new/WSGIProxy2-0.5.1/README.rst     2021-08-26 13:51:17.000000000 +0200
@@ -7,7 +7,7 @@
 
 Install optionnal backends::
 
-  $ pip install requests restkit urllib3
+  $ pip install requests urllib3
 
 
 Usage
@@ -42,9 +42,3 @@
 
   >>> proxy = HostProxy(application_url, client='requests')
 
-Use `restkit <http://pypi.python.org/pypi/restkit>`_. This client support
-request and response streaming but does not support python3 (will be fixed with
-the next release)::
-
-  >>> proxy = HostProxy(application_url, client='restkit') # doctest: +SKIP
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/WSGIProxy2.egg-info/PKG-INFO 
new/WSGIProxy2-0.5.1/WSGIProxy2.egg-info/PKG-INFO
--- old/WSGIProxy2-0.4.6/WSGIProxy2.egg-info/PKG-INFO   2019-02-22 
13:08:28.000000000 +0100
+++ new/WSGIProxy2-0.5.1/WSGIProxy2.egg-info/PKG-INFO   2021-08-26 
13:51:18.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: WSGIProxy2
-Version: 0.4.6
+Version: 0.5.1
 Summary: A WSGI Proxy with various http client backends
 Home-page: https://github.com/gawel/WSGIProxy2/
 Author: Gael Pasgrimaud
@@ -15,7 +15,7 @@
         
         Install optionnal backends::
         
-          $ pip install requests restkit urllib3
+          $ pip install requests urllib3
         
         
         Usage
@@ -50,16 +50,23 @@
         
           >>> proxy = HostProxy(application_url, client='requests')
         
-        Use `restkit <http://pypi.python.org/pypi/restkit>`_. This client 
support
-        request and response streaming but does not support python3 (will be 
fixed with
-        the next release)::
-        
-          >>> proxy = HostProxy(application_url, client='restkit') # doctest: 
+SKIP
-        
         
         Changes
         =======
         
+        0.5.1 (2021-08-26)
+        ------------------
+        
+        - remove stale dep on six
+        
+        - use github actions as CI
+        
+        
+        0.5.0 (2021-08-18)
+        ------------------
+        
+        - Drop support for python3.6 and bellow
+        
         0.4.6 (2019-02-22)
         ------------------
         
@@ -129,7 +136,6 @@
 Platform: UNKNOWN
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
-Classifier: Programming Language :: Python :: 2.6
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.2
-Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/WSGIProxy2.egg-info/SOURCES.txt 
new/WSGIProxy2-0.5.1/WSGIProxy2.egg-info/SOURCES.txt
--- old/WSGIProxy2-0.4.6/WSGIProxy2.egg-info/SOURCES.txt        2019-02-22 
13:08:28.000000000 +0100
+++ new/WSGIProxy2-0.5.1/WSGIProxy2.egg-info/SOURCES.txt        2021-08-26 
13:51:18.000000000 +0200
@@ -5,6 +5,7 @@
 README_fixt.py
 bootstrap.py
 buildout.cfg
+pytest.ini
 requirements.txt
 setup.cfg
 setup.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/WSGIProxy2.egg-info/requires.txt 
new/WSGIProxy2-0.5.1/WSGIProxy2.egg-info/requires.txt
--- old/WSGIProxy2-0.4.6/WSGIProxy2.egg-info/requires.txt       2019-02-22 
13:08:28.000000000 +0100
+++ new/WSGIProxy2-0.5.1/WSGIProxy2.egg-info/requires.txt       2021-08-26 
13:51:18.000000000 +0200
@@ -1,2 +1 @@
 webob
-six
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/buildout.cfg 
new/WSGIProxy2-0.5.1/buildout.cfg
--- old/WSGIProxy2-0.4.6/buildout.cfg   2019-02-22 13:08:28.000000000 +0100
+++ new/WSGIProxy2-0.5.1/buildout.cfg   2021-08-26 13:51:17.000000000 +0200
@@ -13,7 +13,6 @@
   WSGIProxy2
   urllib3
   requests
-  restkit
   Sphinx
 
 [tox]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/docs/clients.rst 
new/WSGIProxy2-0.5.1/docs/clients.rst
--- old/WSGIProxy2-0.4.6/docs/clients.rst       2019-02-22 13:08:28.000000000 
+0100
+++ new/WSGIProxy2-0.5.1/docs/clients.rst       2021-08-26 13:51:17.000000000 
+0200
@@ -8,8 +8,6 @@
 
 .. autoclass:: wsgiproxy.requests_client.HttpClient
 
-.. autoclass:: wsgiproxy.restkit_client.HttpClient
-
 Use your own HTTP client::
 
   >>> def client(uri, method, body, headers):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/pytest.ini 
new/WSGIProxy2-0.5.1/pytest.ini
--- old/WSGIProxy2-0.4.6/pytest.ini     1970-01-01 01:00:00.000000000 +0100
+++ new/WSGIProxy2-0.5.1/pytest.ini     2021-08-26 13:51:17.000000000 +0200
@@ -0,0 +1,4 @@
+[pytest]
+filterwarnings =
+    ignore:.*Waitress.*:DeprecationWarning
+ 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/requirements.txt 
new/WSGIProxy2-0.5.1/requirements.txt
--- old/WSGIProxy2-0.4.6/requirements.txt       2019-02-22 13:08:28.000000000 
+0100
+++ new/WSGIProxy2-0.5.1/requirements.txt       2021-08-26 13:51:17.000000000 
+0200
@@ -1,3 +1,2 @@
 urllib3
 requests
-restkit
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/setup.py 
new/WSGIProxy2-0.5.1/setup.py
--- old/WSGIProxy2-0.4.6/setup.py       2019-02-22 13:08:28.000000000 +0100
+++ new/WSGIProxy2-0.5.1/setup.py       2021-08-26 13:51:17.000000000 +0200
@@ -1,15 +1,16 @@
 from setuptools import setup, find_packages
 
-version = '0.4.6'
+version = '0.5.1'
 
 
 def read(name):
     try:
         with open(name) as fd:
             return fd.read()
-    except:
+    except Exception:
         return ''
 
+
 setup(name='WSGIProxy2',
       version=version,
       long_description=read('README.rst') + '\n' + read('CHANGES.rst'),
@@ -17,10 +18,9 @@
       classifiers=[
           'License :: OSI Approved :: MIT License',
           'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
-          'Programming Language :: Python :: 2.6',
-          'Programming Language :: Python :: 2.7',
-          'Programming Language :: Python :: 3.2',
-          'Programming Language :: Python :: 3.3',
+          'Programming Language :: Python :: 3.7',
+          'Programming Language :: Python :: 3.8',
+          'Programming Language :: Python :: 3.9',
       ],
       keywords='wsgi proxy',
       author='Gael Pasgrimaud',
@@ -30,7 +30,7 @@
       packages=find_packages(exclude=['ez_setup', 'README_fixt', 'tests']),
       include_package_data=True,
       zip_safe=False,
-      install_requires=['webob', 'six'],
+      install_requires=['webob'],
       entry_points="""
       # -*- Entry points: -*-
       """,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/tox.ini new/WSGIProxy2-0.5.1/tox.ini
--- old/WSGIProxy2-0.4.6/tox.ini        2019-02-22 13:08:28.000000000 +0100
+++ new/WSGIProxy2-0.5.1/tox.ini        2021-08-26 13:51:17.000000000 +0200
@@ -1,5 +1,5 @@
 [tox]
-envlist = py27,py34,py35
+envlist = py37,py38
 
 [testenv]
 changedir={toxinidir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/wsgiproxy/proxies.py 
new/WSGIProxy2-0.5.1/wsgiproxy/proxies.py
--- old/WSGIProxy2-0.4.6/wsgiproxy/proxies.py   2019-02-22 13:08:28.000000000 
+0100
+++ new/WSGIProxy2-0.5.1/wsgiproxy/proxies.py   2021-08-26 13:51:17.000000000 
+0200
@@ -1,12 +1,8 @@
 # -*- coding: utf-8 -
-#
-# This file is part of restkit released under the MIT license.
-# See the NOTICE for more information.
 from webob import exc
 from webob.compat import PY3, url_quote
 import logging
 import socket
-import six
 import re
 
 try:
@@ -86,9 +82,13 @@
         response = conn.getresponse()
         status = '%s %s' % (response.status, response.reason)
         length = response.getheader('content-length')
+        resp_headers = [
+            (k, v) for (k, v) in response.getheaders()
+            if k.lower() != 'transfer-encoding'
+        ]
         body = response.read(int(length)) if length else response.read()
         result = (status, response.getheader('location', None),
-                  response.getheaders(), [body])
+                  resp_headers, [body])
         conn.close()
         return result
 
@@ -226,7 +226,7 @@
         start_response(status, headers)
 
         if method == "HEAD":
-            return [six.b('')]
+            return [b'']
 
         return app_iter
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/WSGIProxy2-0.4.6/wsgiproxy/requests_client.py 
new/WSGIProxy2-0.5.1/wsgiproxy/requests_client.py
--- old/WSGIProxy2-0.4.6/wsgiproxy/requests_client.py   2019-02-22 
13:08:28.000000000 +0100
+++ new/WSGIProxy2-0.5.1/wsgiproxy/requests_client.py   2021-08-26 
13:51:17.000000000 +0200
@@ -35,6 +35,8 @@
         location = response.headers.get('location') or None
         status = '%s %s' % (response.status_code, response.reason)
 
+        if 'transfer-encoding' in response.headers:
+            del response.headers['transfer-encoding']
         headers = [(k.title(), v) for k, v in response.headers.items()]
 
         return (status, location, headers,

Reply via email to