Accepting request 894169 from devel:languages:python

- 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/request/show/894169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-responses?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2021-05-20 17:23:27 +00:00 committed by Git OBS Bridge
commit c63d2cefdd
4 changed files with 20 additions and 4 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue May 18 22:14:04 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e5764325c6b624e42b428688f2111fea166af46623cb0127c05f6afb14d3457
size 27123

3
responses-0.13.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18a5b88eb24143adbf2b4100f328a2f5bfa72fbdacf12d97d41f07c26c45553d
size 30327