Hello community,

here is the log from the commit of package python-asyncssh for openSUSE:Factory 
checked in at 2020-01-16 18:23:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-asyncssh (Old)
 and      /work/SRC/openSUSE:Factory/.python-asyncssh.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-asyncssh"

Thu Jan 16 18:23:01 2020 rev:10 rq:764958 version:2.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-asyncssh/python-asyncssh.changes  
2019-09-16 10:50:40.599170102 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-asyncssh.new.26092/python-asyncssh.changes   
    2020-01-16 18:23:12.485041113 +0100
@@ -1,0 +2,27 @@
+Thu Jan 16 12:16:52 UTC 2020 - Ondřej Súkup <[email protected]>
+
+- update to 2.1.0
+ * Added support in the SSHProcess redirect mechanism to accept asyncio 
StreamReader and StreamWriter objects, allowing asyncio streams to be plugged 
in as stdin/stdout/stderr in an SSHProcess.
+ * Added support for key handlers in the AsyncSSH line editor to trigger 
signals being delivered when certain “hot keys” are hit while reading input.
+ * Improved cleanup of unreturned connection objects when an error occurs or 
the connection request is canceled or times out.
+ * Improved cleanup of SSH agent client objects to avoid triggering a false 
positive warning in Python 3.8.
+ * Added an example to the documentation for how to create reverse-direction 
SSH client and server connections.
+ * Made check of session objects against None explicit to avoid confusion on 
user-defined sessions that implement __len__ or __bool__. Thanks go to 
Lars-Dominik Braun for contributing this improvement!
+ * Some API changes which should have been included in the 2.0.0 release were 
missed. This release corrects that, but means that additional changes may be 
needed in applications moving to 2.0.1. This should hopefully be the last of 
such changes, but if any other issues are discovered, additional changes will 
be limited to 2.0.x patch releases and the API will stabilize again in the 
AsyncSSH 2.1 release. See the next bullet for details about the additional 
incompatible change.
+ * To be consistent with other connect and listen functions, all methods on 
SSHClientConnection which previously returned None on listen failures have been 
changed to raise an exception instead. A new ChannelListenError exception will 
now be raised when an SSH server returns failure on a request to open a remote 
listener. This change affects the following SSHClientConnection methods: 
create_server, create_unix_server, start_server, start_unix_server, 
forward_remote_port, and forward_remote_path.
+ * Restored the ability for SSHListener objects to be used as async context 
managers. This previously worked in AsyncSSH 1.x and was unintentionally broken 
in AsyncSSH 2.0.0.
+ * Added support for a number of additional functions to be called from within 
an “async with” statement. These functions already returned objects capable of 
being async context managers, but were not decorated to allow them to be 
directly called from within “async with”. This change applies to the top level 
functions create_server, listen, and listen_reverse and the SSHClientConnection 
methods create_server, create_unix_server, start_server, start_unix_server, 
forward_local_port, forward_local_path, forward_remote_port, 
forward_remote_path, listen_ssh, and listen_reverse_ssh,
+ * Fixed a couple of issues in loading OpenSSH-format certificates which were 
missing a trailing newline.
+ * Changed load_certificates() to allow multiple certificates to be loaded 
from a single byte string argument, making it more consistent with how 
load_certificates() works when reading from a file.
+ * Updated AsyncSSH to use the modern async/await syntax internally, now 
requiring Python 3.6 or later. Those wishing to use AsyncSSH on Python 3.4 or 
3.5 should stick to the AsyncSSH 1.x releases.
+ * Changed first argument of SFTPServer constructor from an 
SSHServerConnection (conn) to an SSHServerChannel (chan) to allow custom SFTP 
server implementations to access environment variables set on the channel that 
SFTP is run over. Applications which subclass the SFTPServer class and 
implement an __init__ method will need to be updated to account for this change 
and pass the new argument through to the SFTPServer parent class. If the 
subclass has no __init__ and just uses the connection, channel, and env 
properties of SFTPServer to access this information, no changes should be 
required.
+ * Removed deprecated “session_encoding” and “session_errors” arguments from 
create_server() and listen() functions. These arguments were renamed to 
“encoding” and “errors” back in version 1.16.0 to be consistent with other 
AsyncSSH APIs.
+ * Removed get_environment(), get_command(), and get_subsystem() methods on 
SSHServerProcess class. This information was made available as “env”, 
“command”, and “subsystem” properties of SSHServerProcess in AsyncSSH 1.11.0.
+ * Removed optional loop argument from all public AsyncSSH APIs, consistent 
with the deprecation of this argument in the asyncio package in Python 3.8. 
Calls will now always use the event loop which is active at the time of the 
call.
+ * Removed support for non-async context managers on AsyncSSH connections and 
processes and SFTP client connections and file objects. Callers should use 
“async with” to invoke the async the context managers on these objects.
+ * Added support for SSHAgentClient being an async context manager. To be 
consistent with other connect calls, connect_agent() will now raise an 
exception when no agent is found or a connection failure occurs, rather than 
logging a warning and returning None. Callers should catch OSError or 
ChannelOpenError exceptions rather than looking for a return value of None when 
calling this function.
+ * Added set_input() and clear_input() methods on SSHLineEditorChannel to 
change the value of the current input line when line editing is enabled.
+ * Added is_closing() method to the SSHChannel, SSHProcess, SSHWriter, and 
SSHSubprocessTransport classes. mirroring the asyncio BaseTransport and 
StreamWriter methods added in Python 3.7.
+ * Added wait_closed() async method to the SSHWriter class, mirroring the 
asyncio StreamWriter method added in Python 3.7.
+
+-------------------------------------------------------------------

