14
0
forked from pool/python-respx

4 Commits

Author SHA256 Message Date
c8010473ec Accepting request 1265489 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1265489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-respx?expand=0&rev=11
2025-04-11 14:44:39 +00:00
71cf1facda - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=23
2025-03-30 08:16:23 +00:00
812fd355e6 Accepting request 1230776 from devel:languages:python
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

OBS-URL: https://build.opensuse.org/request/show/1230776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-respx?expand=0&rev=10
2024-12-13 21:33:11 +00:00
8808aaeed4 Accepting request 1230633 from home:bnavigator:branches:devel:languages:python
- Add patches for httpx 0.28
  * respx-pr267-httpx0.28.patch gh#lundberg/respx#267
  * respx-pr278-httpx0.28.patch gh#lundberg/respx#278

OBS-URL: https://build.opensuse.org/request/show/1230633
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=21
2024-12-13 10:44:56 +00:00
4 changed files with 34 additions and 11 deletions

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
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>

View File

@@ -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

BIN
respx-0.21.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
respx-0.22.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.