Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-nbclient for openSUSE:Factory 
checked in at 2021-04-10 15:27:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbclient (Old)
 and      /work/SRC/openSUSE:Factory/.python-nbclient.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nbclient"

Sat Apr 10 15:27:01 2021 rev:9 rq:884008 version:0.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbclient/python-nbclient.changes  
2021-03-10 08:58:23.982959859 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-nbclient.new.2401/python-nbclient.changes    
    2021-04-10 15:28:02.862425773 +0200
@@ -1,0 +2,11 @@
+Thu Apr  8 22:30:04 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Actually break the cycle: test flavor needs a psuffix
+
+-------------------------------------------------------------------
+Wed Mar 31 16:03:17 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- test in multibuild flavor in order to break runtime and build
+  dependency cycle with nbconvert.
+
+-------------------------------------------------------------------

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-nbclient.spec ++++++
--- /var/tmp/diff_new_pack.R7bkX9/_old  2021-04-10 15:28:03.346426342 +0200
+++ /var/tmp/diff_new_pack.R7bkX9/_new  2021-04-10 15:28:03.350426346 +0200
@@ -16,9 +16,18 @@
 #
 
 
+%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() python-%{**} python3-%{**}}
 %define         skip_python2 1
-Name:           python-nbclient
+Name:           python-nbclient%{psuffix}
 Version:        0.5.3
 Release:        0
 Summary:        A client library for executing notebooks
@@ -34,7 +43,7 @@
 Requires:       python-nest-asyncio
 Requires:       python-traitlets >= 4.2
 BuildArch:      noarch
-# SECTION test requirements
+%if %{with test}
 BuildRequires:  %{python_module async_generator}
 BuildRequires:  %{python_module ipython}
 BuildRequires:  %{python_module ipywidgets}
@@ -46,7 +55,7 @@
 BuildRequires:  %{python_module testpath}
 BuildRequires:  %{python_module traitlets >= 4.2}
 BuildRequires:  %{python_module xmltodict}
-# /SECTION
+%endif
 %python_subpackages
 
 %description
@@ -57,22 +66,29 @@
 
 %prep
 %setup -q -n nbclient-%{version}
+rm -r nbclient/tests/files/.ipynb_checkpoints
 
 %build
 %python_build
 
+%if ! %{with test}
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%if %{with test}
 %check
 # test_many_parallel_notebooks randomly fails - 
https://github.com/jupyter/nbclient/pull/74#issuecomment-635929953
 %pytest -k 'not test_many_parallel_notebooks'
+%endif
 
+%if ! %{with test}
 %files %{python_files}
 %doc CHANGELOG.md README.md
 %license LICENSE
 %{python_sitelib}/nbclient
 %{python_sitelib}/nbclient-%{version}-py*.egg-info/
+%endif
 
 %changelog

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

Reply via email to