Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ipykernel for
openSUSE:Factory checked in at 2026-02-11 18:47:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipykernel (Old)
and /work/SRC/openSUSE:Factory/.python-ipykernel.new.1670 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipykernel"
Wed Feb 11 18:47:14 2026 rev:55 rq:1331001 version:6.31.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipykernel/python-ipykernel.changes
2025-10-27 14:37:34.809164230 +0100
+++
/work/SRC/openSUSE:Factory/.python-ipykernel.new.1670/python-ipykernel.changes
2026-02-11 18:47:34.126155334 +0100
@@ -1,0 +2,11 @@
+Wed Feb 4 13:57:06 UTC 2026 - Ben Greiner <[email protected]>
+
+- Revert multibuild and fix kernel selection in tests
+
+-------------------------------------------------------------------
+Mon Feb 2 13:38:42 UTC 2026 - Markéta Machová <[email protected]>
+
+- Convert to multibuild with separate flavor testing to fix the issue
+ with jupyter kernel detection
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ipykernel.spec ++++++
--- /var/tmp/diff_new_pack.7THmBh/_old 2026-02-11 18:47:34.826184731 +0100
+++ /var/tmp/diff_new_pack.7THmBh/_new 2026-02-11 18:47:34.830184900 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-ipykernel
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -118,7 +118,19 @@
# we don't want ipyparallel and its dependencies in Ring1
ignoretests="$ignoretests --ignore tests/test_pickleutil.py"
donttest="$donttest or test_do_apply"
-%pytest -k "not ($donttest)" $ignoretests
+%python_flavored_alternatives
+export PYTHONDONTWRITEBYTECODE=1
+%{python_expand #
+export PYTHONPATH=%{buildroot}%{$python_sitelib}
+# install single kernelspecs for each flavor, so that it is taken by default
+mkdir testjupyter-{$python_bin_suffix}
+export JUPYTER_DATA_DIR=$PWD/testjupyter-%{$python_bin_suffix}
+$python -m ipykernel install \
+ --prefix=$JUPYTER_DATA_DIR \
+ --name python%{$python_bin_suffix} \
+ --display-name 'Python %{$python_bin_suffix} (ipykernel)'
+$python -m pytest -v -k "not ($donttest)" $ignoretests
+}
%files %{python_files}
%doc README.md