Accepting request 990998 from home:bnavigator:branches:devel:languages:python

- Update to 0.21.0
  * Requires httpx>=0.23.*
  * Python 3.6 is no longer supported.
- Unpin httpx in python metadata

OBS-URL: https://build.opensuse.org/request/show/990998
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpx?expand=0&rev=5
This commit is contained in:
2022-07-26 07:50:24 +00:00
committed by Git OBS Bridge
parent ea108f973a
commit 655de68525
4 changed files with 20 additions and 9 deletions

View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jul 25 10:37:48 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 0.21.0
* Requires httpx>=0.23.*
* Python 3.6 is no longer supported.
- Unpin httpx in python metadata
-------------------------------------------------------------------
Thu Mar 3 00:16:34 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -16,23 +16,23 @@
#
%{?!python_module:%define python_module() python3-%{**}}
Name: python-pytest-httpx
Version: 0.20.0
Version: 0.21.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
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 setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module httpx >= 0.22.0}
BuildRequires: %{python_module httpx >= 0.23.0}
BuildRequires: %{python_module pytest >= 6.0}
BuildRequires: %{python_module pytest-asyncio >= 0.14.0}
# /SECTION
BuildRequires: fdupes
Requires: python-httpx >= 0.22.0
Requires: python-httpx >= 0.23.0
Requires: python-pytest >= 6.0
BuildArch: noarch
%python_subpackages
@@ -42,6 +42,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
%build
%python_build
@@ -54,6 +56,7 @@ Send responses to httpx.
%pytest
%files %{python_files}
%{python_sitelib}/*
%{python_sitelib}/pytest_httpx
%{python_sitelib}/pytest_httpx-%{version}*-info
%changelog

View File

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