Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-tomli for openSUSE:Factory 
checked in at 2021-10-25 15:17:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tomli (Old)
 and      /work/SRC/openSUSE:Factory/.python-tomli.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tomli"

Mon Oct 25 15:17:02 2021 rev:2 rq:925553 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tomli/python-tomli.changes        
2021-10-05 22:34:05.850894921 +0200
+++ /work/SRC/openSUSE:Factory/.python-tomli.new.1890/python-tomli.changes      
2021-10-25 15:17:33.917680580 +0200
@@ -1,0 +2,19 @@
+Fri Oct 15 19:03:22 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Yet another dependency cycle to break: tomli - flit_core - tomli
+  https://flit.readthedocs.io/en/latest/bootstrap.html
+
+-------------------------------------------------------------------
+Fri Oct 15 08:49:47 UTC 2021 - Dominique Leuenberger <dims...@opensuse.org>
+
+- BuildIgnore ca-certificates: python-pip brings it in for regular
+  operation, but as we do not ever do https:// connections during a
+  build we do not depend on certificates. Allows us to break up a
+  build cycle.
+
+-------------------------------------------------------------------
+Wed Oct 13 19:20:13 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Split build and tests in _multibuild in order to avoid depcycle
+
+-------------------------------------------------------------------

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-tomli.spec ++++++
--- /var/tmp/diff_new_pack.qf5uJK/_old  2021-10-25 15:17:34.445680910 +0200
+++ /var/tmp/diff_new_pack.qf5uJK/_new  2021-10-25 15:17:34.445680910 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-tomli
+# spec file
 #
 # Copyright (c) 2021 SUSE LLC
 #
@@ -16,9 +16,17 @@
 #
 
 
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
-Name:           python-tomli
+Name:           python-tomli%{psuffix}
 Version:        1.2.1
 Release:        0
 Summary:        A lil' TOML parser
@@ -28,9 +36,19 @@
 Source:         
https://github.com/hukkin/tomli/archive/refs/tags/%{version}.tar.gz#/tomli-%{version}-gh.tar.gz
 BuildRequires:  %{python_module flit-core}
 BuildRequires:  %{python_module pip}
+# Avoid build cycles
+# https://flit.readthedocs.io/en/latest/bootstrap.html
+#!BuildIgnore:  python3-tomli
+#!BuildIgnore:  python36-tomli
+#!BuildIgnore:  python38-tomli
+#!BuildIgnore:  python39-tomli
+#!BuildIgnore:  python310-tomli
+#!BuildIgnore:  ca-certificates
+%if %{with test}
 BuildRequires:  %{python_module pytest-randomly}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module python-dateutil}
+%endif
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -43,19 +61,24 @@
 %setup -q -n tomli-%{version}
 
 %build
+export PYTHONPATH=$PWD
 %pyproject_wheel
 
 %install
+%if ! %{with test}
 %pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%check
-%pytest
-
 %files %{python_files}
 %license LICENSE
 %doc README.md
 %{python_sitelib}/tomli
 %{python_sitelib}/tomli-%{version}*-info
 
+%else
+
+%check
+%pytest
+%endif
+
 %changelog

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

Reply via email to