Hello community, here is the log from the commit of package python3-WebOb for openSUSE:Factory checked in at 2016-05-25 21:27:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-WebOb (Old) and /work/SRC/openSUSE:Factory/.python3-WebOb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-WebOb" Changes: -------- New Changes file: --- /dev/null 2016-04-07 01:36:33.300037506 +0200 +++ /work/SRC/openSUSE:Factory/.python3-WebOb.new/python3-WebOb-doc.changes 2016-05-25 21:27:11.000000000 +0200 @@ -0,0 +1,248 @@ +------------------------------------------------------------------- +Thu May 19 18:37:25 UTC 2016 - [email protected] + +- Split documentation into own subpackage to speed up build. + +------------------------------------------------------------------- +Sun May 8 06:58:03 UTC 2016 - [email protected] + +- specfile: + * changed to https for source url + * updated source url to files.pythonhosted.org + + +------------------------------------------------------------------- +Sat Mar 26 03:59:28 UTC 2016 - [email protected] + +- specfile: + * update copyright year + +- update to version 1.6.0: + * Compatibility + + Python 3.2 is no longer supported by WebOb + * Bugfix + + Request.decode attempted to read from the an already consumed + stream, it has now been redirected to another stream to read + from. See https://github.com/Pylons/webob/pull/183 + + The application/json media type does not allow for a charset as + discovery of the encoding is done at the JSON layer. Upon + initialization of a Response WebOb will no longer add a charset + if the content-type is set to JSON. See + https://github.com/Pylons/webob/pull/197 and + https://github.com/Pylons/pyramid/issues/1611 + * Features + + Lazily HTML escapes environment keys in HTTP Exceptions so that + those keys in the environ that are not used in the output of the + page don’t raise an exception due to inability to be properly + escaped. See https://github.com/Pylons/webob/pull/139 + + MIMEAccept now accepts comparisons against wildcards, this + allows one to match on just the media type or sub-type, without + having to explicitly match on both the media type and sub-type + at the same time. See https://github.com/Pylons/webob/pull/185 + + Add the ability to return a JSON body from an exception. Using + the Accept information in the request, the exceptions will now + automatically return a JSON version of the exception instead of + just HTML or text. See https://github.com/Pylons/webob/pull/230 + and https://github.com/Pylons/webob/issues/209 + * Security + + exc._HTTPMove and any subclasses will now raise a ValueError if + the location 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. See: https://github.com/Pylons/webob/pull/229 and + https://github.com/Pylons/webob/issues/217 + +------------------------------------------------------------------- +Sun Nov 1 19:54:14 UTC 2015 - [email protected] + +- specfile: + * doc/news.txt -> doc/changes.txt + +- update to version 1.5.1: + * The exceptions HTTPNotAcceptable, HTTPUnsupportedMediaType and + HTTPNotImplemented will now correctly use the sub-classed template + rather than the default error template. See + https://github.com/Pylons/webob/issues/221 + * Response’s from_file now correctly deals with a status line that + contains an HTTP version identifier. HTTP/1.1 200 OK is now + correctly parsed, whereas before this would raise an error upon + setting the Response.status in from_file. See + https://github.com/Pylons/webob/issues/121 + +- changes from version 1.5.0: + * The cookie API functions will now make sure that max_age is an + integer or an string that can convert to an integer. Previously + passing in max_age=’test’ would have silently done the wrong + thing. + * Unbreak req.POST when the request method is PATCH. Instead of + returning something cmpletely unrelated we return NoVar. See: + https://github.com/Pylons/webob/pull/215 + * HTTP Status Code 308 is now supported as a Permanent Redirect. See + https://github.com/Pylons/webob/pull/207 + * Response.set_cookie renamed the only required parameter from "key" + to "name". The code will now still accept “key” as a keyword + argument, and will issue a DeprecationWarning until WebOb 1.7. + * The status attribute of a Response object no longer takes a string + like None None and allows that to be set as the status. It now has + to at least match the pattern of <integer status code> + <explenation of status code>. Invalid status strings will now + raise a ValueError. + +------------------------------------------------------------------- +Wed Apr 15 15:33:02 UTC 2015 - [email protected] + +- update to version 1.4.1: + * Backwards Incompatibilities + + Morsel will no longer accept a cookie value that does not meet + RFC6265’s cookie-octet specification. Upon calling + Morsel.serialize a warning will be issued, in the future this + will raise a ValueError, please update your cookie handling + code. See https://github.com/Pylons/webob/pull/172 + + The cookie-octet specification in RFC6265 states the following + characters are valid in a cookie value: + + Hex Range Actual Characters ——— —————– [0x21 ] ! [0x25-0x2B] + #$%&’()*+ [0x2D-0x3A] -./0123456789: [0x3C-0x5B] + <=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[ [0x5D-0x7E] + ]^_`abcdefghijklmnopqrstuvwxyz{|}~ + + RFC6265 suggests using base 64 to serialize data before storing + data in a cookie. + + response.set_cookie now uses the internal make_cookie API, which + will issue warnings if cookies are set with invalid bytes. See + https://github.com/Pylons/webob/pull/172 + * Features + + Add support for some new caching headers, stale-while-revalidate + and stale-if-error that can be used by reverse proxies to cache + stale responses temporarily if the backend disappears. From + RFC5861. See https://github.com/Pylons/webob/pull/189 + * Bug Fixes + + Response.status now uses duck-typing for integers, and has also + learned to raise a ValueError if the status isn’t an integer + followed by a space, and then the reason. See + https://github.com/Pylons/webob/pull/191 + + Fixed a bug in webob.multidict.GetDict which resulted in the + QUERY_STRING not being updated when changes were made to query + params using Request.GET.extend(). + + Read the body of a request if we think it might have a + body. This fixes PATCH to support bodies. See + https://github.com/Pylons/webob/pull/184 + + Response.from_file returns HTTP headers as latin1 rather than + UTF-8, this fixes the usage on Google AppEngine. See + https://github.com/Pylons/webob/issues/99 and + https://github.com/Pylons/webob/pull/150 + + Fix a bug in parsing the auth parameters that contained bad + white space. This makes the parsing fall in line with what’s + required in RFC7235. See + https://github.com/Pylons/webob/issues/158 + + Use ‘rn’ line endings in Response.__str__. See: + https://github.com/Pylons/webob/pull/146 + * Documentation Changes + + response.set_cookie now has proper documentation for max_age and + expires. The code has also been refactored to use + cookies.make_cookie instead of duplicating the code. This fixes + https://github.com/Pylons/webob/issues/166 and + https://github.com/Pylons/webob/issues/171 + + Documentation didn’t match the actual code for the wsgify + function signature. See https://github.com/Pylons/webob/pull/167 + + Remove the WebDAV only from certain HTTP Exceptions, these + exceptions may also be used by REST services for example. + +------------------------------------------------------------------- +Sun Jan 25 02:23:53 UTC 2015 - [email protected] + +- specfile: + * update copyright year + * updated location of news files (news->docs/news.txt) + +- dropped webob-test-headers2-sorted.patch: (fixed upstream) + +- update to version 1.4 + * Remove webob.__version__, the version number had not been kept in + sync with the official pkg version. To obtain the WebOb version + number, use pkg_resources.get_distribution('webob').version + instead. + * Fix a bug in EmptyResponse that prevents it from setting + self.close as appropriate due to testing truthiness of object + rather than if it is something other than None. + * Fix a bug in SignedSerializer preventing secrets from containing + higher-order characters. See + https://github.com/Pylons/webob/issues/136 + * Use the hmac.compare_digest method when available for + constant-time comparisons. + +- changes from version 1.3.1: + * Fix a bug in SignedCookieProfile whereby we didn’t keep the + original serializer around, this would cause us to have + SignedSerializer be added on top of a SignedSerializer which would + cause it to be run twice when attempting to verify a cookie. See + https://github.com/Pylons/webob/pull/127 + * When CookieProfile.get_value and SignedCookieProfile.get_value + fails to deserialize a badly encoded value, we now return None as + if the cookie was never set in the first place instead of allowing + a ValueError to be raised to the calling code. See + https://github.com/Pylons/webob/pull/126 + +- changes from verson 1.3: + * Added a read-only domain property to BaseRequest. This property + returns the domain portion of the host value. For example, if the + environment contains an HTTP_HOST value of foo.example.com:8000, + request.domain will return foo.example.com. + * Added five new APIs: webob.cookies.CookieProfile, + webob.cookies.SignedCookieProfile, webob.cookies.JSONSerializer and + webob.cookies.SignedSerializer, and + webob.cookies.make_cookie. These APIs are convenience APIs for + generating and parsing cookie headers as well as dealing with + signing cookies. + * Cookies generated via webob.cookies quoted characters in cookie + values that did not need to be quoted per RFC 6265. The following ++++ 51 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Factory/.python3-WebOb.new/python3-WebOb-doc.changes --- /work/SRC/openSUSE:Factory/python3-WebOb/python3-WebOb.changes 2016-04-22 16:23:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-WebOb.new/python3-WebOb.changes 2016-05-25 21:27:12.000000000 +0200 @@ -1,0 +2,13 @@ +Thu May 19 18:37:25 UTC 2016 - [email protected] + +- Split documentation into own subpackage to speed up build. + +------------------------------------------------------------------- +Sun May 8 06:58:03 UTC 2016 - [email protected] + +- specfile: + * changed to https for source url + * updated source url to files.pythonhosted.org + + +------------------------------------------------------------------- New: ---- python3-WebOb-doc.changes python3-WebOb-doc.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-WebOb-doc.spec ++++++ # # spec file for package python3-WebOb-doc # # Copyright (c) 2016 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python3-WebOb-doc Version: 1.6.0 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-WebOb = %{version} BuildRequires: python3-setuptools BuildRequires: python3-Sphinx Recommends: python3-WebOb = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description This package contains documentation files for python3-WebOb. %prep %setup -q -n WebOb-%{version} %build # Not needed %install python3 setup.py build_sphinx rm build/sphinx/html/.buildinfo %files %defattr(-,root,root,-) %doc docs/changes.txt build/sphinx/html %changelog ++++++ python3-WebOb.spec ++++++ --- /var/tmp/diff_new_pack.vUGAcN/_old 2016-05-25 21:27:13.000000000 +0200 +++ /var/tmp/diff_new_pack.vUGAcN/_new 2016-05-25 21:27:13.000000000 +0200 @@ -23,15 +23,13 @@ License: MIT Group: Development/Languages/Python Url: http://webob.org/ -Source: http://pypi.python.org/packages/source/W/WebOb/WebOb-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/W/WebOb/WebOb-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools # Test requirements: # for ssl module: BuildRequires: python3 BuildRequires: python3-nose -# Documentation requirements: -BuildRequires: python3-Sphinx BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -43,20 +41,11 @@ header parsing and accessors for other standard parts of the environment. -%package doc -Summary: WSGI request and response object - Documentation -Group: Documentation/HTML -Requires: %{name} = %{version} - -%description doc -This package contains documentation files for %{name}. - %prep %setup -q -n WebOb-%{version} %build python3 setup.py build -python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -69,8 +58,4 @@ %doc docs/license.txt %{python3_sitelib}/* -%files doc -%defattr(-,root,root,-) -%doc docs/changes.txt build/sphinx/html - %changelog
