Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-terminado for
openSUSE:Factory checked in at 2021-05-15 01:24:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-terminado (Old)
and /work/SRC/openSUSE:Factory/.python-terminado.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-terminado"
Sat May 15 01:24:01 2021 rev:11 rq:893053 version:0.9.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-terminado/python-terminado.changes
2021-01-11 17:16:05.076593498 +0100
+++
/work/SRC/openSUSE:Factory/.python-terminado.new.2988/python-terminado.changes
2021-05-15 01:24:13.099018513 +0200
@@ -1,0 +2,14 @@
+Fri May 14 01:22:52 UTC 2021 - Arun Persaud <[email protected]>
+
+- update to version 0.9.5:
+ * Pin pywinpty version #98 (@jtpio)
+
+- changes from version 0.9.4:
+ * Allow non-strict decode for process output #95 (@dong-zeyu)
+ * Switch to GitHub Actions #93 (@afshin)
+ * Add generated changelog #92 (@blink1073)
+
+- changes from version 0.9.3:
+ * Make sure SIGPIPE has default handler set #91 (@dlukes)
+
+-------------------------------------------------------------------
Old:
----
terminado-0.9.2.tar.gz
New:
----
terminado-0.9.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-terminado.spec ++++++
--- /var/tmp/diff_new_pack.tr8Zit/_old 2021-05-15 01:24:13.747016236 +0200
+++ /var/tmp/diff_new_pack.tr8Zit/_new 2021-05-15 01:24:13.751016222 +0200
@@ -21,7 +21,7 @@
# Disable tests until random testing race condition fixed, see:
https://github.com/jupyter/terminado/issues/21
%bcond_with tests
Name: python-terminado
-Version: 0.9.2
+Version: 0.9.5
Release: 0
Summary: Terminals served to termjs using Tornado websockets
License: BSD-2-Clause
++++++ terminado-0.9.2.tar.gz -> terminado-0.9.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/terminado-0.9.2/PKG-INFO new/terminado-0.9.5/PKG-INFO
--- old/terminado-0.9.2/PKG-INFO 2021-01-04 17:50:20.183185800 +0100
+++ new/terminado-0.9.5/PKG-INFO 2021-05-11 13:40:15.468093400 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: terminado
-Version: 0.9.2
+Version: 0.9.5
Summary: Tornado websocket backend for the Xterm.js Javascript terminal
emulator library.
Home-page: https://github.com/jupyter/terminado
Author: Jupyter Development Team
@@ -30,6 +30,11 @@
* ``terminado/_static/terminado.js``: A lightweight wrapper to set up a
term.js terminal with a websocket.
+ Local Installation:
+
+ $ pip install -e .[test]
+
+
Usage example:
.. code:: python
@@ -74,7 +79,7 @@
Run the unit tests with:
- $ nosetests
+ $ pytest
Platform: UNKNOWN
Classifier: Environment :: Web Environment
@@ -84,3 +89,4 @@
Classifier: Topic :: Terminals :: Terminal Emulators/X Terminals
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/terminado-0.9.2/README.rst
new/terminado-0.9.5/README.rst
--- old/terminado-0.9.2/README.rst 2021-01-04 17:47:16.000000000 +0100
+++ new/terminado-0.9.5/README.rst 2021-03-19 18:57:45.000000000 +0100
@@ -22,6 +22,11 @@
* ``terminado/_static/terminado.js``: A lightweight wrapper to set up a
term.js terminal with a websocket.
+Local Installation:
+
+ $ pip install -e .[test]
+
+
Usage example:
.. code:: python
@@ -66,4 +71,4 @@
Run the unit tests with:
- $ nosetests
+ $ pytest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/terminado-0.9.2/setup.py new/terminado-0.9.5/setup.py
--- old/terminado-0.9.2/setup.py 2021-01-04 17:47:16.000000000 +0100
+++ new/terminado-0.9.5/setup.py 2021-05-11 13:35:48.000000000 +0200
@@ -21,9 +21,10 @@
long_description_content_type="text/x-rst",
install_requires = [
"ptyprocess;os_name!='nt'",
- "pywinpty (>=0.5);os_name=='nt'",
+ "pywinpty (>=0.5,<1);os_name=='nt'",
"tornado (>=4)",
],
+ extras_require = dict(test=['pytest']),
python_requires=">=3.6",
classifiers=[
"Environment :: Web Environment",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/terminado-0.9.2/terminado/__init__.py
new/terminado-0.9.5/terminado/__init__.py
--- old/terminado-0.9.2/terminado/__init__.py 2021-01-04 17:48:15.000000000
+0100
+++ new/terminado-0.9.5/terminado/__init__.py 2021-05-11 13:40:05.000000000
+0200
@@ -12,4 +12,4 @@
# Prevent a warning about no attached handlers in Python 2
logging.getLogger(__name__).addHandler(logging.NullHandler())
-__version__ = '0.9.2'
+__version__ = '0.9.5'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/terminado-0.9.2/terminado/management.py
new/terminado-0.9.5/terminado/management.py
--- old/terminado-0.9.2/terminado/management.py 2021-01-04 17:47:16.000000000
+0100
+++ new/terminado-0.9.5/terminado/management.py 2021-03-29 17:41:42.000000000
+0200
@@ -18,11 +18,15 @@
import logging
import os
import signal
+import codecs
try:
from ptyprocess import PtyProcessUnicode
+ def preexec_fn():
+ signal.signal(signal.SIGPIPE, signal.SIG_DFL)
except ImportError:
from winpty import PtyProcess as PtyProcessUnicode
+ preexec_fn = None
from tornado import gen
from tornado.ioloop import IOLoop
@@ -43,7 +47,14 @@
# We keep the same read_buffer as before
self.read_buffer = deque([], maxlen=10)
self.preopen_buffer = deque([])
- self.ptyproc = PtyProcessUnicode.spawn(argv, env=env, cwd=cwd)
+ kwargs = dict(argv=argv, env=env, cwd=cwd)
+ if preexec_fn is not None:
+ kwargs["preexec_fn"] = preexec_fn
+ self.ptyproc = PtyProcessUnicode.spawn(**kwargs)
+ # The output might not be strictly UTF-8 encoded, so
+ # we replace the inner decoder of PtyProcessUnicode
+ # to allow non-strict decode.
+ self.ptyproc.decoder =
codecs.getincrementaldecoder('utf-8')(errors='replace')
def resize_to_smallest(self):
"""Set the terminal size to that of the smallest client dimensions.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/terminado-0.9.2/terminado.egg-info/PKG-INFO
new/terminado-0.9.5/terminado.egg-info/PKG-INFO
--- old/terminado-0.9.2/terminado.egg-info/PKG-INFO 2021-01-04
17:50:20.000000000 +0100
+++ new/terminado-0.9.5/terminado.egg-info/PKG-INFO 2021-05-11
13:40:15.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: terminado
-Version: 0.9.2
+Version: 0.9.5
Summary: Tornado websocket backend for the Xterm.js Javascript terminal
emulator library.
Home-page: https://github.com/jupyter/terminado
Author: Jupyter Development Team
@@ -30,6 +30,11 @@
* ``terminado/_static/terminado.js``: A lightweight wrapper to set up a
term.js terminal with a websocket.
+ Local Installation:
+
+ $ pip install -e .[test]
+
+
Usage example:
.. code:: python
@@ -74,7 +79,7 @@
Run the unit tests with:
- $ nosetests
+ $ pytest
Platform: UNKNOWN
Classifier: Environment :: Web Environment
@@ -84,3 +89,4 @@
Classifier: Topic :: Terminals :: Terminal Emulators/X Terminals
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/terminado-0.9.2/terminado.egg-info/requires.txt
new/terminado-0.9.5/terminado.egg-info/requires.txt
--- old/terminado-0.9.2/terminado.egg-info/requires.txt 2021-01-04
17:50:20.000000000 +0100
+++ new/terminado-0.9.5/terminado.egg-info/requires.txt 2021-05-11
13:40:15.000000000 +0200
@@ -4,4 +4,7 @@
ptyprocess
[:os_name == "nt"]
-pywinpty>=0.5
+pywinpty<1,>=0.5
+
+[test]
+pytest