Commit Graph

31 Commits

Author SHA256 Message Date
Ana Guerrero
86f2ed8c39 Accepting request 1194582 from devel:languages:python:pytest
- update to 1.1.0:
  * Fixed an issue related to the leak of httpserver state
    between the tests when httpserver is destructed before the
    other fixtures. #352
  * Fix pytest-httpserver's own tests related to log querying. No
    functional changes in pytest-httpserver code itself. #345
  * New methods added to query for matching requests in the log.
  * Threading support to serve requests in parallel

    Optional[str], str], bool]`` will be accepted also.

OBS-URL: https://build.opensuse.org/request/show/1194582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=14
2024-08-20 14:12:31 +00:00
ea4888d48f - update to 1.1.0:
* Fixed an issue related to the leak of httpserver state
    between the tests when httpserver is destructed before the
    other fixtures. #352
  * Fix pytest-httpserver's own tests related to log querying. No
    functional changes in pytest-httpserver code itself. #345
  * New methods added to query for matching requests in the log.
  * Threading support to serve requests in parallel
    Optional[str], str], bool]`` will be accepted also.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=28
2024-08-18 17:18:39 +00:00
Dominique Leuenberger
e5706d39c2 Accepting request 1153853 from devel:languages:python:pytest
- 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/request/show/1153853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=13
2024-03-01 22:35:49 +00:00
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
Dominique Leuenberger
4cb33ab159 Accepting request 1090084 from devel:languages:python:pytest
- update to 1.0.8:
  * Bug Fixes

OBS-URL: https://build.opensuse.org/request/show/1090084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=12
2023-06-02 22:06:35 +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
Dominique Leuenberger
17942d403d Accepting request 1088466 from devel:languages:python:pytest
- 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/request/show/1088466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=11
2023-05-24 18:21:39 +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
Dominique Leuenberger
6b8a039fc9 Accepting request 1084893 from devel:languages:python:pytest
- 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/request/show/1084893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=10
2023-05-09 11:06:24 +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
Dominique Leuenberger
b88dc2064c Accepting request 1082435 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1082435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=9
2023-04-25 14:53:33 +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
Dominique Leuenberger
3c7f968d6f Accepting request 998104 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/998104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=8
2022-08-19 15:53:38 +00:00
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
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
Dominique Leuenberger
8032c1ca92 Accepting request 941334 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/941334
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=7
2021-12-18 19:30:15 +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
Dominique Leuenberger
aca77f74b6 Accepting request 937344 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/937344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=6
2021-12-09 18:45:37 +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
Dominique Leuenberger
d8b065e078 Accepting request 727688 from devel:languages:python:pytest
- Update to 0.3.4
  * renew certs expiring 2019-09-03

OBS-URL: https://build.opensuse.org/request/show/727688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=5
2019-09-04 07:11:02 +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
Dominique Leuenberger
15b16d66d0 Accepting request 726063 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/726063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=4
2019-08-27 08:23:48 +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
Dominique Leuenberger
589ffc4e7a Accepting request 720248 from devel:languages:python:pytest
- 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/request/show/720248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=3
2019-08-05 08:38:17 +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
Dominique Leuenberger
897b834cf9 Accepting request 718902 from devel:languages:python:pytest
- Update to 0.3.1:
  * various bugfixes
  * various documentation updates

OBS-URL: https://build.opensuse.org/request/show/718902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpserver?expand=0&rev=2
2019-07-26 15:35:15 +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