Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-spyder-kernels for 
openSUSE:Factory checked in at 2022-05-31 15:47:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-spyder-kernels (Old)
 and      /work/SRC/openSUSE:Factory/.python-spyder-kernels.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-spyder-kernels"

Tue May 31 15:47:08 2022 rev:34 rq:979357 version:2.3.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-spyder-kernels/python-spyder-kernels.changes  
    2022-04-11 23:50:17.206356356 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-spyder-kernels.new.1548/python-spyder-kernels.changes
    2022-05-31 15:47:55.548009871 +0200
@@ -1,0 +2,9 @@
+Tue May 24 19:06:00 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to version 2.3.1
+  * Add an upper constraint to our most important dependencies, by
+    @ccordoba12
+  * Increase minimal required version of jupyter_client to 7.3.1,
+    by @ccordoba12
+
+-------------------------------------------------------------------

Old:
----
  python-spyder-kernels-2.3.0.tar.gz

New:
----
  python-spyder-kernels-2.3.1.tar.gz

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

Other differences:
------------------
++++++ python-spyder-kernels.spec ++++++
--- /var/tmp/diff_new_pack.qIUhee/_old  2022-05-31 15:47:56.028010190 +0200
+++ /var/tmp/diff_new_pack.qIUhee/_new  2022-05-31 15:47:56.032010193 +0200
@@ -21,7 +21,7 @@
 # flaky for obs, only test locally
 %bcond_with dasktest
 Name:           python-spyder-kernels
-Version:        2.3.0
+Version:        2.3.1
 Release:        0
 Summary:        Jupyter kernels for Spyder's console
 License:        MIT
@@ -38,9 +38,9 @@
 BuildRequires:  %{python_module Pillow}
 BuildRequires:  %{python_module cloudpickle}
 BuildRequires:  %{python_module flaky}
-BuildRequires:  %{python_module ipykernel >= 6.9.2}
+BuildRequires:  %{python_module ipykernel >= 6.9.2 with %python-ipykernel < 7}
 BuildRequires:  %{python_module ipython >= 7.31.1}
-BuildRequires:  %{python_module jupyter_client >= 7.1.0}
+BuildRequires:  %{python_module jupyter_client >= 7.3.1 with 
%python-jupyter_client < 8}
 BuildRequires:  %{python_module matplotlib}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pandas}
@@ -54,11 +54,11 @@
 %endif
 # /SECTION
 Requires:       python-cloudpickle
-Requires:       python-ipykernel >= 6.9.2
 Requires:       python-ipython >= 7.31.1
-Requires:       python-jupyter_client >= 7.1.0
 Requires:       python-pyzmq >= 22.1
 Requires:       python-wurlitzer >= 1.0.3
+Requires:       (python-ipykernel >= 6.9.2 with python-ipykernel < 7)
+Requires:       (python-jupyter_client >= 7.3.1 with python-jupyter_client < 8)
 BuildArch:      noarch
 
 %python_subpackages

++++++ python-spyder-kernels-2.3.0.tar.gz -> python-spyder-kernels-2.3.1.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spyder-kernels-2.3.0/CHANGELOG.md 
new/spyder-kernels-2.3.1/CHANGELOG.md
--- old/spyder-kernels-2.3.0/CHANGELOG.md       2022-03-30 04:17:43.000000000 
+0200
+++ new/spyder-kernels-2.3.1/CHANGELOG.md       2022-05-21 18:36:00.000000000 
+0200
@@ -1,5 +1,19 @@
 # History of changes
 
