Revisions of python-WebOb

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1100879 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 36)
Forwarded request #1100758 from bmwiedemann

Drop sphinx doctrees for reproducible builds
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 902224 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 32)
- We should require python3-* packages, not python-* ones, which
  are python2.
Richard Brown's avatar Richard Brown (RBrownSUSE) accepted request 876093 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 30)
- update to 1.8.7:
  - Decoding deflate-encoded responses now supports data which is packed in
    a zlib container as it is supposed to be. The old, non-standard behaviour
    is still supported.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 783693 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 29)
- update to 1.8.6:
  - The SameSite value now includes a new option named "None", this is a new
   change that was introduced in
   https://tools.ietf.org/html/draft-west-cookie-incrementalism-00
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 663312 from Thomas Bechtold's avatar Thomas Bechtold (tbechtold) (revision 28)
update to 1.8.5:
  - Fixed one last remaining invalid escape sequence in a docstring.
  - Response.content_type now accepts unicode strings on Python 2 and encodes
    them to latin-1. See https://github.com/Pylons/webob/pull/389 and
    https://github.com/Pylons/webob/issues/388
  - Accept header classes now support a .copy() function that may be used to
    create a copy. This allows ``create_accept_header`` and other like functions
    to accept an pre-existing Accept header. See
    https://github.com/Pylons/webob/pull/386 and
    https://github.com/Pylons/webob/issues/385
  - Some backslashes introduced with the new accept handling code were causing
    DeprecationWarnings upon compiling the source to pyc files, all of the
    backslashes have been reigned in as appropriate, and users should no longer
    see DeprecationWarnings for invalid escape sequence. See
    https://github.com/Pylons/webob/issues/384
  - ``acceptparse.AcceptValidHeader``, ``acceptparse.AcceptInvalidHeader``, and
    ``acceptparse.AcceptNoHeader`` will now always ignore offers that do not
    match the required media type grammar when calling ``.acceptable_offers()``.
    Previous versions raised a ``ValueError`` for invalid offers in
    ``AcceptValidHeader`` and returned them as acceptable in the others.
    See https://github.com/Pylons/webob/pull/372
  - Add Request.remote_host, exposing REMOTE_HOST environment variable.
  - Added ``acceptparse.Accept.parse_offer`` to codify what types of offers
    are compatible with ``acceptparse.AcceptValidHeader.acceptable_offers``,
    ``acceptparse.AcceptMissingHeader.acceptable_offers``, and
    ``acceptparse.AcceptInvalidHeader.acceptable_offers``. This API also
    normalizes the offer with lowercased type/subtype and parameter names.
    See https://github.com/Pylons/webob/pull/376 and
    https://github.com/Pylons/webob/pull/379
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 630543 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 27)
- add explicit requires on python to have SSL module available
  for passing the tests
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 628339 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 26)
- Drop devel dependency
- Use %license macro
- Use proper upstream tarball
- Really execute tests

- Update to 1.8.2:
  - SameSite may now be passed as str or bytes to `Response.set_cookie` and
    `cookies.make_cookie`. This was an oversight as all other arguments would be
    correctly coerced before being serialized. See
    https://github.com/Pylons/webob/issues/361 and
    https://github.com/Pylons/webob/pull/362
  - acceptparse.MIMEAccept which is deprecated in WebOb 1.8.0 made a backwards
    incompatible change that led to it raising on an invalid Accept header. This
    behaviour has now been reversed, as well as some other fixes to allow
    MIMEAccept to behave more like the old version. See
    https://github.com/Pylons/webob/pull/356
  - ``request.POST`` now supports any requests with the appropriate
    Content-Type. Allowing any HTTP method to access form encoded content,
    including DELETE, PUT, and others. See
    https://github.com/Pylons/webob/pull/352
  - WebOb is no longer officially supported on Python 3.3 which was EOL'ed on
    2017-09-29.
  - Many changes have been made to the way WebOb does Accept handling, not just
    for the Accept header itself, but also for Accept-Charset, Accept-Encoding
    and Accept-Language. This was a `Google Summer of Code
    <https://developers.google.com/open-source/gsoc/>`_ project completed by
    Whiteroses (https://github.com/whiteroses). Many thanks to Google for running
    GSoC, the Python Software Foundation for organising and a huge thanks to Ira
    for completing the work. See https://github.com/Pylons/webob/pull/338 and
    https://github.com/Pylons/webob/pull/335. Documentation is available at
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 579633 from Thomas Bechtold's avatar Thomas Bechtold (tbechtold) (revision 25)
- Drop not needed python-pytest-cov BuildRequires

- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 435473 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 21)
- update to 1.6.2:
 * WebOb's exceptions will lazily read underlying variables when inserted into
   templates to avoid expensive computations/crashes when inserting into the
   template. This had a bad performance regression on Py27 because of the way
   the lazified class was created and returned. See
   https://github.com/Pylons/webob/pull/284
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 400278 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 20)
- fix download url

- update to 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
  - Python 3.2 is no longer supported by WebOb
  - 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
  - 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
  - exc._HTTPMove and any subclasses will now raise a ValueError if the location
Adrian Schröter's avatar Adrian Schröter (adrianSuSE) committed (revision 17)
Split 13.2 from Factory
Displaying revisions 1 - 20 of 36
openSUSE Build Service is sponsored by