forked from pool/python-pytest-httpx
- 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpx?expand=0&rev=13
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0a94e92c615b1803ef3cd8b027513405e6188c778112d9d28a93492160c5613f
|
||||
size 24409
|
||||
3
pytest_httpx-0.26.0-gh.tar.gz
Normal file
3
pytest_httpx-0.26.0-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:41b2899d92d89669e744fc9f556e8a30cee83b683644087689f46fc8aaf79afa
|
||||
size 28645
|
||||
@@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 7 19:44:01 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <ecsos@opensuse.org>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user