From 9a30a3c3f4a6aa3b91b1b74d1ec1cb6971d36c8202fc3c20d237c65d425f8759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 19 Mar 2020 11:22:15 +0000 Subject: [PATCH] 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 --- python-responses.changes | 22 ++++++++++++++++++++++ python-responses.spec | 6 +++--- responses-0.10.12.tar.gz | 3 +++ responses-0.10.6.tar.gz | 3 --- 4 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 responses-0.10.12.tar.gz delete mode 100644 responses-0.10.6.tar.gz diff --git a/python-responses.changes b/python-responses.changes index 3705c2f..c7edebb 100644 --- a/python-responses.changes +++ b/python-responses.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Thu Mar 19 08:22:52 UTC 2020 - pgajdos@suse.com + +- 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. + ------------------------------------------------------------------- Thu Oct 17 20:08:20 UTC 2019 - Dirk Mueller diff --git a/python-responses.spec b/python-responses.spec index 5b3dcba..9dcd2dc 100644 --- a/python-responses.spec +++ b/python-responses.spec @@ -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} diff --git a/responses-0.10.12.tar.gz b/responses-0.10.12.tar.gz new file mode 100644 index 0000000..7f52921 --- /dev/null +++ b/responses-0.10.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f83613479a021e233e82d52ffb3e2e0e2836d24b0cc88a0fa31978789f78d0e5 +size 24640 diff --git a/responses-0.10.6.tar.gz b/responses-0.10.6.tar.gz deleted file mode 100644 index 559fc65..0000000 --- a/responses-0.10.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:502d9c0c8008439cfcdef7e251f507fcfdd503b56e8c0c87c3c3e3393953f790 -size 22102