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,3 +1,26 @@
-------------------------------------------------------------------
Mon Feb 1 22:00:48 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 22 12:49:32 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Mon Jul 22 12:49:32 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c813fdcda8e81c3936ffeac47cb69cfb2d1f5e77ad0de656c6dab56aeebd9249
size 49345

BIN
sshtunnel-0.4.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.