From 655de6852586487ef4afbb3631708ac323d4aba384846024b770d86fa01d306a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 26 Jul 2022 07:50:24 +0000 Subject: [PATCH] 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 --- pytest_httpx-0.21.0-gh.tar.gz | 3 +++ python-pytest-httpx.changes | 8 ++++++++ python-pytest-httpx.spec | 15 +++++++++------ v0.20.0.tar.gz | 3 --- 4 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 pytest_httpx-0.21.0-gh.tar.gz delete mode 100644 v0.20.0.tar.gz diff --git a/pytest_httpx-0.21.0-gh.tar.gz b/pytest_httpx-0.21.0-gh.tar.gz new file mode 100644 index 0000000..f142521 --- /dev/null +++ b/pytest_httpx-0.21.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:570835b5540fbe1b58965e1d113ba7904fd91bccc128ce88339356f5d709bf1f +size 23123 diff --git a/python-pytest-httpx.changes b/python-pytest-httpx.changes index 629e551..e6d984c 100644 --- a/python-pytest-httpx.changes +++ b/python-pytest-httpx.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jul 25 10:37:48 UTC 2022 - Ben Greiner + +- 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 diff --git a/python-pytest-httpx.spec b/python-pytest-httpx.spec index c99229a..b40baba 100644 --- a/python-pytest-httpx.spec +++ b/python-pytest-httpx.spec @@ -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 diff --git a/v0.20.0.tar.gz b/v0.20.0.tar.gz deleted file mode 100644 index 33d8260..0000000 --- a/v0.20.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ce788144fd61ffc2115fb7e6b4f5ff938e8d0c1cc4262148aed16fbf087715a1 -size 23106