Path to this page:
Subject: CVS commit: pkgsrc/devel/py-test-httpserver
From: Adam Ciarcinski
Date: 2023-05-18 10:46:38
Message id: 20230518084638.1624BFA87@cvs.NetBSD.org
Log Message:
py-test-httpserver: updated to 1.0.7
1.0.7
=====
Upgrade Notes
-------------
- 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.
Deprecation Notes
-----------------
- Python versions earlier than 3.8 have been deprecated in order to support
the latest werkzeug. Users using 3.7 or earlier python may use
pytest-httpserver with earlier werkzeug versions but tests are no longer run
for these python versions.
Bug Fixes
---------
- 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.
Files: