From d0564e44eda68bbfe6aadb46fde1643013699592c1044e73c40db9dada353a1d Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 16 Jan 2023 16:40:54 +0000 Subject: [PATCH] - Update to 0.21.2 * URL containing non ASCII characters in query can now be matched. * Requests are now cleared when calling httpx_mock.reset. - 0.21.1 * httpx_mock.add_callback now handles async callbacks. - Unpin httpx and pytest in python metadata OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpx?expand=0&rev=7 --- pytest_httpx-0.21.0-gh.tar.gz | 3 --- pytest_httpx-0.21.2-gh.tar.gz | 3 +++ python-pytest-httpx.changes | 10 ++++++++++ python-pytest-httpx.spec | 9 +++++---- 4 files changed, 18 insertions(+), 7 deletions(-) delete mode 100644 pytest_httpx-0.21.0-gh.tar.gz create mode 100644 pytest_httpx-0.21.2-gh.tar.gz diff --git a/pytest_httpx-0.21.0-gh.tar.gz b/pytest_httpx-0.21.0-gh.tar.gz deleted file mode 100644 index f142521..0000000 --- a/pytest_httpx-0.21.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:570835b5540fbe1b58965e1d113ba7904fd91bccc128ce88339356f5d709bf1f -size 23123 diff --git a/pytest_httpx-0.21.2-gh.tar.gz b/pytest_httpx-0.21.2-gh.tar.gz new file mode 100644 index 0000000..b19d11b --- /dev/null +++ b/pytest_httpx-0.21.2-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:226a333cd45dd00a8685194f45b76001605a7562846e3aa69ad07cbb016b6e32 +size 24311 diff --git a/python-pytest-httpx.changes b/python-pytest-httpx.changes index e6d984c..7f1b609 100644 --- a/python-pytest-httpx.changes +++ b/python-pytest-httpx.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Jan 16 16:21:19 UTC 2023 - Daniel Garcia + +- Update to 0.21.2 + * URL containing non ASCII characters in query can now be matched. + * Requests are now cleared when calling httpx_mock.reset. +- 0.21.1 + * httpx_mock.add_callback now handles async callbacks. +- Unpin httpx and pytest in python metadata + ------------------------------------------------------------------- Mon Jul 25 10:37:48 UTC 2022 - Ben Greiner diff --git a/python-pytest-httpx.spec b/python-pytest-httpx.spec index b40baba..153282d 100644 --- a/python-pytest-httpx.spec +++ b/python-pytest-httpx.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-httpx # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-pytest-httpx -Version: 0.21.0 +Version: 0.21.2 Release: 0 Summary: Send responses to httpx License: MIT @@ -29,7 +29,7 @@ BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module httpx >= 0.23.0} BuildRequires: %{python_module pytest >= 6.0} -BuildRequires: %{python_module pytest-asyncio >= 0.14.0} +BuildRequires: %{python_module pytest-asyncio >= 0.20.0} # /SECTION BuildRequires: fdupes Requires: python-httpx >= 0.23.0 @@ -43,7 +43,8 @@ Send responses to httpx. %prep %setup -q -n pytest_httpx-%{version} # unpin exact version -sed -i '/install_requires/ s/httpx==0./httpx>=0./' setup.py +sed -i '/install_requires/ s/httpx==0.23.\*/httpx/' setup.py +sed -i '/install_requires/ s/pytest>=6.*,<8.\*/pytest/' setup.py %build %python_build