- 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:
parent
d836f8748c
commit
8dc1512e52
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9040d07bf59ac45d8de3db1d4468fd2d1d607975e4da4c872ecc0402cdbf7b3e
|
|
||||||
size 57026
|
|
3
pytest_httpserver-1.0.7.tar.gz
Normal file
3
pytest_httpserver-1.0.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f0317d679221fadab1faef17d71fba18f52a416e21fd68cbf60ef46b693c66f9
|
||||||
|
size 60065
|
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 22 21:17:53 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 4 22:25:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu May 4 22:25:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pytest-httpserver
|
Name: python-pytest-httpserver
|
||||||
Version: 1.0.6
|
Version: 1.0.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A HTTP server for pytest
|
Summary: A HTTP server for pytest
|
||||||
License: MIT
|
License: MIT
|
||||||
|
Loading…
Reference in New Issue
Block a user