From fac8574968ae172e4d8fef18d007aeb84d284d8401fda0045fad57f115196ac4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 13 Oct 2022 07:04:32 +0000 Subject: [PATCH] Accepting request 1010287 from home:yarunachalam:branches:devel:languages:python - Update to version 0.20.0 Changed * Type Router.__getitem__ to not return optional routes, thanks @flaeppe (#216) * Change Call.response to raise instead of returning optional response (#217) * Change CallList.last to raise instead of return optional call (#217) * Type M() to not return optional pattern, by introducing a Noop pattern (#217) * Type Route.pattern to not be optional (#217) Fixed * Correct type hints for side effects (#217) Added * Runs mypy on both tests and respx (#217) * Added nox test session for python 3.11 (#217) * Added Call.has_response helper, now that .response raises (#217) OBS-URL: https://build.opensuse.org/request/show/1010287 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=7 --- python-respx.changes | 17 +++++++++++++++++ python-respx.spec | 2 +- respx-0.19.2.tar.gz | 3 --- respx-0.20.0.tar.gz | 3 +++ 4 files changed, 21 insertions(+), 4 deletions(-) delete mode 100644 respx-0.19.2.tar.gz create mode 100644 respx-0.20.0.tar.gz diff --git a/python-respx.changes b/python-respx.changes index 07d35c2..d2e6429 100644 --- a/python-respx.changes +++ b/python-respx.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Oct 12 15:57:25 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 0.20.0 + Changed + * Type Router.__getitem__ to not return optional routes, thanks @flaeppe (#216) + * Change Call.response to raise instead of returning optional response (#217) + * Change CallList.last to raise instead of return optional call (#217) + * Type M() to not return optional pattern, by introducing a Noop pattern (#217) + * Type Route.pattern to not be optional (#217) + Fixed + * Correct type hints for side effects (#217) + Added + * Runs mypy on both tests and respx (#217) + * Added nox test session for python 3.11 (#217) + * Added Call.has_response helper, now that .response raises (#217) + ------------------------------------------------------------------- Mon Aug 22 07:35:00 UTC 2022 - Steve Kowalik diff --git a/python-respx.spec b/python-respx.spec index f25f896..734245a 100644 --- a/python-respx.spec +++ b/python-respx.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python3-%{**}} Name: python-respx -Version: 0.19.2 +Version: 0.20.0 Release: 0 Summary: Mock HTTPX with request patterns and response side effects License: BSD-3-Clause diff --git a/respx-0.19.2.tar.gz b/respx-0.19.2.tar.gz deleted file mode 100644 index 82fa743..0000000 --- a/respx-0.19.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c85b30b95547246fe8a9a83a7535aa91228074b85c87b7a3cee91a9c50bd2858 -size 423112 diff --git a/respx-0.20.0.tar.gz b/respx-0.20.0.tar.gz new file mode 100644 index 0000000..254afbf --- /dev/null +++ b/respx-0.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a44410101102955258ed6edf3c8617a00b74ec2301f494de3cc9f75bea65b458 +size 424737