From 48b42eb6db4fb248d85103d280314b512d0f2551 Mon Sep 17 00:00:00 2001 From: dirkmueller <> Date: Apr 11 2025 17:00:25 +0000 Subject: Update python-respx to version 0.22.0 / rev 11 via SR 1265489 https://build.opensuse.org/request/show/1265489 by user dirkmueller + anag_factory - update to 0.22.0: * Support HTTPX 0.28.0, thanks @ndhansen * Drop support for Python 3.7, to align with HTTPX 0.25.0 * Update CI test to not fail fast and cancel workflows * Add dependabot to check GitHub actions packages * Add Python 3.13 to test suite - drop respx-pr267-httpx0.28.patch, respx-pr278-httpx0.28.patch: upstream --- diff --git a/.files b/.files index 10c74e3..6952cd7 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 0d9e128..c81d332 100644 --- a/.rev +++ b/.rev @@ -96,4 +96,31 @@ <comment></comment> <requestid>1176154</requestid> </revision> + <revision rev="10" vrev="3"> + <srcmd5>b8ca247532628db36bb380e1d023ccc5</srcmd5> + <version>0.21.1</version> + <time>1734125591</time> + <user>anag+factory</user> + <comment>Forwarded request #1230633 from bnavigator + +- Add patches for httpx 0.28 + * respx-pr267-httpx0.28.patch gh#lundberg/respx#267 + * respx-pr278-httpx0.28.patch gh#lundberg/respx#278</comment> + <requestid>1230776</requestid> + </revision> + <revision rev="11" vrev="1"> + <srcmd5>babb1dab29beeadf4cb03abae647f3e3</srcmd5> + <version>0.22.0</version> + <time>1744382679</time> + <user>anag_factory</user> + <comment>- update to 0.22.0: + * Support HTTPX 0.28.0, thanks @ndhansen + * Drop support for Python 3.7, to align with HTTPX 0.25.0 + * Update CI test to not fail fast and cancel workflows + * Add dependabot to check GitHub actions packages + * Add Python 3.13 to test suite +- drop respx-pr267-httpx0.28.patch, + respx-pr278-httpx0.28.patch: upstream</comment> + <requestid>1265489</requestid> + </revision> </revisionlist> diff --git a/python-respx.changes b/python-respx.changes index a2da722..122a1bb 100644 --- a/python-respx.changes +++ b/python-respx.changes @@ -1,4 +1,23 @@ ------------------------------------------------------------------- +Sun Mar 30 08:14:05 UTC 2025 - Dirk Müller <dmueller@suse.com> + +- update to 0.22.0: + * Support HTTPX 0.28.0, thanks @ndhansen + * Drop support for Python 3.7, to align with HTTPX 0.25.0 + * Update CI test to not fail fast and cancel workflows + * Add dependabot to check GitHub actions packages + * Add Python 3.13 to test suite +- drop respx-pr267-httpx0.28.patch, + respx-pr278-httpx0.28.patch: upstream + +------------------------------------------------------------------- +Thu Dec 12 15:14:25 UTC 2024 - Ben Greiner <code@bnavigator.de> + +- Add patches for httpx 0.28 + * respx-pr267-httpx0.28.patch gh#lundberg/respx#267 + * respx-pr278-httpx0.28.patch gh#lundberg/respx#278 + +------------------------------------------------------------------- Wed May 22 17:02:32 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de> - add sle15_python_module_pythons diff --git a/python-respx.spec b/python-respx.spec index c9596e5..e11e3ef 100644 --- a/python-respx.spec +++ b/python-respx.spec @@ -1,7 +1,7 @@ # # spec file for package python-respx # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,23 +18,26 @@ %{?sle15_python_module_pythons} Name: python-respx -Version: 0.21.1 +Version: 0.22.0 Release: 0 Summary: Mock HTTPX with request patterns and response side effects License: BSD-3-Clause URL: https://github.com/lundberg/respx Source0: https://github.com/lundberg/respx/archive/refs/tags/%{version}.tar.gz#/respx-%{version}.tar.gz BuildRequires: %{python_module Flask} -BuildRequires: %{python_module httpx} +# >= 0.28 for tests because of the Patches +BuildRequires: %{python_module httpx >= 0.28} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-asyncio} -BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module starlette} BuildRequires: %{python_module trio} BuildRequires: %{python_module typing_extensions} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-httpx >= 0.21 BuildArch: noarch %python_subpackages @@ -43,21 +46,22 @@ Python library to mock httpx with request patterns and responses %prep %autosetup -p1 -n respx-%{version} +sed -i '/--cov/d' setup.cfg %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest --asyncio-mode=auto +%pytest -rfE %files %{python_files} %license LICENSE.md %doc README.md -%{python_sitelib}/respx-%{version}-py*.egg-info +%{python_sitelib}/respx-%{version}.dist-info %{python_sitelib}/respx %changelog diff --git a/respx-0.21.1.tar.gz b/respx-0.21.1.tar.gz deleted file mode 120000 index c014da9..0000000 --- a/respx-0.21.1.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeigt3fozahl2saggxqpfztknailit36kqga5wpl2k2mz2gofcdtvwm \ No newline at end of file diff --git a/respx-0.22.0.tar.gz b/respx-0.22.0.tar.gz new file mode 120000 index 0000000..21af400 --- /dev/null +++ b/respx-0.22.0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeieswz4bciamlv5epibj32p5ipao3isocog3klb7r543y3yho7exue \ No newline at end of file