Hello community, here is the log from the commit of package python3-WebOb for openSUSE:Factory checked in at 2016-07-15 12:53:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-WebOb (Old) and /work/SRC/openSUSE:Factory/.python3-WebOb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-WebOb" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-WebOb/python3-WebOb-doc.changes 2016-05-25 21:27:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-WebOb.new/python3-WebOb-doc.changes 2016-07-15 12:53:58.000000000 +0200 @@ -1,0 +2,9 @@ +Wed Jul 13 15:29:14 UTC 2016 - [email protected] + +- update to version 1.6.1: + * Response.from_file now parses the status line correctly when the + status line contains an HTTP with version, as well as a status + text that contains multiple white spaces (e.g 404 Not Found). See + https://github.com/Pylons/webob/issues/250 + +------------------------------------------------------------------- @@ -12 +20,0 @@ - python3-WebOb.changes: same change Old: ---- WebOb-1.6.0.tar.gz New: ---- WebOb-1.6.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-WebOb-doc.spec ++++++ --- /var/tmp/diff_new_pack.hAZltE/_old 2016-07-15 12:54:00.000000000 +0200 +++ /var/tmp/diff_new_pack.hAZltE/_new 2016-07-15 12:54:00.000000000 +0200 @@ -17,16 +17,16 @@ Name: python3-WebOb-doc -Version: 1.6.0 +Version: 1.6.1 Release: 0 Summary: WSGI request and response object - Documentation License: MIT Group: Documentation/HTML Url: http://webob.org/ Source: https://files.pythonhosted.org/packages/source/W/WebOb/WebOb-%{version}.tar.gz +BuildRequires: python3-Sphinx BuildRequires: python3-WebOb = %{version} BuildRequires: python3-setuptools -BuildRequires: python3-Sphinx Recommends: python3-WebOb = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch ++++++ python3-WebOb.spec ++++++ --- /var/tmp/diff_new_pack.hAZltE/_old 2016-07-15 12:54:00.000000000 +0200 +++ /var/tmp/diff_new_pack.hAZltE/_new 2016-07-15 12:54:00.000000000 +0200 @@ -17,7 +17,7 @@ Name: python3-WebOb -Version: 1.6.0 +Version: 1.6.1 Release: 0 Summary: WSGI request and response object License: MIT ++++++ WebOb-1.6.0.tar.gz -> WebOb-1.6.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.6.0/CHANGES.txt new/WebOb-1.6.1/CHANGES.txt --- old/WebOb-1.6.0/CHANGES.txt 2016-03-16 04:44:29.000000000 +0100 +++ new/WebOb-1.6.1/CHANGES.txt 2016-05-20 18:53:36.000000000 +0200 @@ -1,3 +1,15 @@ +1.6.1 (2016-05-20) +------------------ + +Bugfix +~~~~~~ + +- Response.from_file now parses the status line correctly when the status line + contains an HTTP with version, as well as a status text that contains + multiple white spaces (e.g 404 Not Found). See + https://github.com/Pylons/webob/issues/250 + + 1.6.0 (2016-03-15) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.6.0/PKG-INFO new/WebOb-1.6.1/PKG-INFO --- old/WebOb-1.6.0/PKG-INFO 2016-03-16 04:53:34.000000000 +0100 +++ new/WebOb-1.6.1/PKG-INFO 2016-05-20 18:56:31.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: WebOb -Version: 1.6.0 +Version: 1.6.1 Summary: WSGI request and response object Home-page: http://webob.org/ Author: Pylons Project @@ -45,6 +45,18 @@ + 1.6.1 (2016-05-20) + ------------------ + + Bugfix + ~~~~~~ + + - Response.from_file now parses the status line correctly when the status line + contains an HTTP with version, as well as a status text that contains + multiple white spaces (e.g 404 Not Found). See + https://github.com/Pylons/webob/issues/250 + + 1.6.0 (2016-03-15) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.6.0/WebOb.egg-info/PKG-INFO new/WebOb-1.6.1/WebOb.egg-info/PKG-INFO --- old/WebOb-1.6.0/WebOb.egg-info/PKG-INFO 2016-03-16 04:53:31.000000000 +0100 +++ new/WebOb-1.6.1/WebOb.egg-info/PKG-INFO 2016-05-20 18:56:29.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: WebOb -Version: 1.6.0 +Version: 1.6.1 Summary: WSGI request and response object Home-page: http://webob.org/ Author: Pylons Project @@ -45,6 +45,18 @@ + 1.6.1 (2016-05-20) + ------------------ + + Bugfix + ~~~~~~ + + - Response.from_file now parses the status line correctly when the status line + contains an HTTP with version, as well as a status text that contains + multiple white spaces (e.g 404 Not Found). See + https://github.com/Pylons/webob/issues/250 + + 1.6.0 (2016-03-15) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.6.0/docs/whatsnew-1.6.txt new/WebOb-1.6.1/docs/whatsnew-1.6.txt --- old/WebOb-1.6.0/docs/whatsnew-1.6.txt 2016-03-16 04:41:38.000000000 +0100 +++ new/WebOb-1.6.1/docs/whatsnew-1.6.txt 2016-05-20 18:47:07.000000000 +0200 @@ -10,7 +10,7 @@ ~~~~~~~~ - exc._HTTPMove and any subclasses will now raise a ValueError if the location - field contians a line feed or carriage return. These values may lead to + field contains a line feed or carriage return. These values may lead to possible HTTP Response Splitting. The header_getter descriptor has also been modified to no longer accept headers with a line feed or carriage return. @@ -55,6 +55,11 @@ Bugfixes ~~~~~~~~ +- Response.from_file now parses the status line correctly when the status line + contains an HTTP with version, as well as a status text that contains + multiple white spaces (e.g HTTP/1.1 404 Not Found). See + https://github.com/Pylons/webob/issues/250 + - Request.decode would attempt to read from an already consumed stream, it is now reading from the correct stream. See https://github.com/Pylons/webob/pull/183 for more information. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.6.0/setup.cfg new/WebOb-1.6.1/setup.cfg --- old/WebOb-1.6.0/setup.cfg 2016-03-16 04:53:34.000000000 +0100 +++ new/WebOb-1.6.1/setup.cfg 2016-05-20 18:56:31.000000000 +0200 @@ -14,6 +14,6 @@ [egg_info] tag_svn_revision = 0 -tag_build = tag_date = 0 +tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.6.0/setup.py new/WebOb-1.6.1/setup.py --- old/WebOb-1.6.0/setup.py 2016-03-16 04:41:58.000000000 +0100 +++ new/WebOb-1.6.1/setup.py 2016-05-20 18:54:10.000000000 +0200 @@ -23,7 +23,7 @@ setup( name='WebOb', - version='1.6.0', + version='1.6.1', 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.6.0/tests/test_response.py new/WebOb-1.6.1/tests/test_response.py --- old/WebOb-1.6.0/tests/test_response.py 2016-02-09 05:54:18.000000000 +0100 +++ new/WebOb-1.6.1/tests/test_response.py 2016-05-20 18:53:36.000000000 +0200 @@ -504,6 +504,13 @@ eq_(res.status_code, 200) eq_(res.status, '200 OK') +def test_file_with_http_version_more_status(): + inp = io.BytesIO(b'HTTP/1.1 404 Not Found\r\n\r\nSome data...') + + res = Response.from_file(inp) + assert res.status_code == 404 + assert res.status == '404 Not Found' + def test_set_status(): res = Response() res.status = "200" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WebOb-1.6.0/webob/response.py new/WebOb-1.6.1/webob/response.py --- old/WebOb-1.6.0/webob/response.py 2016-02-09 05:54:18.000000000 +0100 +++ new/WebOb-1.6.1/webob/response.py 2016-05-20 18:39:47.000000000 +0200 @@ -176,7 +176,7 @@ _http = b'HTTP/' if status.startswith(_http): - (http_ver, status_num, status_text) = status.split() + (http_ver, status_num, status_text) = status.split(None, 2) status = '%s %s' % (native_(status_num), native_(status_text)) while 1:
