Accepting request 877834 from devel:languages:python

- update to 0.12.1:
  * `responses.urlencoded_params_matcher` and `responses.json_params_matcher` now
    accept None to match empty requests.
  * Fixed imports to work with new `urllib3` versions.
  * `request.params` now allows parameters to have multiple values for the same key.
  * Improved ConnectionError messages.
  - Remove support for Python 3.4.
  - Added the `match` parameter to `add()`.
  - Added `responses.urlencoded_params_matcher()` and `responses.json_params_matcher()`.
  - Add a requirements pin to urllib3. This helps prevent broken install states where
    cookie usage fails.
  - Added `assert_call_count` to improve ergonomics around ensuring a mock was called.
  - Fix incorrect handling of paths with query strings.
  - Add Python 3.9 support to CI matrix.

OBS-URL: https://build.opensuse.org/request/show/877834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-responses?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2021-03-11 19:07:18 +00:00 committed by Git OBS Bridge
commit b08e107880
4 changed files with 23 additions and 5 deletions

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon Mar 8 22:40:48 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 0.12.1:
* `responses.urlencoded_params_matcher` and `responses.json_params_matcher` now
accept None to match empty requests.
* Fixed imports to work with new `urllib3` versions.
* `request.params` now allows parameters to have multiple values for the same key.
* Improved ConnectionError messages.
- Remove support for Python 3.4.
- Added the `match` parameter to `add()`.
- Added `responses.urlencoded_params_matcher()` and `responses.json_params_matcher()`.
- Add a requirements pin to urllib3. This helps prevent broken install states where
cookie usage fails.
- Added `assert_call_count` to improve ergonomics around ensuring a mock was called.
- Fix incorrect handling of paths with query strings.
- Add Python 3.9 support to CI matrix.
-------------------------------------------------------------------
Mon Jun 8 10:18:01 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-responses
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-responses
Version: 0.10.14
Version: 0.12.1
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:1a78bc010b20a5022a2c0cb76b8ee6dc1e34d887972615ebd725ab9a166a4960
size 24782

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

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