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 2021-02-03 19:55:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-spyder-notebook (Old)
 and      /work/SRC/openSUSE:Factory/.python-spyder-notebook.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-spyder-notebook"

Wed Feb  3 19:55:34 2021 rev:9 rq:868767 version:0.3.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-spyder-notebook/python-spyder-notebook.changes
    2020-10-07 14:17:33.697441556 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-spyder-notebook.new.28504/python-spyder-notebook.changes
 2021-02-03 19:55:41.953672890 +0100
@@ -1,0 +2,44 @@
+Tue Feb  2 13:05:08 UTC 2021 - Benjamin Greiner <[email protected]>
+
+- Use singlespec %python_subpackages to provide the
+  python3-spyder-notebook name
+
+-------------------------------------------------------------------
+Wed Jan 27 23:18:25 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to version 0.3.2
+  New Features
+  * Pressing Shift-Tab now shows the documentation of 
+    functions and so on, as in a Jupyter server (Issue 315, PR 
+     344)
+  * Add an option to Preferences so that you can now have 
+    Spyder in a dark theme and notebooks in a light theme, or 
+    vice versa (Issue 310, PR 345)
+  * Shift-RightClick now shows the browser menu, which allows you to save a 
plot as a picture (Issue 279, PR 349)
+  Bug Fixes
+  * Opening a link from a notebook now opens the 
+    correct page in your web browser (Issue 185, PR 351)
+  * If you change the Python interpreter in the Preferences, 
+    then notebooks opened afterwards will use the new 
+    environment; previously, you had to restart Spyder (Issue 
+    266, PR 352)
+  * Update error message when server fails so that it is 
+    more helpful (Issue 337, PR 347)
+  * Prevent an AttributeError exception when saving or 
+    closing notebooks (Issue 311, Issue 333, PR 334)
+  * Make saving more robust by waiting longer if necessary 
+    (Issue 339, PR 348)
+- Changelog for Version 0.3.1
+  Bug Fixes
+  * Fix compatibility issue which prevented the plugin from 
+    working at all if traitlets version 5 is installed (Issue 
+    314, PR 326).
+  * Add background to code completions to make them visible 
+    (Issue 318, PR 329).
+  * Make strings brighter in dark mode to increase 
+    legibility (Issue 319, PR 331).
+  * Prevent JSONDecodeError when closing notebook (Issue 
+    317, PR 332).
+- Build only for primary interpreter as spyder does the same
+
+-------------------------------------------------------------------

Old:
----
  spyder-notebook-0.3.0-gh.tar.gz
  spyder-notebook-0.3.0.tar.gz

New:
----
  spyder-notebook-0.3.2-gh.tar.gz
  spyder-notebook-0.3.2.tar.gz

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

Other differences:
------------------
++++++ python-spyder-notebook.spec ++++++
--- /var/tmp/diff_new_pack.SwB2Jw/_old  2021-02-03 19:55:43.977675327 +0100
+++ /var/tmp/diff_new_pack.SwB2Jw/_new  2021-02-03 19:55:43.981675332 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-spyder-notebook
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,11 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+# Not really singlespec: Spyder is an app only for the primary python3 
interpreter
+# But we need the python3-spyder-notebook name, provided by the 
python_subpackages rewrite
+%define pythons python3
 Name:           python-spyder-notebook
-Version:        0.3.0
+Version:        0.3.2
 Release:        0
 Summary:        Jupyter notebook integration with Spyder
 License:        MIT
@@ -29,9 +30,9 @@
 Source0:        
https://files.pythonhosted.org/packages/source/s/spyder-notebook/spyder-notebook-%{version}.tar.gz
 # ... but only the GitHub archive provides the unit tests
 Source1:        
https://github.com/spyder-ide/spyder-notebook/archive/v%{version}.tar.gz#/spyder-notebook-%{version}-gh.tar.gz
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  python3-setuptools
 Requires:       python-QtPy
 Requires:       python-nbformat
 Requires:       python-notebook >= 4.3
@@ -44,17 +45,17 @@
 Obsoletes:      spyder3-notebook < %{version}-%{release}
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module QtPy}
-BuildRequires:  %{python_module flaky}
-BuildRequires:  %{python_module nbformat}
-BuildRequires:  %{python_module notebook}
-BuildRequires:  %{python_module opengl}
-BuildRequires:  %{python_module psutil}
-BuildRequires:  %{python_module pytest-mock}
-BuildRequires:  %{python_module pytest-qt}
-BuildRequires:  %{python_module pytest-xvfb}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module requests}
+BuildRequires:  python3-QtPy
+BuildRequires:  python3-flaky
+BuildRequires:  python3-nbformat
+BuildRequires:  python3-notebook
+BuildRequires:  python3-opengl
+BuildRequires:  python3-psutil
+BuildRequires:  python3-pytest
+BuildRequires:  python3-pytest-mock
+BuildRequires:  python3-pytest-qt
+BuildRequires:  python3-pytest-xvfb
+BuildRequires:  python3-requests
 BuildRequires:  spyder >= 4.1
 BuildRequires:  xdpyinfo
 # /SECTION
@@ -78,25 +79,24 @@
 chmod -x spyder_notebook/utils/templates/welcome-dark.html
 
 %build
-%python_build
+%python3_build
 
 %install
-%python_install
-%{python_expand # tag language files and deduplicate
+%python3_install
 %find_lang spyder_notebook
-mv spyder_notebook.lang spyder_notebook-%{$python_bin_suffix}.lang
-%fdupes %{buildroot}%{$python_sitelib}
-}
+%fdupes %{buildroot}%{python3_sitelib}
 
 %check
 # The unittests fail with a seccomp-bpf crash if the sandbox
 # is not disabled on i586
 export QTWEBENGINE_DISABLE_SANDBOX=1
+# import from source for test modules
+export PYTHONPATH=":x"
 # test_plugin::test_shutdown_notebook_kernel: session request is always empty
-# rest of deselcted test_plugin tests: passing but produces XIO errors with 
xvfb at the end
+# rest of deselected test_plugin tests: passing but produces XIO errors with 
xvfb at the end
 %pytest -k "not (test_plugin and (shutdown or register or close or save))"
 
-%files %{python_files} -f spyder_notebook-%{python_bin_suffix}.lang
+%files %{python_files} -f spyder_notebook.lang
 %doc CHANGELOG.md README.md
 %license LICENSE
 %dir %{python_sitelib}/spyder_notebook
@@ -105,7 +105,7 @@
 %dir %{python_sitelib}/spyder_notebook/locale/*/LC_MESSAGES
 %{python_sitelib}/spyder_notebook/*.py
 %{python_sitelib}/spyder_notebook/{images,server,utils,widgets}
-%pycache_only %{python_sitelib}/spyder_notebook/__pycache__
-%{python_sitelib}/spyder_notebook-%{version}-py*.egg-info
+%{python_sitelib}/spyder_notebook/__pycache__
+%{python_sitelib}/spyder_notebook-%{version}*-info
 
 %changelog

++++++ spyder-notebook-0.3.0-gh.tar.gz -> spyder-notebook-0.3.2-gh.tar.gz ++++++
++++ 3600 lines of diff (skipped)

++++++ spyder-notebook-0.3.0-gh.tar.gz -> spyder-notebook-0.3.2.tar.gz ++++++
++++ 9830 lines of diff (skipped)

Reply via email to