Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-netmiko for openSUSE:Factory checked in at 2022-03-31 17:18:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-netmiko (Old) and /work/SRC/openSUSE:Factory/.python-netmiko.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-netmiko" Thu Mar 31 17:18:57 2022 rev:15 rq:966224 version:4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-netmiko/python-netmiko.changes 2021-04-24 23:10:42.571526858 +0200 +++ /work/SRC/openSUSE:Factory/.python-netmiko.new.1900/python-netmiko.changes 2022-03-31 17:19:36.084653404 +0200 @@ -1,0 +2,65 @@ +Wed Mar 30 09:27:17 UTC 2022 - Martin Hauke <mardnh@gmx.de> + +- Update to vedrsion 4.0.0 + Backwards incompatible and other major changes + * Convert send_command to use read_timeout. + * Convert send_command_timing to use read_timeout and last_read + * Add type hints and mypy support + * Relocate exceptions module to netmiko.exceptions (was + ssh_exceptions) + * Add read_timeout argument to send_config_set + * Convert netmiko-tools to be an entry point and directly a part + of Netmiko library + * Creating a new internal Channel class + * Restructure read methods + * Implement NoEnable and NoConfig inheritance classes to + standardize no-config and no-enable behavior + Major new features + * Add send_multiline() method + * Add send_multiline_timing() method + * Create new Netmiko factory function named ConnLogOnly + * Create new Netmiko factory function named ConnUnify + New Drivers + * Cisco Viptela Driver + * Dell SONiC Driver + * Cisco S300 Telnet Driver + * Allied Telesis AlliedWare Plus Driver + * Zyxel Driver + * Extreme Tierra OS Driver + * Extreme EXOS Secure Copy Support + Minor Enhancements + * Centralize standard no_auth code into SSHClient_noauth + * Remove vendored Textfsm library code + * Add a shim for cisco_xe to use cisco_ios in ntc-templates + * WLC add method send_command_w_yes to handle show command + that still prompts for pagination + * Platforms added to SSH autodetect + * Expand ANSI escape code stripping + * Expand SNMP autodetect support + Bug Fixes + * Fix read ahead issue with read methods + * Fix ntc-templates directory structure issue + * Aruba OS fix for hostname changes + * Fix flexvnf enter cli and prompt issue + * Mikrotik driver improvements and fixes + * Fixing IOS-XR confirm prompting issue during commit + * Fix the pan-os acknowledgment banner + * Fix Juniper ScreenOS accept issue + * Add support for Username: for telnet login on ProCurve + * Change ArubaOS command to disable paging + * utf-8 encoding for session_log + * Add bypass_commands support to send_config_set to disable + cmd_verify + * Fix disconnect() call for Dlink DS driver + * Prevent secret from being leaked to debug log + * Fix send_command() read issue where data spanned the deque + * Improve set_base_prompt behavior + * Increase the default conn_timeout to 10 seconds improve + Paramiko behavior on slow connections + Performance Improvements + * Fix IOS-XR performance issues + * Implement Netmiko performance improvements for a large set + of drivers (about half the drivers) + * Fixing Linux very slow disconnect issue + +------------------------------------------------------------------- Old: ---- netmiko-3.4.0.tar.gz New: ---- netmiko-4.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-netmiko.spec ++++++ --- /var/tmp/diff_new_pack.uNXKEA/_old 2022-03-31 17:19:36.764645648 +0200 +++ /var/tmp/diff_new_pack.uNXKEA/_new 2022-03-31 17:19:36.768645602 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-netmiko # -# 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 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-netmiko -Version: 3.4.0 +Version: 4.0.0 Release: 0 Summary: Multi-vendor library to simplify Paramiko SSH connections to network devices License: MIT @@ -34,7 +34,7 @@ Requires: python-pyserial Requires: python-scp >= 0.13.2 Requires: python-tenacity -Requires: python-textfsm +Requires: python-textfsm >= 1.1.2 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML} @@ -60,6 +60,9 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/netmiko-cfg +%python_clone -a %{buildroot}%{_bindir}/netmiko-grep +%python_clone -a %{buildroot}%{_bindir}/netmiko-show %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -70,9 +73,22 @@ # Unfortunately, we can't do that during build as those doesn't appeared # to be unit tests. +%post +%python_install_alternative netmiko-cfg +%python_install_alternative netmiko-grep +%python_install_alternative netmiko-show + +%postun +%python_uninstall_alternative netmiko-cfg +%python_uninstall_alternative netmiko-grep +%python_uninstall_alternative netmiko-show + %files %{python_files} %license LICENSE %doc README.md +%python_alternative %{_bindir}/netmiko-cfg +%python_alternative %{_bindir}/netmiko-grep +%python_alternative %{_bindir}/netmiko-show %{python_sitelib}/* %changelog ++++++ netmiko-3.4.0.tar.gz -> netmiko-4.0.0.tar.gz ++++++ ++++ 105360 lines of diff (skipped)
participants (1)
-
Source-Sync