Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pydantic-core for 
openSUSE:Factory checked in at 2024-03-14 17:42:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydantic-core (Old)
 and      /work/SRC/openSUSE:Factory/.python-pydantic-core.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pydantic-core"

Thu Mar 14 17:42:28 2024 rev:2 rq:1157065 version:2.16.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pydantic-core/python-pydantic-core.changes    
    2024-03-06 23:05:53.560275764 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pydantic-core.new.1905/python-pydantic-core.changes
      2024-03-14 17:42:36.855998135 +0100
@@ -1,0 +2,10 @@
+Tue Mar 12 00:24:28 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Sprinkle in multibuild to avoid build cycles. 
+
+-------------------------------------------------------------------
+Sat Mar  9 13:15:13 UTC 2024 - ecsos <[email protected]>
+
+- Add %{?sle15_python_module_pythons}
+
+-------------------------------------------------------------------

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-pydantic-core.spec ++++++
--- /var/tmp/diff_new_pack.zvFgKr/_old  2024-03-14 17:42:37.464020428 +0100
+++ /var/tmp/diff_new_pack.zvFgKr/_new  2024-03-14 17:42:37.464020428 +0100
@@ -16,7 +16,16 @@
 #
 
 
-Name:           python-pydantic-core
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+%{?sle15_python_module_pythons}
+Name:           python-pydantic-core%{psuffix}
 Version:        2.16.3
 Release:        0
 Summary:        Core functionality for pydantic validation and serialization
@@ -30,12 +39,15 @@
 BuildRequires:  cargo-packaging
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
-BuildRequires:  %{python_module pytest}
+%if %{with test}
 BuildRequires:  %{python_module dirty-equals}
 BuildRequires:  %{python_module hypothesis}
+BuildRequires:  %{python_module pydantic-core == %{version}}
 BuildRequires:  %{python_module pytest-benchmark}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest-timeout}
+BuildRequires:  %{python_module pytest}
+%endif
 # /SECTION
 BuildRequires:  fdupes
 Requires:       python-typing-extensions >= 4.6.0
@@ -50,16 +62,25 @@
 %autosetup -p1 -n pydantic_core-%{version} -a1
 
 %build
+# The build takes quite a long time, so we don't want to build this while 
under test.
+%if %{without test}
 %pyproject_wheel
+%endif
 
 %install
+%if %{without test}
 %pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
+%endif
 
 %check
+%if %{with test}
 %pytest_arch
+%endif
 
+%if %{without test}
 %files %{python_files}
 %{python_sitearch}/pydantic_core
 %{python_sitearch}/pydantic_core-%{version}.dist-info
+%endif
 

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>

Reply via email to