Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pytest-httpserver for openSUSE:Factory checked in at 2023-06-03 00:06:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-httpserver (Old) and /work/SRC/openSUSE:Factory/.python-pytest-httpserver.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-httpserver" Sat Jun 3 00:06:35 2023 rev:12 rq:1090084 version:1.0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-httpserver/python-pytest-httpserver.changes 2023-05-24 20:21:47.471975183 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-httpserver.new.15902/python-pytest-httpserver.changes 2023-06-03 00:06:42.461806124 +0200 @@ -1,0 +2,6 @@ +Wed May 31 19:41:54 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 1.0.8: + * Bug Fixes + +------------------------------------------------------------------- Old: ---- pytest_httpserver-1.0.7.tar.gz New: ---- pytest_httpserver-1.0.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-httpserver.spec ++++++ --- /var/tmp/diff_new_pack.I6qKsA/_old 2023-06-03 00:06:43.053809620 +0200 +++ /var/tmp/diff_new_pack.I6qKsA/_new 2023-06-03 00:06:43.057809644 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-pytest-httpserver -Version: 1.0.7 +Version: 1.0.8 Release: 0 Summary: A HTTP server for pytest License: MIT ++++++ pytest_httpserver-1.0.7.tar.gz -> pytest_httpserver-1.0.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_httpserver-1.0.7/CHANGES.rst new/pytest_httpserver-1.0.8/CHANGES.rst --- old/pytest_httpserver-1.0.7/CHANGES.rst 2023-05-16 21:40:52.284019700 +0200 +++ new/pytest_httpserver-1.0.8/CHANGES.rst 2023-05-22 20:35:22.853064500 +0200 @@ -2,6 +2,19 @@ Release Notes ============= +.. _Release Notes_1.0.8: + +1.0.8 +===== + +.. _Release Notes_1.0.8_Bug Fixes: + +Bug Fixes +--------- + +- Version 1.0.7 has been released with incorrect dependencies. This is fixed now. + + .. _Release Notes_1.0.7: 1.0.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_httpserver-1.0.7/PKG-INFO new/pytest_httpserver-1.0.8/PKG-INFO --- old/pytest_httpserver-1.0.7/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 +++ new/pytest_httpserver-1.0.8/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytest-httpserver -Version: 1.0.7 +Version: 1.0.8 Summary: pytest-httpserver is a httpserver for pytest Home-page: https://github.com/csernazs/pytest-httpserver License: MIT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_httpserver-1.0.7/doc/conf.py new/pytest_httpserver-1.0.8/doc/conf.py --- old/pytest_httpserver-1.0.7/doc/conf.py 2023-05-16 21:40:52.284019700 +0200 +++ new/pytest_httpserver-1.0.8/doc/conf.py 2023-05-22 20:35:22.853064500 +0200 @@ -66,7 +66,7 @@ # built documents. # # The short X.Y version. -version = "1.0.7" +version = "1.0.8" # The full version, including alpha/beta/rc tags. release = version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_httpserver-1.0.7/pyproject.toml new/pytest_httpserver-1.0.8/pyproject.toml --- old/pytest_httpserver-1.0.7/pyproject.toml 2023-05-16 21:40:52.284019700 +0200 +++ new/pytest_httpserver-1.0.8/pyproject.toml 2023-05-22 20:35:22.853064500 +0200 @@ -1,6 +1,6 @@ [tool.poetry] name = "pytest_httpserver" -version = "1.0.7" +version = "1.0.8" description = "pytest-httpserver is a httpserver for pytest" authors = ["Zsolt Cserna <cserna.zs...@gmail.com>"] license = "MIT" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest_httpserver-1.0.7/setup.py new/pytest_httpserver-1.0.8/setup.py --- old/pytest_httpserver-1.0.7/setup.py 1970-01-01 01:00:00.000000000 +0100 +++ new/pytest_httpserver-1.0.8/setup.py 1970-01-01 01:00:00.000000000 +0100 @@ -15,7 +15,7 @@ setup_kwargs = { 'name': 'pytest-httpserver', - 'version': '1.0.7', + 'version': '1.0.8', 'description': 'pytest-httpserver is a httpserver for pytest', 'long_description': '[](https://github.com/csernazs/pytest-httpserver/actions?query=workflow%3Abuild+branch%3Amaster)\n[](https://pytest-httpserver.readthedocs.io/en/latest/?badge=latest)\n [](https://opensource.org/licenses/MIT)\n[](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=K6PU3AGBZW4QC&item_name=pytest-httpserver¤cy_code=EUR&source=url)\n[](https://codecov.io/gh/csernazs/pytest-httpserver)\n[](https://github.com/psf/black)\n\n## pytest_httpserve r\n\nHTTP server for pytest\n\n\n### Nutshell\n\nThis library is designed to help to test http clients without contacting the real http server.\nIn other words, it is a fake http server which is accessible via localhost can be started with\nthe pre-defined expected http requests and their responses.\n\n### Example\n\n#### Handling a simple GET request\n```python\ndef test_my_client(\n httpserver,\n): # httpserver is a pytest fixture which starts the server\n # set up the server to serve /foobar with the json\n httpserver.expect_request("/foobar").respond_with_json({"foo": "bar"})\n # check that the request is served\n assert requests.get(httpserver.url_for("/foobar")).json() == {"foo": "bar"}\n```\n\n#### Handing a POST request with an expected json body\n```python\ndef test_json_request(\n httpserver,\n): # httpserver is a pytest fixture which starts the server\n # set up the server to serve /foobar with the json\n httpserver.expect_request(\n "/foo bar", method="POST", json={"id": 12, "name": "foo"}\n ).respond_with_json({"foo": "bar"})\n # check that the request is served\n assert requests.post(\n httpserver.url_for("/foobar"), json={"id": 12, "name": "foo"}\n ).json() == {"foo": "bar"}\n```\n\n\nYou can also use the library without pytest. There\'s a with statement to ensure that the server is stopped.\n\n\n```python\nwith HTTPServer() as httpserver:\n # set up the server to serve /foobar with the json\n httpserver.expect_request("/foobar").respond_with_json({"foo": "bar"})\n # check that the request is served\n print(requests.get(httpserver.url_for("/foobar")).json())\n```\n\n### Documentation\n\nPlease find the API documentation at https://pytest-httpserver.readthedocs.io/en/latest/.\n\n### Features\n\nYou can set up a dozen of expectations for the requests, and also what response should be sent by the server to the client.\n\n\n#### Requests\n\nThere are three different types:\n\n- **permane nt**: this will be always served when there\'s match for this request, you can make as many HTTP requests as you want\n- **oneshot**: this will be served only once when there\'s a match for this request, you can only make 1 HTTP request\n- **ordered**: same as oneshot but the order must be strictly matched to the order of setting up\n\nYou can also fine-tune the expected request. The following can be specified:\n\n- URI (this is a must)\n- HTTP method\n- headers\n- query string\n- data (HTTP body of the request)\n- JSON (HTTP body loaded as JSON)\n\n\n#### Responses\n\nOnce you have the expectations for the request set up, you should also define the response you want to send back.\nThe following is supported currently:\n\n- respond arbitrary data (string or bytearray)\n- respond a json (a python dict converted in-place to json)\n- respond a Response object of werkzeug\n- use your own function\n\nSimilar to requests, you can fine-tune what response you want to send:\n\n- HTTP status\ n- headers\n- data\n\n\n#### Behave support\n\nUsing the `BlockingHTTPServer` class, the assertion for a request and the\nresponse can be performed in real order. For more info, see the\n[test](tests/test_blocking_httpserver.py), the\n[howto](https://pytest-httpserver.readthedocs.io/en/latest/howto.html#running-httpserver-in-blocking-mode)\nand the [API\ndocumentation](https://pytest-httpserver.readthedocs.io/en/latest/api.html#blockinghttpserver).\n\n\n### Missing features\n* HTTP/2\n* Keepalive\n* ~~TLS~~\n\n### Donation\n\nIf you want to donate to this project, you can find the donate button at the top\nof the README.\n\nCurrently, this project is based heavily on werkzeug. Werkzeug does all the heavy lifting\nbehind the scenes, parsing HTTP request and defining Request and Response objects, which\nare currently transparent in the API.\n\nIf you wish to donate, please consider donating to them: https://palletsprojects.com/donate\n', 'author': 'Zsolt Cserna',