Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cloudflare for 
openSUSE:Factory checked in at 2026-03-06 18:21:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cloudflare (Old)
 and      /work/SRC/openSUSE:Factory/.python-cloudflare.new.561 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cloudflare"

Fri Mar  6 18:21:32 2026 rev:22 rq:1337309 version:4.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cloudflare/python-cloudflare.changes      
2026-02-26 19:02:21.363828470 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cloudflare.new.561/python-cloudflare.changes 
    2026-03-06 18:22:23.521624087 +0100
@@ -1,0 +2,9 @@
+Fri Mar  6 09:21:36 UTC 2026 - Markéta Machová <[email protected]>
+
+- Refresh runtime dependencies
+- Verify tests still cannot be run in OBS
+- Add pydantic3.patch to (hopefully) support python314
+  * pydantic.v1 is incompatible with python314 and this patch stops
+    using this submodule
+
+-------------------------------------------------------------------

New:
----
  pydantic3.patch

----------(New B)----------
  New:- Verify tests still cannot be run in OBS
- Add pydantic3.patch to (hopefully) support python314
  * pydantic.v1 is incompatible with python314 and this patch stops
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cloudflare.spec ++++++
--- /var/tmp/diff_new_pack.8xRGTG/_old  2026-03-06 18:22:24.185651718 +0100
+++ /var/tmp/diff_new_pack.8xRGTG/_new  2026-03-06 18:22:24.185651718 +0100
@@ -16,6 +16,8 @@
 #
 
 
+# tests take forever and most of them (apparently) need internet access
+%bcond_with test
 %define  repo  cloudflare-python
 %{?sle15_python_module_pythons}
 Name:           python-cloudflare
@@ -25,19 +27,32 @@
 License:        MIT
 URL:            https://github.com/cloudflare/cloudflare-python
 Source:         
https://github.com/cloudflare/cloudflare-python/archive/v%{version}/%{repo}-%{version}.tar.gz
-BuildRequires:  %{python_module PyYAML}
-BuildRequires:  %{python_module beautifulsoup4}
+# PATCH-FIX-UPSTREAM 
https://github.com/cloudflare/cloudflare-python/commit/813dd685ebe2158929bd275c58ad2979ef89b879
 feat: improve future compat with pydantic v3
+Patch0:         pydantic3.patch
 BuildRequires:  %{python_module hatch-fancy-pypi-readme}
 BuildRequires:  %{python_module hatchling}
-BuildRequires:  %{python_module jsonlines}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module requests >= 2.4.2}
+%if %{with test}
+BuildRequires:  %{python_module anyio >= 3.5.0}
+BuildRequires:  %{python_module dirty-equals}
+BuildRequires:  %{python_module distro >= 1.7.0}
+BuildRequires:  %{python_module httpx >= 0.23}
+BuildRequires:  %{python_module pydantic >= 1.0.0}
+BuildRequires:  %{python_module pytest-asyncio}
+BuildRequires:  %{python_module pytest-xdist}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module respx}
+BuildRequires:  %{python_module sniffio}
+BuildRequires:  %{python_module typing-extensions >= 4.10}
+%endif
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-PyYAML
-Requires:       python-beautifulsoup4
-Requires:       python-jsonlines
-Requires:       python-requests >= 2.4.2
+Requires:       python-anyio >= 3.5.0
+Requires:       python-distro >= 1.7.0
+Requires:       python-httpx >= 0.23
+Requires:       python-pydantic >= 1.0.0
+Requires:       python-sniffio
+Requires:       python-typing-extensions >= 4.10
 BuildArch:      noarch
 %python_subpackages
 
@@ -50,7 +65,7 @@
 asynchronous clients powered by httpx.
 
 %prep
-%setup -q -n %{repo}-%{version}
+%autosetup -p1 -n %{repo}-%{version}
 
 %build
 %pyproject_wheel
@@ -64,8 +79,12 @@
 # Those warnings are false positives and can be safely ignored.
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-#%%check
-# there is one test, but even upstream does not launch it
+%check
+%if %{with test}
+# radar tests are improperly configured
+rm -r tests/api_resources/radar
+%pytest
+%endif
 
 %files %{python_files}
 %doc README.md

++++++ pydantic3.patch ++++++
++++ 1205 lines (skipped)

Reply via email to