forked from pool/python-pytest-httpx
- 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
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:570835b5540fbe1b58965e1d113ba7904fd91bccc128ce88339356f5d709bf1f
|
||||
size 23123
|
||||
3
pytest_httpx-0.21.2-gh.tar.gz
Normal file
3
pytest_httpx-0.21.2-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:226a333cd45dd00a8685194f45b76001605a7562846e3aa69ad07cbb016b6e32
|
||||
size 24311
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 16 16:21:19 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- 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 <code@bnavigator.de>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user