Hello community, here is the log from the commit of package python-terminado for openSUSE:Leap:15.2 checked in at 2020-02-19 18:49:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-terminado (Old) and /work/SRC/openSUSE:Leap:15.2/.python-terminado.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-terminado" Wed Feb 19 18:49:12 2020 rev:22 rq:777208 version:0.8.3 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-terminado/python-terminado.changes 2020-01-15 15:53:46.207609141 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-terminado.new.26092/python-terminado.changes 2020-02-19 18:49:13.299063805 +0100 @@ -1,0 +2,18 @@ +Mon Nov 18 16:04:39 UTC 2019 - Todd R <[email protected]> + +- Update to version 0.8.3 + * Addkwargs to NamedTermManager.new_named_terminal + +------------------------------------------------------------------- +Sun Aug 11 01:45:25 UTC 2019 - Todd R <[email protected]> + +- Enable tests + +------------------------------------------------------------------- +Wed Jun 12 19:50:31 UTC 2019 - Todd R <[email protected]> + +- Update to version 0.8.2 + * Fix Delete Terminal Not Working with Tornado version 6.0.1 + * Set websocket.terminal to None when the child exits + +------------------------------------------------------------------- Old: ---- terminado-0.8.1.tar.gz New: ---- terminado-0.8.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-terminado.spec ++++++ --- /var/tmp/diff_new_pack.KXPguP/_old 2020-02-19 18:49:13.667064197 +0100 +++ /var/tmp/diff_new_pack.KXPguP/_new 2020-02-19 18:49:13.671064201 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-terminado # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,24 +21,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-terminado -Version: 0.8.1 +Version: 0.8.3 Release: 0 Summary: Terminals served to termjs using Tornado websockets License: BSD-2-Clause Group: Development/Languages/Python Url: https://github.com/jupyter/terminado Source: https://files.pythonhosted.org/packages/source/t/terminado/terminado-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module ptyprocess} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module tornado} +BuildRequires: %{python_module tornado >= 4} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with tests} +# SECTION test requirements BuildRequires: %{python_module pytest} -%endif +# /SECTION Requires: python-ptyprocess -Requires: python-tornado +Requires: python-tornado >= 4 BuildArch: noarch %python_subpackages @@ -60,18 +59,12 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with tests} %check -pushd terminado/tests -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} -py.test-%{$python_bin_suffix} . -} -popd -%endif +%pytest -k 'not test_max_terminals' %files %{python_files} -%defattr(-,root,root,-) %doc README.rst +%license LICENSE %{python_sitelib}/* %changelog ++++++ terminado-0.8.1.tar.gz -> terminado-0.8.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.8.1/.travis.yml new/terminado-0.8.3/.travis.yml --- old/terminado-0.8.1/.travis.yml 2017-11-27 03:10:10.394414700 +0100 +++ new/terminado-0.8.3/.travis.yml 2019-11-12 16:14:31.553417000 +0100 @@ -1,3 +1,4 @@ +dist: trusty language: python python: - "3.6" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.8.1/PKG-INFO new/terminado-0.8.3/PKG-INFO --- old/terminado-0.8.1/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 +++ new/terminado-0.8.3/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: terminado -Version: 0.8.1 +Version: 0.8.3 Summary: Terminals served to xterm.js using Tornado websockets Home-page: https://github.com/jupyter/terminado Author: Jupyter Development Team diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.8.1/appveyor.yml new/terminado-0.8.3/appveyor.yml --- old/terminado-0.8.1/appveyor.yml 2017-11-28 11:58:19.970883000 +0100 +++ new/terminado-0.8.3/appveyor.yml 2019-11-12 16:14:31.554340800 +0100 @@ -26,4 +26,4 @@ - set PATH=%PYTHON%\\scripts;%PATH% - 'pip install tornado pywinpty pytest' test_script: - - 'py.test' + - 'py.test terminado/tests/basic_test.py::CommonTests::test_basic' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.8.1/pyproject.toml new/terminado-0.8.3/pyproject.toml --- old/terminado-0.8.1/pyproject.toml 2017-11-28 11:58:19.971196000 +0100 +++ new/terminado-0.8.3/pyproject.toml 2019-11-12 16:14:31.558033500 +0100 @@ -13,6 +13,7 @@ "pywinpty (>=0.5);os_name=='nt'", "tornado (>=4)", ] +requires-python=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" classifiers=[ "Environment :: Web Environment", "License :: OSI Approved :: BSD License", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.8.1/setup.py new/terminado-0.8.3/setup.py --- old/terminado-0.8.1/setup.py 1970-01-01 01:00:00.000000000 +0100 +++ new/terminado-0.8.3/setup.py 1970-01-01 01:00:00.000000000 +0100 @@ -16,7 +16,7 @@ {":os_name!='nt'": ['ptyprocess'], ":os_name=='nt'": ['pywinpty>=0.5']} setup(name='terminado', - version='0.8.1', + version='0.8.3', description='Terminals served to xterm.js using Tornado websockets', author='Jupyter Development Team', author_email='[email protected]', @@ -25,4 +25,5 @@ package_data=package_data, install_requires=install_requires, extras_require=extras_require, + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.8.1/terminado/__init__.py new/terminado-0.8.3/terminado/__init__.py --- old/terminado-0.8.1/terminado/__init__.py 2017-11-28 11:58:43.878768400 +0100 +++ new/terminado-0.8.3/terminado/__init__.py 2019-11-12 16:14:52.487119400 +0100 @@ -12,4 +12,4 @@ # Prevent a warning about no attached handlers in Python 2 logging.getLogger(__name__).addHandler(logging.NullHandler()) -__version__ = '0.8.1' +__version__ = '0.8.3' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.8.1/terminado/management.py new/terminado-0.8.3/terminado/management.py --- old/terminado-0.8.1/terminado/management.py 2017-11-27 03:10:10.397086600 +0100 +++ new/terminado-0.8.3/terminado/management.py 2019-11-12 16:14:31.558788000 +0100 @@ -86,7 +86,7 @@ signal.SIGTERM] loop = IOLoop.current() - sleep = lambda : gen.Task(loop.add_timeout, loop.time() + self.ptyproc.delayafterterminate) + sleep = lambda : gen.sleep(self.ptyproc.delayafterterminate) if not self.ptyproc.isalive(): raise gen.Return(True) @@ -314,9 +314,9 @@ if name not in self.terminals: return name - def new_named_terminal(self): + def new_named_terminal(self, **kwargs): name = self._next_available_name() - term = self.new_terminal() + term = self.new_terminal(**kwargs) self.log.info("New terminal with automatic name: %s", name) term.term_name = name self.terminals[name] = term diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terminado-0.8.1/terminado/websocket.py new/terminado-0.8.3/terminado/websocket.py --- old/terminado-0.8.1/terminado/websocket.py 2017-11-27 03:10:10.398132800 +0100 +++ new/terminado-0.8.3/terminado/websocket.py 2019-11-12 16:14:31.560023300 +0100 @@ -100,3 +100,4 @@ """ self.send_json_message(['disconnect', 1]) self.close() + self.terminal = None
