Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-spyder-notebook for
openSUSE:Factory checked in at 2024-09-16 17:43:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-spyder-notebook (Old)
and /work/SRC/openSUSE:Factory/.python-spyder-notebook.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-spyder-notebook"
Mon Sep 16 17:43:14 2024 rev:2 rq:1201290 version:0.6.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-spyder-notebook/python-spyder-notebook.changes
2023-10-08 12:22:51.895965306 +0200
+++
/work/SRC/openSUSE:Factory/.python-spyder-notebook.new.29891/python-spyder-notebook.changes
2024-09-16 17:44:26.572448307 +0200
@@ -1,0 +2,12 @@
+Sun Sep 15 15:28:50 UTC 2024 - Ben Greiner <[email protected]>
+
+- Update to 0.6.1
+ * Opening Spyder's preferences no longer leads to an error (Issue
+ 470, PR 471)
+- Release 0.6.0
+ * Make plugin compatible with Spyder 6 (Issue 446, Issue 456, PR
+ 457, PR 469)
+ * Include Jupyter Notebook version 7.2.1 (Issue 464, PR 462)
+- Test with PyQt6: Avoid Qt5 segfaults (?)
+
+-------------------------------------------------------------------
Old:
----
spyder-notebook-0.5.1.tar.gz
New:
----
spyder_notebook-0.6.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-spyder-notebook.spec ++++++
--- /var/tmp/diff_new_pack.hNEl4G/_old 2024-09-16 17:44:27.468485364 +0200
+++ /var/tmp/diff_new_pack.hNEl4G/_new 2024-09-16 17:44:27.472485529 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-spyder-notebook
#
-# 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
@@ -15,42 +15,46 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-# spyder is an app, only for python3
+
%define pythons python3
Name: python-spyder-notebook
-Version: 0.5.1
+Version: 0.6.1
Release: 0
Summary: Jupyter notebook integration with Spyder
License: MIT
URL: https://github.com/spyder-ide/spyder-notebook
-Source:
https://files.pythonhosted.org/packages/source/s/spyder-notebook/spyder-notebook-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/s/spyder-notebook/spyder_notebook-%{version}.tar.gz
Source1:
https://github.com/spyder-ide/spyder-notebook/raw/v%{version}/spyder_notebook/widgets/tests/test.ipynb
+# TODO: use local-npm-registry
+BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python-QDarkStyle
Requires: python-QtPy
Requires: python-nbformat
Requires: python-notebook >= 7
-Requires: python-QDarkStyle
Requires: python-requests
-Requires: python-spyder >= 5.4.3
Requires: python-tornado
Requires: python-traitlets
+Requires: (python-spyder >= 6 with python-spyder < 7)
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module QtPy}
+BuildRequires: %{python_module PyQt6-WebEngine}
+BuildRequires: %{python_module PyQt6}
+BuildRequires: %{python_module QDarkStyle}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module nbformat}
-BuildRequires: %{python_module notebook >= 7}
+BuildRequires: %{python_module notebook >= 7.2 with %python-notebook < 8}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest-qt}
-BuildRequires: %{python_module pytest-xvfb >= 3}
+BuildRequires: %{python_module pytest-xvfb}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module QDarkStyle}
BuildRequires: %{python_module requests}
-BuildRequires: %{python_module spyder >= 5.4.3}
+BuildRequires: %{python_module spyder >= 6 with %python-spyder < 7}
BuildRequires: %{python_module tornado}
BuildRequires: %{python_module traitlets}
# /SECTION
@@ -66,7 +70,7 @@
variables in the Variable Explorer.
%prep
-%autosetup -p1 -n spyder-notebook-%{version}
+%autosetup -p1 -n spyder_notebook-%{version}
cp %{SOURCE1} spyder_notebook/widgets/tests/
chmod -x spyder_notebook/utils/templates/welcome-dark.html
@@ -79,7 +83,8 @@
%python_find_lang spyder_notebook
%check
-%pytest
+export PYTEST_QT_API=pyqt6
+%pytest -k "not test_config_dialog"
%files %{python_files} -f %{python_prefix}-spyder_notebook.lang
%doc CHANGELOG.md README.md