Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-spyder-terminal for 
openSUSE:Factory checked in at 2022-09-23 14:15:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-spyder-terminal (Old)
 and      /work/SRC/openSUSE:Factory/.python-spyder-terminal.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-spyder-terminal"

Fri Sep 23 14:15:00 2022 rev:10 rq:1005439 version:1.2.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-spyder-terminal/python-spyder-terminal.changes
    2021-10-13 18:10:01.959645720 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-spyder-terminal.new.2275/python-spyder-terminal.changes
  2022-09-23 14:15:35.594032966 +0200
@@ -1,0 +2,20 @@
+Thu Sep 22 14:50:26 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Update to v1.2.2 
+  * Upgrade to pywinpty 2.0.5
+  * Maintenance of the CIs
+  * Prevent showing an error when closing the plugin
+- v1.2.1
+  * Fix double zoom level for new terminals
+  * Upgrade to pywinpty 2.0.1
+  * Fix Spyder requirement
+  * Maintenance of the CIs
+- v1.2.0
+  * Migration to Spyder's 5.2.x new API
+  * Update to xtermjs 4.15
+  * Improve new terminals when a project is available
+
+- Add fix-test-terminal-closing.patch to fix the test_terminal_closing that
+  expects an AttributeError instead of a WebSocketClosedError
+
+-------------------------------------------------------------------

Old:
----
  python-spyder-terminal-1.1.0-gh.tar.gz
  python-spyder-terminal-1.1.0-pypi.tar.gz

New:
----
  fix-test-terminal-closing.patch
  python-spyder-terminal-1.2.2-gh.tar.gz
  python-spyder-terminal-1.2.2-pypi.tar.gz

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

Other differences:
------------------
++++++ python-spyder-terminal.spec ++++++
--- /var/tmp/diff_new_pack.9Hkteh/_old  2022-09-23 14:15:36.422034896 +0200
+++ /var/tmp/diff_new_pack.9Hkteh/_new  2022-09-23 14:15:36.430034914 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-spyder-terminal
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 # But we need the python3-spyder-terminal name, provided by the 
python_subpackages rewrite
 %define pythons python3
 Name:           python-spyder-terminal
-Version:        1.1.0
+Version:        1.2.2
 Release:        0
 Summary:        Operating system virtual terminal plugin for the Spyder IDE
 License:        MIT
@@ -34,14 +34,16 @@
 Source1:        
https://github.com/spyder-ide/spyder-terminal/archive/v%{version}.tar.gz#/%{name}-%{version}-gh.tar.gz
 # The bundled nodejs stuff has a few files tripping rpmlint
 Source2:        %{name}-rpmlintrc
+# PATCH-FIX-OPENSUSE fix-test-terminal-closing.patch
+Patch0:         fix-test-terminal-closing.patch
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-setuptools
 Requires:       python-coloredlogs
 Requires:       python-requests
-Requires:       python-terminado >= 0.10.0
+Requires:       python-terminado >= 0.13.1
 Requires:       python-tornado
-Requires:       spyder >= 5.1.1
+Requires:       spyder >= 5.2.1
 # SECTION test requirements
 BuildRequires:  python3-coloredlogs
 BuildRequires:  python3-flaky
@@ -50,9 +52,9 @@
 BuildRequires:  python3-pytest-timeout
 BuildRequires:  python3-pytest-xvfb
 BuildRequires:  python3-requests
-BuildRequires:  python3-terminado >= 0.10.0
+BuildRequires:  python3-terminado >= 0.13.1
 BuildRequires:  python3-tornado
-BuildRequires:  spyder >= 5.1.1
+BuildRequires:  spyder >= 5.2.1
 BuildRequires:  xdpyinfo
 # /SECTION
 BuildArch:      noarch
@@ -76,6 +78,7 @@
     spyder-terminal-%{version}/conftest.py \
     spyder-terminal-%{version}/spyder_terminal/tests \
     spyder-terminal-%{version}/spyder_terminal/server/tests
+%autopatch -p1
 
 # fix rpmlint non-executable-script
 sed -i -e '/^#!\//, 1d' spyder_terminal/server/__main__.py

++++++ fix-test-terminal-closing.patch ++++++
Index: spyder-terminal-1.2.2/spyder_terminal/server/tests/test_server.py
===================================================================
--- spyder-terminal-1.2.2.orig/spyder_terminal/server/tests/test_server.py
+++ spyder-terminal-1.2.2/spyder_terminal/server/tests/test_server.py
@@ -15,6 +15,7 @@ import pytest
 from flaky import flaky
 from tornado import testing, websocket, gen
 from tornado.concurrent import Future
+from tornado.websocket import WebSocketClosedError
 from spyder.utils.programs import find_program
 
 sys.path.append(osp.realpath(osp.dirname(__file__) + "/.."))
@@ -132,6 +133,8 @@ class TerminalServerTests(testing.AsyncH
             sock.write_message(' This shall not work')
         except AttributeError:
             pass
+        except WebSocketClosedError:
+            pass
         yield self.close(sock)
 
     @flaky(max_runs=3)

++++++ python-spyder-terminal-1.1.0-gh.tar.gz -> 
python-spyder-terminal-1.2.2-gh.tar.gz ++++++
++++ 5109 lines of diff (skipped)

++++++ python-spyder-terminal-1.1.0-pypi.tar.gz -> 
python-spyder-terminal-1.2.2-pypi.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-spyder-terminal/python-spyder-terminal-1.1.0-pypi.tar.gz
 
/work/SRC/openSUSE:Factory/.python-spyder-terminal.new.2275/python-spyder-terminal-1.2.2-pypi.tar.gz
 differ: char 5, line 1

Reply via email to