- update to 0.22.0:

* Requires `httpx`==0.24.\*
  * Update version specifiers for `pytest` dependency to support
    `packaging` `23`.
  * Add explicit support for `python` `3.11`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpx?expand=0&rev=9
This commit is contained in:
2023-06-01 08:41:23 +00:00
committed by Git OBS Bridge
parent d0564e44ed
commit 6944f8431c
4 changed files with 16 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:226a333cd45dd00a8685194f45b76001605a7562846e3aa69ad07cbb016b6e32
size 24311

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a94e92c615b1803ef3cd8b027513405e6188c778112d9d28a93492160c5613f
size 24409

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu May 4 22:53:10 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.22.0:
* Requires `httpx`==0.24.\*
* Update version specifiers for `pytest` dependency to support
`packaging` `23`.
* Add explicit support for `python` `3.11`.
-------------------------------------------------------------------
Mon Jan 16 16:21:19 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -17,7 +17,7 @@
Name: python-pytest-httpx
Version: 0.21.2
Version: 0.22.0
Release: 0
Summary: Send responses to httpx
License: MIT
@@ -27,12 +27,12 @@ BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module httpx >= 0.23.0}
BuildRequires: %{python_module httpx >= 0.24.0}
BuildRequires: %{python_module pytest >= 6.0}
BuildRequires: %{python_module pytest-asyncio >= 0.20.0}
# /SECTION
BuildRequires: fdupes
Requires: python-httpx >= 0.23.0
Requires: python-httpx >= 0.24.0
Requires: python-pytest >= 6.0
BuildArch: noarch
%python_subpackages
@@ -43,8 +43,7 @@ Send responses to httpx.
%prep
%setup -q -n pytest_httpx-%{version}
# unpin exact version
sed -i '/install_requires/ s/httpx==0.23.\*/httpx/' setup.py
sed -i '/install_requires/ s/pytest>=6.*,<8.\*/pytest/' setup.py
sed -i '/install_requires/ s/httpx==0.24.\*/httpx/' setup.py
%build
%python_build