diff --git a/python-responses.changes b/python-responses.changes index f4f2369..7c87263 100644 --- a/python-responses.changes +++ b/python-responses.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Jun 10 11:11:11 UTC 2024 - Dirk Müller + +- 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 diff --git a/python-responses.spec b/python-responses.spec index bb5aa0d..aa0f8f0 100644 --- a/python-responses.spec +++ b/python-responses.spec @@ -18,14 +18,12 @@ %{?sle15_python_module_pythons} Name: python-responses -Version: 0.25.0 +Version: 0.25.2 Release: 0 Summary: A utility library for mocking out the `requests` Python library License: Apache-2.0 URL: https://github.com/getsentry/responses Source: https://files.pythonhosted.org/packages/source/r/responses/responses-%{version}.tar.gz -# PATCH-FIX-UPSTREAM gh#getsentry/responses#707 -Patch0: use-asyncio-markers.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} diff --git a/responses-0.25.0.tar.gz b/responses-0.25.0.tar.gz deleted file mode 100644 index d35a87a..0000000 --- a/responses-0.25.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:01ae6a02b4f34e39bffceb0fc6786b67a25eae919c6368d05eabc8d9576c2a66 -size 77681 diff --git a/responses-0.25.2.tar.gz b/responses-0.25.2.tar.gz new file mode 100644 index 0000000..abdcb59 --- /dev/null +++ b/responses-0.25.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77a61ad7e6016ed2ac00739b7efa5f35c42351d5b9b5d26bb1be87f197632487 +size 77494 diff --git a/use-asyncio-markers.patch b/use-asyncio-markers.patch deleted file mode 100644 index 9806ac4..0000000 --- a/use-asyncio-markers.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 685d75afa091a5e1eaf7a2b008f6edf46a03301d Mon Sep 17 00:00:00 2001 -From: Mark Story -Date: Wed, 14 Feb 2024 15:15:05 -0500 -Subject: [PATCH 1/2] Use pytest.mark.asyncio - -This resolved async test failures locally. - -Refs #706 ---- - responses/tests/test_registries.py | 1 + - responses/tests/test_responses.py | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/responses/tests/test_registries.py b/responses/tests/test_registries.py -index 2ab035b1..97fd07fb 100644 ---- a/responses/tests/test_registries.py -+++ b/responses/tests/test_registries.py -@@ -63,6 +63,7 @@ def run_with_registry(): - assert_reset() - - -+@pytest.mark.asyncio - async def test_registry_async(): - class CustomRegistry(registries.FirstMatchRegistry): - pass -diff --git a/responses/tests/test_responses.py b/responses/tests/test_responses.py -index e074f6a9..98537fe9 100644 ---- a/responses/tests/test_responses.py -+++ b/responses/tests/test_responses.py -@@ -2263,6 +2263,7 @@ def run(): - assert_reset() - - -+@pytest.mark.asyncio - async def test_async_calls(): - @responses.activate - async def run(): - -From 790646dd1df11ff7c51655c2a6193000d888e66d Mon Sep 17 00:00:00 2001 -From: Mark Story -Date: Wed, 14 Feb 2024 16:16:00 -0500 -Subject: [PATCH 2/2] Add type ignores - ---- - responses/tests/test_registries.py | 2 +- - responses/tests/test_responses.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/responses/tests/test_registries.py b/responses/tests/test_registries.py -index 97fd07fb..c2c90d97 100644 ---- a/responses/tests/test_registries.py -+++ b/responses/tests/test_registries.py -@@ -64,7 +64,7 @@ def run_with_registry(): - - - @pytest.mark.asyncio --async def test_registry_async(): -+async def test_registry_async(): # type: ignore[misc] - class CustomRegistry(registries.FirstMatchRegistry): - pass - -diff --git a/responses/tests/test_responses.py b/responses/tests/test_responses.py -index 98537fe9..12176b92 100644 ---- a/responses/tests/test_responses.py -+++ b/responses/tests/test_responses.py -@@ -2264,7 +2264,7 @@ def run(): - - - @pytest.mark.asyncio --async def test_async_calls(): -+async def test_async_calls(): # type: ignore[misc] - @responses.activate - async def run(): - responses.add(