- update to 1.0.7:

* With werkzeug 2.3.x the headers type has been updated to not
    allow integers as header values. This restriction followed up
    in pytest-httpserver.
  * Python versions earlier than 3.8 have been deprecated in
    order to support the latest werkzeug.
  * Type hinting for header_value_matcher has been fixed. From
    now, specifying a callable as ``Callable[[str,
    Optional[str], str], bool]`` will be accepted also. 
    Providing a ``HeaderValueMatcher`` object will be also
    accepted as before, as it provides the same callable signature
  * Fix Werkzeug deprecation warning about
    ``parse_authorization_header`` call.
  * Replace ``parse_authorization_header`` with
    ``Authorization.from_header`` as suggested. This fix should
    not introduce any functional change for the users.
  * Fix Werkzeug deprecation warning about
    ``werkzeug.urls.url_decode`` call. This call has been changed
    to ``urllib.parse.parse_qsl`` in the implementation.
    This fix should not introduce any functional change for the
    users.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=22
This commit is contained in:
2023-05-22 21:20:09 +00:00
committed by Git OBS Bridge
parent d836f8748c
commit 8dc1512e52
4 changed files with 29 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pytest-httpserver
Version: 1.0.6
Version: 1.0.7
Release: 0
Summary: A HTTP server for pytest
License: MIT