Commit Graph

17 Commits

Author SHA256 Message Date
516fbb6633 - update to 1.0.10:
* When there's no handler for the request, add more details to
    the response sent by the server about the request to help
    debugging.
  * Use ruff for linting. It includes some source code changes
    which should not introduce functional changes, or API
    changes.
  * Add __repr__ to RequestHandler object so when it is compared
    (eg. with the log attribute of the server) it will show the
    matcher parameters.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=26
2024-03-01 10:19:42 +00:00
18a1f31e48 - update to 1.0.8:
* Bug Fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=24
2023-05-31 19:43:41 +00:00
8dc1512e52 - 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
2023-05-22 21:20:09 +00:00
d836f8748c - update to 1.0.6:
* 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.
  * Python version classifier updated in pyproject.toml (which
    updates pypi also)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=20
2023-05-04 22:28:27 +00:00
5549679fa4 Accepting request 1082412 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1082412
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=18
2023-04-24 09:15:56 +00:00
Markéta Machová
28eea89987 Accepting request 998033 from home:bnavigator:branches:devel:languages:python
- Clean specfile: remove code coverage checker

OBS-URL: https://build.opensuse.org/request/show/998033
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=16
2022-08-19 06:58:04 +00:00
Markéta Machová
011dc3c010 Accepting request 995191 from home:bnavigator:branches:devel:languages:python
- Update to 1.0.5
  * Packaging of sdist and the wheel fixed by adding the extra
    files only to the sdist and not to the wheel.
- Release 1.0.4
  * Fixed type hinting of HeaderValueMatcher.DEFAULT_MATCHERS,
    which did not allow modifications, however it is explicitly
    allowed in the documentation.
  * Version of flake8 library updated to require 4.0.0+ at minimum.
    This is required to make flake8 working on recent python
    versions.
- Release 1.0.3
  * 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.
  * 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.

OBS-URL: https://build.opensuse.org/request/show/995191
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=15
2022-08-18 14:43:34 +00:00
3ac196c667 Accepting request 941226 from home:pgajdos:python
- pytest-runner is not required for build

OBS-URL: https://build.opensuse.org/request/show/941226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=14
2021-12-17 22:14:45 +00:00
6e34b50b42 Accepting request 936451 from home:pgajdos:python
- version update to 1.0.2
  **Breaking change**: The scope of ``httpserver_listen_address`` fixture changed from **function**
  to **session**. This is a requirement to implement the other features listed
  in this release. See the `upgrade guide
  <https://pytest-httpserver.readthedocs.io/en/latest/upgrade.html>`_ for the
  details.
  * many other changes, see CHANGES.rst

OBS-URL: https://build.opensuse.org/request/show/936451
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=13
2021-12-09 00:19:54 +00:00
Tomáš Chvátal
b3951fbad2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=11 2019-09-02 07:30:42 +00:00
Tomáš Chvátal
9c40fe529e Accepting request 726886 from home:bmwiedemann:branches:devel:languages:python:pytest
Update to 0.3.4
  * renew test certs expiring 2019-09-03

OBS-URL: https://build.opensuse.org/request/show/726886
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=10
2019-08-29 10:40:34 +00:00
Tomáš Chvátal
8c1a3bad50 Accepting request 725997 from home:jengelh:branches:devel:languages:python:pytest
- Use slightly more detailed description.

OBS-URL: https://build.opensuse.org/request/show/725997
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=8
2019-08-26 06:59:56 +00:00
Tomáš Chvátal
a48cb77794 - Update to 0.3.3:
* Besides bytes and string, dict and MultiDict objects can be specified as query_string
  * Add more files to source distribution (sdist). It now contains tests, assets, examples and other files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=6
2019-08-01 15:06:51 +00:00
Tomáš Chvátal
aa88f84bdf - Update to 0.3.1:
* various bugfixes
  * various documentation updates

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=4
2019-07-26 13:54:37 +00:00
Dominique Leuenberger
77d3a6c5ba Accepting request 718611 from devel:languages:python:pytest
httpserver for pytest

Required by python-scikit-image

OBS-URL: https://build.opensuse.org/request/show/718611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=1
2019-07-26 10:42:40 +00:00
Todd R
8dfe613b0f Accepting request 718609 from home:TheBlackCat:branches:devel:languages:python:numeric
Requires Werkzeug

OBS-URL: https://build.opensuse.org/request/show/718609
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=2
2019-07-25 17:43:36 +00:00
Todd R
3c80c06249 Accepting request 718603 from home:TheBlackCat:branches:devel:languages:python:pytest
mock httpserver for pytest

OBS-URL: https://build.opensuse.org/request/show/718603
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=1
2019-07-25 17:23:45 +00:00