Sync from SUSE:SLFO:Main python-responses revision a0398baf70c50191a2db7fd390b0c14a

This commit is contained in:
Adrian Schröter 2024-12-13 12:19:56 +01:00
parent 9cf2db18fb
commit 265548e1cd
4 changed files with 64 additions and 10 deletions

View File

@ -1,3 +1,57 @@
-------------------------------------------------------------------
Thu Jun 20 12:40:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.25.3:
* Fixed `recorder` not saving and loading response headers with
yaml files. See #715
-------------------------------------------------------------------
Mon Jun 10 11:11:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.25.2:
* Mulligan on 0.25.1 to run release pipeline correctly.
* Added `matchers.body_matcher` for matching string request
bodies. See #717
* Fixed tests failures during RPM package builds. See #706
* Fix mocked HEAD responses that have `Content-Length` set. See
* Fixed error messages when matches fail: inputs are not sorted
or reformatted. See #704
- drop use-asyncio-markers.patch (upstream)
-------------------------------------------------------------------
Tue May 7 07:29:01 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch use-asyncio-markers.patch:
* Use asyncio markers for pytest.
-------------------------------------------------------------------
Thu Mar 14 08:19:57 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.25.0:
* Added support for Python 3.12
* Fixed `matchers.header_matcher` not failing when a matched
header is missing from the request. See #702
-------------------------------------------------------------------
Mon Nov 27 18:39:54 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.24.1:
* Reverted overloads removal
* Added typing to `Call` attributes.
* Fix socket issues (see #693)
* Added `BaseResponse.calls` to access calls data of a separate
mocked request. See #664
* Added `real_adapter_send` parameter to `RequestsMock` that
will allow users to set through which function they would like
to send real requests
* Added support for re.Pattern based header matching.
* Added support for gzipped response bodies to
`json_params_matcher`.
* Fix `Content-Type` headers issue when the header was
duplicated. See #644
* Moved types-pyyaml dependency to `tests_requires`
* Removed Python3.7 support
-------------------------------------------------------------------
Sat Sep 30 19:38:00 UTC 2023 - Ben Greiner <code@bnavigator.de>
@ -16,7 +70,7 @@ Sat Sep 30 19:38:00 UTC 2023 - Ben Greiner <code@bnavigator.de>
Tue May 23 12:47:08 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Drop patch 636-urllib3-2-compat.patch:
* moto needs to stay with urllib3 < 2 due to boto.
* moto needs to stay with urllib3 < 2 due to boto.
-------------------------------------------------------------------
Tue May 9 22:20:25 UTC 2023 - Matej Cepl <mcepl@suse.com>
@ -143,7 +197,7 @@ Fri Apr 8 08:25:54 UTC 2022 - pgajdos@suse.com
-------------------------------------------------------------------
Tue Mar 15 09:05:31 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add skips for unsupported python versions
- add skips for unsupported python versions
-------------------------------------------------------------------
Tue Feb 22 09:13:36 UTC 2022 - Dirk Müller <dmueller@suse.com>
@ -297,7 +351,7 @@ Thu Mar 19 08:22:52 UTC 2020 - pgajdos@suse.com
-------------------------------------------------------------------
Thu Oct 17 20:08:20 UTC 2019 - Dirk Mueller <dmueller@suse.com>
- switch to pytest4 actually not pytest3
- switch to pytest4 actually not pytest3
-------------------------------------------------------------------
Thu Jul 18 09:24:05 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
@ -392,10 +446,10 @@ Fri Jan 12 00:37:13 UTC 2018 - mimi.vx@gmail.com
-------------------------------------------------------------------
Mon Apr 10 08:27:34 UTC 2017 - alarrosa@suse.com
- Update for singlespec
- Update for singlespec
-------------------------------------------------------------------
Thu Jan 19 14:30:17 UTC 2017 - alarrosa@suse.com
- Initial release
- Initial release

View File

@ -1,7 +1,7 @@
#
# spec file for package python-responses
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 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 @@
%{?sle15_python_module_pythons}
Name: python-responses
Version: 0.23.3
Version: 0.25.3
Release: 0
Summary: A utility library for mocking out the `requests` Python library
License: Apache-2.0

BIN
responses-0.23.3.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
responses-0.25.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.