15
0

Accepting request 1244259 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1244259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netmiko?expand=0&rev=23
This commit is contained in:
2025-02-09 19:01:31 +00:00
committed by Git OBS Bridge
4 changed files with 53 additions and 7 deletions

View File

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

3
netmiko-4.5.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,41 @@
-------------------------------------------------------------------
Fri Feb 7 13:04:41 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.5.0
* New Drivers
- Vertiv MPH PDUs Driver (#3460)
- Garderos GRS Driver (#3429)
- Cisco APIC Driver (Linux) (#3461)
- Alaxala AX2600s and AX3600s Driver (#3462)
* Other Major Changes
- Fixes to support PY3.13
- Retire PY3.8 Support
- Add raise_parsing_error parameter to send_command and send_command_timing
- Improve Netmiko cli-tools output formatting behavior
- Adding encryption support to Netmiko cli-tools (#3505)
- Update Netmiko cli_tools to make them more modular and use concurrent features
* Other Improvements and bug fixes
- Nokia SRL prompt stripping (#3531)
- Lower Cisco ios priority to eliminate conflicts with ios-xe (#3538)
- Handle MikroTik press enter to continue issue (#3458)
- Add Query Device to ANSI Escape Codes for MikroTik (#3457)
- Fix Mikrotik graceful exit command (#3468)
- Adding support for pysnmp version6 (#3473)
- Linux SSH fix for 'Invalid output from MD5 command' (#3486)
- Add support for md-cli only mode in nokia_sros (#3496)
- Do not explicitly require secondary dependencies (#3515)
- Zyxel fix for next line character in output (#3524)
- Fortinet _preferred_kex settings fix (#3530)
- Sophos fix to allow to allow user to better navigate the interactive menu prompt
- Add bracketed paste mode to ANSI escape codes
- Add 'split-task' to possible vdom configs for Fortinet (#3464)
- Add Bulk encryption utility for .netmiko.yml file
- Documentation and test improvements
- Add new binaries
* netmiko-bulk-encrypt
* netmiko-encrypt
- Update BuildRequires and Requires from pyproject.toml
-------------------------------------------------------------------
Tue Oct 1 05:35:01 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-netmiko
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,20 @@
%{?sle15_python_module_pythons}
Name: python-netmiko
Version: 4.4.0
Version: 4.5.0
Release: 0
Summary: Multi-vendor library to simplify Paramiko SSH connections to network devices
License: MIT
URL: https://github.com/ktbyers/netmiko
Source: https://files.pythonhosted.org/packages/source/n/netmiko/netmiko-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
BuildRequires: %{python_module setuptools >= 65.0.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML >= 5.3
Requires: python-PyYAML >= 6.0.2
Requires: python-cffi >= 1.17.0
Requires: python-ntc-templates >= 3.1.0
Requires: python-paramiko >= 2.9.5
@@ -67,7 +67,9 @@ sed -i -e '/^#!\//, 1d' \
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/netmiko-bulk-encrypt
%python_clone -a %{buildroot}%{_bindir}/netmiko-cfg
%python_clone -a %{buildroot}%{_bindir}/netmiko-encrypt
%python_clone -a %{buildroot}%{_bindir}/netmiko-grep
%python_clone -a %{buildroot}%{_bindir}/netmiko-show
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -86,19 +88,25 @@ popd
# to be unit tests.
%post
%python_install_alternative netmiko-bulk-encrypt
%python_install_alternative netmiko-cfg
%python_install_alternative netmiko-encrypt
%python_install_alternative netmiko-grep
%python_install_alternative netmiko-show
%postun
%python_uninstall_alternative netmiko-bulk-encrypt
%python_uninstall_alternative netmiko-cfg
%python_uninstall_alternative netmiko-encrypt
%python_uninstall_alternative netmiko-grep
%python_uninstall_alternative netmiko-show
%files %{python_files}
%license LICENSE
%doc README.md
%python_alternative %{_bindir}/netmiko-bulk-encrypt
%python_alternative %{_bindir}/netmiko-cfg
%python_alternative %{_bindir}/netmiko-encrypt
%python_alternative %{_bindir}/netmiko-grep
%python_alternative %{_bindir}/netmiko-show
%{python_sitelib}/netmiko