Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-inline-snapshot for 
openSUSE:Factory checked in at 2025-01-29 16:09:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-inline-snapshot (Old)
 and      /work/SRC/openSUSE:Factory/.python-inline-snapshot.new.2316 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-inline-snapshot"

Wed Jan 29 16:09:42 2025 rev:4 rq:1241019 version:0.19.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-inline-snapshot/python-inline-snapshot.changes
    2025-01-20 17:15:09.891652478 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-inline-snapshot.new.2316/python-inline-snapshot.changes
  2025-01-29 16:09:51.062152829 +0100
@@ -1,0 +2,5 @@
+Wed Jan 29 02:19:19 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Inject multibuild to break a build cycle. 
+
+-------------------------------------------------------------------

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-inline-snapshot.spec ++++++
--- /var/tmp/diff_new_pack.ewMo86/_old  2025-01-29 16:09:51.534172403 +0100
+++ /var/tmp/diff_new_pack.ewMo86/_new  2025-01-29 16:09:51.538172569 +0100
@@ -16,8 +16,16 @@
 #
 
 
+%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-inline-snapshot
+Name:           python-inline-snapshot%{psuffix}
 Version:        0.19.3
 Release:        0
 Summary:        Create and update inline snapshots in your Python code
@@ -28,12 +36,12 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
-BuildRequires:  %{python_module asttokens >= 2.0.5}
+%if %{with test}
 BuildRequires:  %{python_module black >= 23.3.0}
 BuildRequires:  %{python_module click >= 8.1.4}
 BuildRequires:  %{python_module dirty-equals >= 0.7.0}
-BuildRequires:  %{python_module executing >= 2.0.0}
 BuildRequires:  %{python_module hypothesis >= 6.75.5}
+BuildRequires:  %{python_module inline-snapshot = %{version}}
 BuildRequires:  %{python_module mypy >= 1.2.0}
 BuildRequires:  %{python_module pydantic}
 BuildRequires:  %{python_module pyright >= 1.1.359}
@@ -42,9 +50,8 @@
 BuildRequires:  %{python_module pytest-subtests >= 0.11.0}
 BuildRequires:  %{python_module pytest-xdist >= 3.6.1}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module rich >= 13.7.1}
 BuildRequires:  %{python_module time-machine >= 2.10.0}
-BuildRequires:  %{python_module tomli >= 2.0.0 if %python-base < 3.11}
+%endif
 # /SECTION
 BuildRequires:  fdupes
 Requires:       python-asttokens >= 2.0.5
@@ -69,18 +76,24 @@
 %pyproject_wheel
 
 %install
+%if %{without test}
 %pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
 %check
 #NOTE: disable test_typing because the underlying pyright module uses
 # nodeenv, which required https connection to nodejs.org. This is not
 # possible in OBS.
+%if %{with test}
 %pytest -v -k 'not (test_typing or test_format_command_fail)'
+%endif
 
+%if %{without test}
 %files %{python_files}
 %doc README.md CHANGELOG.md
 %license LICENSE
 %{python_sitelib}/inline_snapshot
 %{python_sitelib}/inline_snapshot-%{version}.dist-info
+%endif
 

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

Reply via email to