forked from pool/python-responses
Accepting request 786427 from home:pgajdos:python
- version update to 0.10.12 - Fixed incorrect content-type in `add_callback()` when headers are provided as a list of tuples. - Fixed invalid README formatted. - Fixed string formatting in error message. - Added Python 3.8 support - Remove Python 3.4 from test suite matrix. - The `response.request` object now has a `params` attribute that contains the query string parameters from the request that was captured. - `add_passthru` now supports `re` pattern objects to match URLs. - ConnectionErrors raised by responses now include more details on the request that was attempted and the mocks registered. - Fixed regression with `add_callback()` and content-type header. - Fixed implicit dependency on urllib3>1.23.0 - Fixed cookie parsing and enabled multiple cookies to be set by using a list of tuple values. - Added pypi badges to README. - Fixed formatting issues in README. - Quoted cookie values are returned correctly now. - Improved compatibility for pytest 5 - Module level method names are no longer generated dynamically improving IDE navigation. OBS-URL: https://build.opensuse.org/request/show/786427 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=23
This commit is contained in:
committed by
Git OBS Bridge
parent
4136f0fe01
commit
9a30a3c3f4
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-responses
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 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.6
|
||||
Version: 0.10.12
|
||||
Release: 0
|
||||
Summary: A utility library for mocking out the `requests` Python library
|
||||
License: Apache-2.0
|
||||
@@ -28,8 +28,8 @@ Source: https://files.pythonhosted.org/packages/source/r/responses/respo
|
||||
# test requirements
|
||||
BuildRequires: %{python_module cookies}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest < 5.0}
|
||||
BuildRequires: %{python_module pytest-localserver}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests >= 2.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
|
Reference in New Issue
Block a user