14
0

- update to 0.4.0:

+ Change the daemon mod flag for all tunnel threads (is not fully backward
      compatible) to prevent unexpected hangs (`#219`_) + Add docker based end to end
      functinal tests for Mongo/Postgres/MySQL
    + Add docker based end to end hangs tests
    + Fix host key directory detection
    + Unify default ssh config folder to `~/.ssh`
    + Increase open connection timeout to 10 secods
    + Change default with context behavior to use `.stop(force=True)` on exit
    + Remove useless `daemon_forward_servers = True` hack for hangs prevention
    + Set transport keepalive to 5 second by default
    + Set default transport timeout to 0.1
    + Deprecate and remove `block_on_close` option
    + Fix "deadlocks" / "tunneling hangs"
    + Add `.stop(force=True)` for force close active connections
    + Fixes bug with orphan thread for a tunnel that is DOWN 
    + Support IPv6 without proxy command. Use built-in paramiko create socket
      logic. The logic tries to use ipv6 socket family first, then ipv4 socket
      family.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sshtunnel?expand=0&rev=11
This commit is contained in:
2021-02-01 22:04:28 +00:00
committed by Git OBS Bridge
parent 9767e7a435
commit 40f91f6cc5
4 changed files with 30 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-sshtunnel
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sshtunnel
Version: 0.1.5
Version: 0.4.0
Release: 0
Summary: SSH tunnels to remote server
License: MIT
@@ -26,7 +26,7 @@ Group: Development/Languages/Python
URL: https://github.com/pahaz/sshtunnel/
Source: https://files.pythonhosted.org/packages/source/s/sshtunnel/sshtunnel-%{version}.tar.gz
BuildRequires: %{python_module mock}
BuildRequires: %{python_module paramiko >= 1.15.2}
BuildRequires: %{python_module paramiko >= 2.7.2}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
# for the tests to validate some things
@@ -34,7 +34,7 @@ BuildRequires: fdupes
BuildRequires: openssh
BuildRequires: python-rpm-macros
Requires: openssh
Requires: python-paramiko >= 1.15.2
Requires: python-paramiko >= 2.7.2
BuildArch: noarch
%python_subpackages