- update to 0.17.0:
* This release is the last to support Python 2.7. * Fixed issue when `response.iter_content` when `chunk_size=None` entered infinite loop * Fixed issue when `passthru_prefixes` persisted across tests. Now `add_passthru` is valid only within a context manager or for a single function and cleared on exit * Deprecate `match_querystring` argument in `Response` and `CallbackResponse`. Use `responses.matchers.query_param_matcher` or `responses.matchers.query_string_matcher` * Added support for non-UTF-8 bytes in `responses.matchers.multipart_matcher` * Added `responses.registries`. Now user can create custom registries to manipulate the order of responses in the match algorithm `responses.activate(registry=CustomRegistry)` * Fixed issue with response match when requests were performed between adding responses with same URL. See Issue #212 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=36
This commit is contained in:
parent
eae844a863
commit
6059bc2485
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 16 23:14:16 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.17.0:
|
||||||
|
* This release is the last to support Python 2.7.
|
||||||
|
* Fixed issue when `response.iter_content` when `chunk_size=None` entered infinite loop
|
||||||
|
* Fixed issue when `passthru_prefixes` persisted across tests.
|
||||||
|
Now `add_passthru` is valid only within a context manager or for a single function and
|
||||||
|
cleared on exit
|
||||||
|
* Deprecate `match_querystring` argument in `Response` and `CallbackResponse`.
|
||||||
|
Use `responses.matchers.query_param_matcher` or `responses.matchers.query_string_matcher`
|
||||||
|
* Added support for non-UTF-8 bytes in `responses.matchers.multipart_matcher`
|
||||||
|
* Added `responses.registries`. Now user can create custom registries to
|
||||||
|
manipulate the order of responses in the match algorithm
|
||||||
|
`responses.activate(registry=CustomRegistry)`
|
||||||
|
* Fixed issue with response match when requests were performed between adding responses with
|
||||||
|
same URL. See Issue #212
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 29 11:54:48 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
Mon Nov 29 11:54:48 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-responses
|
# spec file for package python-responses
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-responses
|
Name: python-responses
|
||||||
Version: 0.16.0
|
Version: 0.17.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A utility library for mocking out the `requests` Python library
|
Summary: A utility library for mocking out the `requests` Python library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a2e3aca2a8277e61257cd3b1c154b1dd0d782b1ae3d38b7fa37cbe3feb531791
|
|
||||||
size 41943
|
|
3
responses-0.17.0.tar.gz
Normal file
3
responses-0.17.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ec675e080d06bf8d1fb5e5a68a1e5cd0df46b09c78230315f650af5e4036bec7
|
||||||
|
size 45064
|
Loading…
Reference in New Issue
Block a user