From c761488a05c780bfc2617f84fd7c869f3c5551d3d1a1e57583ff44db447d6175 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 18 May 2021 22:14:59 +0000 Subject: [PATCH] - update to 0.13.3: * Switch from Travis to GHA for deployment. * Fixed incorrect type stubs for `add_callback` * Fixed packages not containing type stubs. * `responses.upsert()` was added. This method will `add()` a response if one has not already been registered for a URL, or `replace()` an existing response. * `responses.registered()` was added. The method allows you to get a list of the currently registered responses. This formalizes the previously private `responses.mock._matches` method. * A more useful `__repr__` has been added to `Response`. * Error messages have been improved. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=31 --- python-responses.changes | 16 ++++++++++++++++ python-responses.spec | 2 +- responses-0.12.1.tar.gz | 3 --- responses-0.13.3.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 responses-0.12.1.tar.gz create mode 100644 responses-0.13.3.tar.gz diff --git a/python-responses.changes b/python-responses.changes index 29a8791..1a3bdb9 100644 --- a/python-responses.changes +++ b/python-responses.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue May 18 22:14:04 UTC 2021 - Dirk Müller + +- update to 0.13.3: + * Switch from Travis to GHA for deployment. + * Fixed incorrect type stubs for `add_callback` + * Fixed packages not containing type stubs. + * `responses.upsert()` was added. This method will `add()` a response if one + has not already been registered for a URL, or `replace()` an existing + response. + * `responses.registered()` was added. The method allows you to get a list of + the currently registered responses. This formalizes the previously private + `responses.mock._matches` method. + * A more useful `__repr__` has been added to `Response`. + * Error messages have been improved. + ------------------------------------------------------------------- Mon Mar 8 22:40:48 UTC 2021 - Dirk Müller diff --git a/python-responses.spec b/python-responses.spec index 972f3ee..da913bc 100644 --- a/python-responses.spec +++ b/python-responses.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-responses -Version: 0.12.1 +Version: 0.13.3 Release: 0 Summary: A utility library for mocking out the `requests` Python library License: Apache-2.0 diff --git a/responses-0.12.1.tar.gz b/responses-0.12.1.tar.gz deleted file mode 100644 index b0e980f..0000000 --- a/responses-0.12.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2e5764325c6b624e42b428688f2111fea166af46623cb0127c05f6afb14d3457 -size 27123 diff --git a/responses-0.13.3.tar.gz b/responses-0.13.3.tar.gz new file mode 100644 index 0000000..45cf86a --- /dev/null +++ b/responses-0.13.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18a5b88eb24143adbf2b4100f328a2f5bfa72fbdacf12d97d41f07c26c45553d +size 30327