+## Version 2.3.1 (2022-05-21)
+
+### Pull Requests Merged
+
+* [PR 385](https://github.com/spyder-ide/spyder-kernels/pull/385) - PR: Add an 
upper constraint to our most important dependencies, by 
[@ccordoba12](https://github.com/ccordoba12)
+* [PR 384](https://github.com/spyder-ide/spyder-kernels/pull/384) - PR: 
Prevent an error in Python 2 with our tests, by 
[@ccordoba12](https://github.com/ccordoba12)
+* [PR 382](https://github.com/spyder-ide/spyder-kernels/pull/382) - PR: 
Increase minimal required version of jupyter_client to 7.3.1, by 
[@ccordoba12](https://github.com/ccordoba12)
+
+In this release 3 pull requests were closed.
+
+
+---
+
+
 ## Version 2.3.0 (2022-03-30)
 
 ### New features
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spyder-kernels-2.3.0/requirements/posix.txt 
new/spyder-kernels-2.3.1/requirements/posix.txt
--- old/spyder-kernels-2.3.0/requirements/posix.txt     2022-03-30 
04:17:43.000000000 +0200
+++ new/spyder-kernels-2.3.1/requirements/posix.txt     2022-05-21 
18:36:00.000000000 +0200
@@ -1,6 +1,6 @@
 cloudpickle
-ipykernel>=6.9.2
+ipykernel>=6.9.2,<7
 ipython>=7.31.1,<8
-jupyter_client>=7.1.0
+jupyter_client>=7.3.1,<8
 pyzmq>=22.1.0
 wurlitzer>=1.0.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spyder-kernels-2.3.0/requirements/windows.txt 
new/spyder-kernels-2.3.1/requirements/windows.txt
--- old/spyder-kernels-2.3.0/requirements/windows.txt   2022-03-30 
04:17:43.000000000 +0200
+++ new/spyder-kernels-2.3.1/requirements/windows.txt   2022-05-21 
18:36:00.000000000 +0200
@@ -1,5 +1,5 @@
 cloudpickle
-ipykernel>=6.9.2
+ipykernel>=6.9.2,<7
 ipython>=7.31.1,<8
-jupyter_client>=7.1.0
+jupyter_client>=7.3.1,<8
 pyzmq>=22.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spyder-kernels-2.3.0/setup.py 
new/spyder-kernels-2.3.1/setup.py
--- old/spyder-kernels-2.3.0/setup.py   2022-03-30 04:17:43.000000000 +0200
+++ new/spyder-kernels-2.3.1/setup.py   2022-05-21 18:36:00.000000000 +0200
@@ -40,11 +40,11 @@
     'backports.functools-lru-cache; python_version<"3"',
     'cloudpickle',
     'ipykernel<5; python_version<"3"',
-    'ipykernel>=6.9.2; python_version>="3"',
+    'ipykernel>=6.9.2,<7; python_version>="3"',
     'ipython<6; python_version<"3"',
     'ipython>=7.31.1,<8; python_version>="3"',
     'jupyter-client>=5.3.4,<6; python_version<"3"',
-    'jupyter-client>=7.1.0; python_version>="3"',
+    'jupyter-client>=7.3.1,<8; python_version>="3"',
     'pyzmq>=17,<20; python_version<"3"',
     'pyzmq>=22.1.0; python_version>="3"',
     'wurlitzer>=1.0.3;platform_system!="Windows"',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spyder-kernels-2.3.0/spyder_kernels/_version.py 
new/spyder-kernels-2.3.1/spyder_kernels/_version.py
--- old/spyder-kernels-2.3.0/spyder_kernels/_version.py 2022-03-30 
04:17:43.000000000 +0200
+++ new/spyder-kernels-2.3.1/spyder_kernels/_version.py 2022-05-21 
18:36:00.000000000 +0200
@@ -8,5 +8,5 @@
 
 """Version File."""
 
-VERSION_INFO = (2, 3, 0)
+VERSION_INFO = (2, 3, 1)
 __version__ = '.'.join(map(str, VERSION_INFO))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spyder-kernels-2.3.0/spyder_kernels/console/start.py 
new/spyder-kernels-2.3.1/spyder_kernels/console/start.py
--- old/spyder-kernels-2.3.0/spyder_kernels/console/start.py    2022-03-30 
04:17:43.000000000 +0200
+++ new/spyder-kernels-2.3.1/spyder_kernels/console/start.py    2022-05-21 
18:36:00.000000000 +0200
@@ -154,12 +154,22 @@
     else:
         dpi_option = 'figure.dpi'
 
-    spy_cfg.InlineBackend.rc = {'figure.figsize': (6.0, 4.0),
-                                dpi_option: 72,
-                                'font.size': 10,
-                                'figure.subplot.bottom': .125,
-                                'figure.facecolor': 'white',
-                                'figure.edgecolor': 'white'}
+    # The typical default figure size is too large for inline use,
+    # so we shrink the figure size to 6x4, and tweak fonts to
+    # make that fit.
+    spy_cfg.InlineBackend.rc = {
+        'figure.figsize': (6.0, 4.0),
+        # 72 dpi matches SVG/qtconsole.
+        # This only affects PNG export, as SVG has no dpi setting.
+        dpi_option: 72,
+        # 12pt labels get cutoff on 6x4 logplots, so use 10pt.
+        'font.size': 10,
+        # 10pt still needs a little more room on the xlabel
+        'figure.subplot.bottom': .125,
+        # Play nicely with any background color.
+        'figure.facecolor': 'white',
+        'figure.edgecolor': 'white'
+    }
 
     # Pylab configuration
     mpl_backend = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/spyder-kernels-2.3.0/spyder_kernels/console/tests/test_console_kernel.py 
new/spyder-kernels-2.3.1/spyder_kernels/console/tests/test_console_kernel.py
--- 
old/spyder-kernels-2.3.0/spyder_kernels/console/tests/test_console_kernel.py    
    2022-03-30 04:17:43.000000000 +0200
+++ 
new/spyder-kernels-2.3.1/spyder_kernels/console/tests/test_console_kernel.py    
    2022-05-21 18:36:00.000000000 +0200
@@ -23,7 +23,6 @@
 
 # Test imports
 import ipykernel
-import IPython
 import pytest
 from flaky import flaky
 from jupyter_core import paths
@@ -96,7 +95,8 @@
         finally:
             client.stop_channels()
     finally:
-        kernel.terminate()
+        if not PY2:
+            kernel.terminate()
 
 
 # =============================================================================
@@ -1096,13 +1096,15 @@
 
 @flaky(max_runs=3)
 @pytest.mark.parametrize("backend", [None, 'inline', 'tk', 'qt5'])
[email protected](PY2, reason="Doesn't work on Python 2")
 @pytest.mark.skipif(
     not sys.platform.startswith('linux'),
     reason="Doesn't work reliably on Windows and Mac")
 @pytest.mark.skipif(
     not bool(os.environ.get('USE_CONDA')),
     reason="Doesn't work with pip packages")
[email protected](
+    sys.version_info[:2] < (3, 8),
+    reason="Too flaky in Python 3.7 and doesn't work in older versions")
 def test_get_interactive_backend(backend):
     """
     Test that we correctly get the interactive backend set in the kernel.

Reply via email to