Pytest-httpserver

Latest version: v1.1.0

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.0.7

=====

.. _Release Notes_1.0.7_Upgrade Notes:

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.


.. _Release Notes_1.0.7_Deprecation Notes:

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.


.. _Release Notes_1.0.7_Bug Fixes:

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.


.. _Release Notes_1.0.6:

1.0.6

=====

.. _Release Notes_1.0.6_New Features:

New Features
------------

- Add a new way of running tests with the blocking mode. In this mode, the
http server is synchronized to the main thread and the client code is run in
a separate thread.


.. _Release Notes_1.0.6_Bug Fixes:

Bug Fixes
---------

- Python version classifier updated in pyproject.toml (which updates pypi also)


.. _Release Notes_1.0.5:

1.0.5

=====

.. _Release Notes_1.0.5_Bug Fixes:

Bug Fixes
---------

- Packaging of sdist and the wheel fixed by adding the extra files only to the sdist and not to the wheel.


.. _Release Notes_1.0.4:

1.0.4

=====

.. _Release Notes_1.0.4_Bug Fixes:

Bug Fixes
---------

- Fixed type hinting of ``HeaderValueMatcher.DEFAULT_MATCHERS``, which did
not allow modifications, however it is explicitly allowed in the documentation.


.. _Release Notes_1.0.4_Other Notes:

Other Notes
-----------

- Version of flake8 library updated to require 4.0.0+ at minimum. This is
required to make flake8 working on recent python versions.


.. _Release Notes_1.0.3:

1.0.3

=====

.. _Release Notes_1.0.3_New Features:

New Features
------------

- Additional type hints improvements to make the library more mypy compliant.
Imports in `__init__.py` have been updated to indicate that this is a
namespace package.


.. _Release Notes_1.0.3_Other Notes:

Other Notes
-----------

- Package deployment and CI has been migrated to poetry. poetry.lock will be kept
up to date. Make target "quick-test" renamed to "test". Also, minor adjustments
were made regarding documentation generation. Make targets should be identical.
Build results like sdist, and wheel are almost identical to the one which was
made by setuptools.


.. _Release Notes_1.0.2:

1.0.2

=====

.. _Release Notes_1.0.2_New Features:

New Features
------------

- Type hints updated to conform to 'mypy' type checking tool.
Also, py.typed file is added as package data according to PEP 561.


.. _Release Notes_1.0.2_Deprecation Notes:

Deprecation Notes
-----------------

- Python 3.4 and 3.5 versions have been deprecated in order to support type
hints in the source code. Users using 3.5 and earlier releases encouraged
to upgrade to later versions. Please node that 3.5 reached EOL in September
of 2020 and no longer receives security fixes.


.. _Release Notes_1.0.1:

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.