Old:
----
  asyncssh-1.18.0.tar.gz

New:
----
  asyncssh-2.1.0.tar.gz

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

Other differences:
------------------
++++++ python-asyncssh.spec ++++++
--- /var/tmp/diff_new_pack.bwnW1i/_old  2020-01-16 18:23:13.261041528 +0100
+++ /var/tmp/diff_new_pack.bwnW1i/_new  2020-01-16 18:23:13.261041528 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-asyncssh
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,24 +19,25 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-asyncssh
-Version:        1.18.0
+Version:        2.1.0
 Release:        0
 Summary:        Asynchronous SSHv2 client and server library
 License:        EPL-2.0 OR GPL-2.0-or-later
 Group:          Development/Languages/Python
-Url:            http://asyncssh.timeheart.net
+URL:            http://asyncssh.timeheart.net
 Source:         
https://files.pythonhosted.org/packages/source/a/asyncssh/asyncssh-%{version}.tar.gz
 BuildRequires:  %{python_module bcrypt >= 3.1.3}
-BuildRequires:  %{python_module cryptography >= 2.7}
+BuildRequires:  %{python_module cryptography >= 2.8}
 BuildRequires:  %{python_module gssapi >= 1.2.0}
 BuildRequires:  %{python_module pyOpenSSL >= 17.0.0}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module uvloop >= 0.9.1}
 BuildRequires:  fdupes
 BuildRequires:  openssh
 BuildRequires:  openssl
 BuildRequires:  python-rpm-macros
 Requires:       python-bcrypt >= 3.1.3
-Requires:       python-cryptography >= 2.7
+Requires:       python-cryptography >= 2.8
 Requires:       python-gssapi >= 1.2.0
 Requires:       python-libnacl >= 1.4.2
 Requires:       python-pyOpenSSL >= 17.0.0
@@ -46,8 +47,7 @@
 
 %description
 AsyncSSH is a Python package which provides an asynchronous client and
-server implementation of the SSHv2 protocol on top of the Python 3.4+
-asyncio framework.
+server implementation of the SSHv2 protocol on top of the Python asyncio 
framework.
 
 
 %prep
@@ -61,8 +61,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec -m unittest discover -s tests_py35
-%python_exec setup.py test
+%python_exec -m unittest discover -v 
 
 %files %{python_files}
 %license LICENSE COPYRIGHT

++++++ asyncssh-1.18.0.tar.gz -> asyncssh-2.1.0.tar.gz ++++++
++++ 27212 lines of diff (skipped)


Reply via email to