Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyter-server-fileid for
openSUSE:Factory checked in at 2024-03-07 18:31:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-server-fileid (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter-server-fileid.new.1770
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter-server-fileid"
Thu Mar 7 18:31:29 2024 rev:5 rq:1155953 version:0.9.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter-server-fileid/python-jupyter-server-fileid.changes
2023-12-25 19:05:47.574560889 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter-server-fileid.new.1770/python-jupyter-server-fileid.changes
2024-03-07 18:32:41.260256480 +0100
@@ -1,0 +2,6 @@
+Thu Mar 7 13:07:38 UTC 2024 - Ben Greiner <[email protected]>
+
+- Skip testing with python39: no longer supported since ipython
+ 8.19 (jupyter-server-test)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter-server-fileid.spec ++++++
--- /var/tmp/diff_new_pack.r9w95u/_old 2024-03-07 18:32:41.732273897 +0100
+++ /var/tmp/diff_new_pack.r9w95u/_new 2024-03-07 18:32:41.736274045 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter-server-fileid
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,6 +23,7 @@
%else
%bcond_with libalternatives
%endif
+
Name: python-jupyter-server-fileid
Version: %{pyversion}
Release: 0
@@ -32,6 +33,8 @@
Source:
https://files.pythonhosted.org/packages/source/j/jupyter_server_fileid/jupyter_server_fileid-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module hatchling >= 1.0}
+BuildRequires: %{python_module jupyter-events >= 0.5.0}
+BuildRequires: %{python_module jupyter-server >= 1.15 with
%python-jupyter-server < 3}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: jupyter-rpm-macros
@@ -47,14 +50,13 @@
Requires: alts
%else
Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
%endif
-# SECTION test requirements
-BuildRequires: %{python_module jupyter-events >= 0.5.0}
-BuildRequires: %{python_module jupyter-server-test >= 1.15 with
%python-jupyter-server-test < 3}
+# SECTION test
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module jupyter-server-test >= 1.15 if %python-base >=
3.10}
BuildRequires: %{python_module traitlets}
-# /SECTION
+#/SECTION
%python_subpackages
%description
@@ -87,7 +89,13 @@
%check
# flaky on obs
donttest="test_get_path_oob_move_nested"
-%pytest -k "not ($donttest)"
+export PYTHONDONTWRITEBYTECODE=1
+%{python_expand # don't test anything on python39: no jupyter-server-test
anymore
+export PYTHONPATH=%{buildroot}%{$python_sitelib}
+if [ ${python_flavor} != "python39" ]; then
+ $python -m pytest -k "not ($donttest)"
+fi
+}
%pre
%python_libalternatives_reset_alternative jupyter-fileid