Revisions of python-mohawk

Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 992127 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 8)
- Remove unneeded BuildRequires on mock.
- Remove bcond for running tests.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 964932 from Antoine Belvire's avatar Antoine Belvire (1Antoine1) (revision 7)
- Extend remove-nose.patch: Use unittest.mock instead of
  python-mock (https://trello.com/c/S6eADbii/64-remove-python-mock)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 921090 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 6)
- Add patch remove-nose.patch:
  * Use unittest assert methods rather than requiring nose.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 873931 from Antoine Belvire's avatar Antoine Belvire (1Antoine1) (revision 5)
- Replace call to 'python setup.py test' by pyunittest macro: This
  prevents a DeprecationWarning turned into an error from failing
  the build.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 743605 from Antoine Belvire's avatar Antoine Belvire (1Antoine1) (revision 4)
- Update to version 1.1.0:
  * Support passing file-like objects (those implementing .read(n))
    as the content parameter for Resources. See mohawk.Sender for
    details.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 664544 from Antoine Belvire's avatar Antoine Belvire (1Antoine1) (revision 3)
- Update to version 1.0.0:
  * Security related: Bewit MACs were not compared in constant time
    and were thus possibly circumventable by an attacker.
  * Breaking change: Escape characters in header values (such as a
    back slash) are no longer allowed, potentially breaking clients
    that depended on this behavior.
  * A sender is allowed to omit the content hash as long as their
    request has no content. The `mohawk.Receiver` will skip the
    content hash check in this situation, regardless of the value
    of accept_untrusted_content.
  * Introduced max limit of 4096 characters in the Authorization
    header.
  * Changed default values of content and content_type arguments to
    `mohawk.base.EmptyValue` in order to differentiate between
    misconfiguration and cases where these arguments are explicitly
    given as None (as with some web frameworks).
  * Failing to pass content and content_type arguments to
    `mohawk.Receiver` or `mohawk.Sender.accept_response` without
    specifying accept_untrusted_content=True will now raise
    `mohawk.exc.MissingContent` instead of `ValueError`.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 659497 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 2)
Remove superfluous devel dependency for noarch package
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 602560 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 1)
misc accidental remove
Displaying all 8 revisions
openSUSE Build Service is sponsored by