Hello community, here is the log from the commit of package python-WebOb for openSUSE:Factory checked in at 2018-02-26 23:24:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-WebOb (Old) and /work/SRC/openSUSE:Factory/.python-WebOb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-WebOb" Mon Feb 26 23:24:53 2018 rev:25 rq:579633 version:1.7.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-WebOb/python-WebOb.changes 2017-08-04 11:58:59.454923259 +0200 +++ /work/SRC/openSUSE:Factory/.python-WebOb.new/python-WebOb.changes 2018-02-26 23:24:53.802884892 +0100 @@ -1,0 +2,12 @@ +Fri Feb 23 19:55:17 UTC 2018 - [email protected] + +- Drop not needed python-pytest-cov BuildRequires + +------------------------------------------------------------------- +Fri Feb 23 13:57:18 UTC 2018 - [email protected] + +- update to 1.7.4: +- Add support for `wsgi.input_terminated` in the wsgi environ to allow for + Chunked Encoding to be used with WebOb + +------------------------------------------------------------------- Old: ---- WebOb-1.7.3.tar.gz New: ---- WebOb-1.7.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-WebOb.spec ++++++ --- /var/tmp/diff_new_pack.Q2wynT/_old 2018-02-26 23:24:54.698852670 +0100 +++ /var/tmp/diff_new_pack.Q2wynT/_new 2018-02-26 23:24:54.702852526 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-WebOb # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-WebOb -Version: 1.7.3 +Version: 1.7.4 Release: 0 Summary: WSGI request and response object License: MIT @@ -27,7 +27,6 @@ Url: http://webob.org/ Source: https://pypi.io/packages/source/W/WebOb/WebOb-%{version}.tar.gz BuildRequires: %{python_module devel} -BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros ++++++ WebOb-1.7.3.tar.gz -> WebOb-1.7.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.7.3/CHANGES.txt new/WebOb-1.7.4/CHANGES.txt --- old/WebOb-1.7.3/CHANGES.txt 2017-06-30 23:11:43.000000000 +0200 +++ new/WebOb-1.7.4/CHANGES.txt 2017-11-20 23:13:23.000000000 +0100 @@ -1,3 +1,15 @@ +1.7.4 (2017-11-20) + +Feature +~~~~~~~ + +- Add support for `wsgi.input_terminated` in the wsgi environ to allow for + Chunked Encoding to be used with WebOb: See + https://github.com/Pylons/webob/issues/278 and + https://gist.github.com/mitsuhiko/5721107 and + https://github.com/unbit/uwsgi/issues/1428 and + https://twitter.com/GrahamDumpleton/status/928712321127538688 + 1.7.3 (2017-06-30) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.7.3/PKG-INFO new/WebOb-1.7.4/PKG-INFO --- old/WebOb-1.7.3/PKG-INFO 2017-06-30 23:16:33.000000000 +0200 +++ new/WebOb-1.7.4/PKG-INFO 2017-11-20 23:17:45.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: WebOb -Version: 1.7.3 +Version: 1.7.4 Summary: WSGI request and response object Home-page: http://webob.org/ Author: Pylons Project @@ -45,6 +45,18 @@ + 1.7.4 (2017-11-20) + + Feature + ~~~~~~~ + + - Add support for `wsgi.input_terminated` in the wsgi environ to allow for + Chunked Encoding to be used with WebOb: See + https://github.com/Pylons/webob/issues/278 and + https://gist.github.com/mitsuhiko/5721107 and + https://github.com/unbit/uwsgi/issues/1428 and + https://twitter.com/GrahamDumpleton/status/928712321127538688 + 1.7.3 (2017-06-30) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.7.3/WebOb.egg-info/PKG-INFO new/WebOb-1.7.4/WebOb.egg-info/PKG-INFO --- old/WebOb-1.7.3/WebOb.egg-info/PKG-INFO 2017-06-30 23:16:30.000000000 +0200 +++ new/WebOb-1.7.4/WebOb.egg-info/PKG-INFO 2017-11-20 23:17:45.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: WebOb -Version: 1.7.3 +Version: 1.7.4 Summary: WSGI request and response object Home-page: http://webob.org/ Author: Pylons Project @@ -45,6 +45,18 @@ + 1.7.4 (2017-11-20) + + Feature + ~~~~~~~ + + - Add support for `wsgi.input_terminated` in the wsgi environ to allow for + Chunked Encoding to be used with WebOb: See + https://github.com/Pylons/webob/issues/278 and + https://gist.github.com/mitsuhiko/5721107 and + https://github.com/unbit/uwsgi/issues/1428 and + https://twitter.com/GrahamDumpleton/status/928712321127538688 + 1.7.3 (2017-06-30) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.7.3/setup.cfg new/WebOb-1.7.4/setup.cfg --- old/WebOb-1.7.3/setup.cfg 2017-06-30 23:16:33.000000000 +0200 +++ new/WebOb-1.7.4/setup.cfg 2017-11-20 23:17:45.000000000 +0100 @@ -15,4 +15,5 @@ [egg_info] tag_build = tag_date = 0 +tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.7.3/setup.py new/WebOb-1.7.4/setup.py --- old/WebOb-1.7.3/setup.py 2017-06-30 23:11:18.000000000 +0200 +++ new/WebOb-1.7.4/setup.py 2017-11-20 23:13:40.000000000 +0100 @@ -24,7 +24,7 @@ setup( name='WebOb', - version='1.7.3', + version='1.7.4', description="WSGI request and response object", long_description=README + '\n\n' + CHANGES, classifiers=[ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.7.3/webob/request.py new/WebOb-1.7.4/webob/request.py --- old/WebOb-1.7.3/webob/request.py 2017-06-30 23:10:59.000000000 +0200 +++ new/WebOb-1.7.4/webob/request.py 2017-11-20 23:08:16.000000000 +0100 @@ -902,14 +902,25 @@ if clen is not None and clen != 0: return True elif clen is None: - # rely on the special flag - return self.environ.get('webob.is_body_readable', False) + # Rely on the special flag that signifies that either Chunked + # Encoding is allowed (and works) or we have replaced + # self.body_file with something that is readable and EOF's + # correctly. + return self.environ.get( + 'wsgi.input_terminated', + # For backwards compatibility, we fall back to checking if + # webob.is_body_readable is set in the environ + self.environ.get( + 'webob.is_body_readable', + False + ) + ) return False @is_body_readable.setter def is_body_readable(self, flag): - self.environ['webob.is_body_readable'] = bool(flag) + self.environ['wsgi.input_terminated'] = bool(flag) def make_body_seekable(self): """
