diff --git a/pytest_httpx-0.22.0-gh.tar.gz b/pytest_httpx-0.22.0-gh.tar.gz deleted file mode 100644 index a205523..0000000 --- a/pytest_httpx-0.22.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a94e92c615b1803ef3cd8b027513405e6188c778112d9d28a93492160c5613f -size 24409 diff --git a/pytest_httpx-0.26.0-gh.tar.gz b/pytest_httpx-0.26.0-gh.tar.gz new file mode 100644 index 0000000..49fd8f0 --- /dev/null +++ b/pytest_httpx-0.26.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41b2899d92d89669e744fc9f556e8a30cee83b683644087689f46fc8aaf79afa +size 28645 diff --git a/python-pytest-httpx.changes b/python-pytest-httpx.changes index 050ea7e..f1f9b97 100644 --- a/python-pytest-httpx.changes +++ b/python-pytest-httpx.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Tue Nov 7 19:44:01 UTC 2023 - Dirk Müller + +- update to 0.26.0: + * Added `proxy_url` parameter which allows matching on proxy + URL. + * Requires `httpx`==0.25.\* + * Added `match_json` parameter which allows matching on JSON + decoded body (matching against python representation instead + of bytes). + * Even if it was never documented as a feature, the + `match_headers` parameter was not considering header names + case when matching. + * Matching on headers does not ignore name case anymore, the + name must now be cased as sent (as some servers might expect + a specific case). + * Add `:Any` type hint to `**matchers` function arguments to + satisfy strict type checking mode in `pyright`. + * Python `3.7` and `3.8` are no longer supported. + * `httpx_mock.add_response` is now returning a new + `httpx.Response` instance upon each matching request. + Preventing unnecessary recursion in streams. + ------------------------------------------------------------------- Sat Jul 1 09:13:35 UTC 2023 - ecsos diff --git a/python-pytest-httpx.spec b/python-pytest-httpx.spec index 425c88b..6c7492d 100644 --- a/python-pytest-httpx.spec +++ b/python-pytest-httpx.spec @@ -18,23 +18,23 @@ %{?sle15_python_module_pythons} Name: python-pytest-httpx -Version: 0.22.0 +Version: 0.26.0 Release: 0 Summary: Send responses to httpx License: MIT URL: https://colin-b.github.io/pytest_httpx/ Source: https://github.com/Colin-b/pytest_httpx/archive/refs/tags/v%{version}.tar.gz#/pytest_httpx-%{version}-gh.tar.gz -BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module httpx >= 0.24.0} -BuildRequires: %{python_module pytest >= 6.0} +BuildRequires: %{python_module httpx >= 0.25.0} +BuildRequires: %{python_module pytest >= 7.0} BuildRequires: %{python_module pytest-asyncio >= 0.20.0} # /SECTION BuildRequires: fdupes -Requires: python-httpx >= 0.24.0 -Requires: python-pytest >= 6.0 +Requires: python-httpx >= 0.25.0 +Requires: python-pytest >= 7.0 BuildArch: noarch %python_subpackages