commit python-sshtunnel for openSUSE:Factory

2024-03-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sshtunnel for 
openSUSE:Factory checked in at 2024-03-28 13:55:11

Comparing /work/SRC/openSUSE:Factory/python-sshtunnel (Old)
 and  /work/SRC/openSUSE:Factory/.python-sshtunnel.new.1905 (New)


Package is "python-sshtunnel"

Thu Mar 28 13:55:11 2024 rev:9 rq:1163239 version:0.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-sshtunnel/python-sshtunnel.changes
2024-03-27 20:42:55.473909902 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sshtunnel.new.1905/python-sshtunnel.changes  
2024-03-28 14:29:49.895652857 +0100
@@ -1,0 +2,5 @@
+Thu Mar 28 07:19:25 UTC 2024 - Steve Kowalik 
+
+- Require update-alternatives for the scriptlets. 
+
+---



Other differences:
--
++ python-sshtunnel.spec ++
--- /var/tmp/diff_new_pack.pSgkk1/_old  2024-03-28 14:29:56.687902655 +0100
+++ /var/tmp/diff_new_pack.pSgkk1/_new  2024-03-28 14:29:56.691902803 +0100
@@ -36,6 +36,8 @@
 BuildRequires:  python-rpm-macros
 Requires:   openssh
 Requires:   python-paramiko >= 2.7.2
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 %python_subpackages
 
@@ -73,7 +75,7 @@
 %license LICENSE
 %doc *.rst
 %python_alternative %{_bindir}/sshtunnel
-%{python_sitelib}/__pycache__/sshtunnel*pyc
+%pycache_only %{python_sitelib}/__pycache__/sshtunnel*pyc
 %{python_sitelib}/sshtunnel.py
-%{python_sitelib}/sshtunnel-*.dist-info
+%{python_sitelib}/sshtunnel-{%version}.dist-info
 


commit python-sshtunnel for openSUSE:Factory

2024-03-27 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sshtunnel for 
openSUSE:Factory checked in at 2024-03-27 20:42:26

Comparing /work/SRC/openSUSE:Factory/python-sshtunnel (Old)
 and  /work/SRC/openSUSE:Factory/.python-sshtunnel.new.1905 (New)


Package is "python-sshtunnel"

Wed Mar 27 20:42:26 2024 rev:8 rq:1162364 version:0.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-sshtunnel/python-sshtunnel.changes
2024-01-15 22:21:52.120664647 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sshtunnel.new.1905/python-sshtunnel.changes  
2024-03-27 20:42:55.473909902 +0100
@@ -1,0 +2,9 @@
+Tue Mar 26 18:57:48 UTC 2024 - John Paul Adrian Glaubitz 

+
+- Switch build system from setuptools to pyproject.toml
+  + Add python-pip and python-wheel to BuildRequires
+  + Replace %python_build with %pyproject_wheel
+  + Replace %python_install with %pyproject_install
+- Limit Python files matched in %files section
+
+---



Other differences:
--
++ python-sshtunnel.spec ++
--- /var/tmp/diff_new_pack.GbFvj9/_old  2024-03-27 20:42:55.977928486 +0100
+++ /var/tmp/diff_new_pack.GbFvj9/_new  2024-03-27 20:42:55.981928633 +0100
@@ -26,8 +26,10 @@
 URL:https://github.com/pahaz/sshtunnel/
 Source: 
https://files.pythonhosted.org/packages/source/s/sshtunnel/sshtunnel-%{version}.tar.gz
 BuildRequires:  %{python_module paramiko >= 2.7.2}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 # for the tests to validate some things
 BuildRequires:  fdupes
 BuildRequires:  openssh
@@ -49,10 +51,10 @@
 sed -i '1{\,^#!%{_bindir}/env python,d}' sshtunnel.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/sshtunnel
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
@@ -71,5 +73,7 @@
 %license LICENSE
 %doc *.rst
 %python_alternative %{_bindir}/sshtunnel
-%{python_sitelib}/*
+%{python_sitelib}/__pycache__/sshtunnel*pyc
+%{python_sitelib}/sshtunnel.py
+%{python_sitelib}/sshtunnel-*.dist-info
 


commit python-sshtunnel for openSUSE:Factory

2022-04-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sshtunnel for 
openSUSE:Factory checked in at 2022-04-20 16:57:24

Comparing /work/SRC/openSUSE:Factory/python-sshtunnel (Old)
 and  /work/SRC/openSUSE:Factory/.python-sshtunnel.new.1941 (New)


Package is "python-sshtunnel"

Wed Apr 20 16:57:24 2022 rev:6 rq:971021 version:0.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-sshtunnel/python-sshtunnel.changes
2021-02-02 14:26:00.051422532 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sshtunnel.new.1941/python-sshtunnel.changes  
2022-04-20 16:57:52.902653969 +0200
@@ -1,0 +2,5 @@
+Wed Apr 20 07:47:51 UTC 2022 - pgaj...@suse.com
+
+- do not require python-mock for build
+
+---



Other differences:
--
++ python-sshtunnel.spec ++
--- /var/tmp/diff_new_pack.46NQen/_old  2022-04-20 16:57:53.266654309 +0200
+++ /var/tmp/diff_new_pack.46NQen/_new  2022-04-20 16:57:53.270654312 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sshtunnel
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,6 @@
 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 >= 2.7.2}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -58,6 +57,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+# https://github.com/pahaz/sshtunnel/issues/259
+sed -i 's:import mock:from unittest import mock:' tests/test_forwarder.py
 %pytest
 
 %post


commit python-sshtunnel for openSUSE:Factory

2021-02-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sshtunnel for 
openSUSE:Factory checked in at 2021-02-02 14:25:41

Comparing /work/SRC/openSUSE:Factory/python-sshtunnel (Old)
 and  /work/SRC/openSUSE:Factory/.python-sshtunnel.new.28504 (New)


Package is "python-sshtunnel"

Tue Feb  2 14:25:41 2021 rev:5 rq:868477 version:0.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-sshtunnel/python-sshtunnel.changes
2019-07-22 17:20:02.397900218 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-sshtunnel.new.28504/python-sshtunnel.changes 
2021-02-02 14:26:00.051422532 +0100
@@ -1,0 +2,23 @@
+Mon Feb  1 22:00:48 UTC 2021 - Dirk M??ller 
+
+- 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.
+
+---

Old:

  sshtunnel-0.1.5.tar.gz

New:

  sshtunnel-0.4.0.tar.gz



Other differences:
--
++ python-sshtunnel.spec ++
--- /var/tmp/diff_new_pack.hNM97M/_old  2021-02-02 14:26:00.771423652 +0100
+++ /var/tmp/diff_new_pack.hNM97M/_new  2021-02-02 14:26:00.771423652 +0100
@@ -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 @@
 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:  openssh
 BuildRequires:  python-rpm-macros
 Requires:   openssh
-Requires:   python-paramiko >= 1.15.2
+Requires:   python-paramiko >= 2.7.2
 BuildArch:  noarch
 %python_subpackages
 

++ sshtunnel-0.1.5.tar.gz -> sshtunnel-0.4.0.tar.gz ++
 2441 lines of diff (skipped)