Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-napalm for openSUSE:Factory 
checked in at 2022-08-05 19:51:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-napalm (Old)
 and      /work/SRC/openSUSE:Factory/.python-napalm.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-napalm"

Fri Aug  5 19:51:28 2022 rev:12 rq:993200 version:3.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-napalm/python-napalm.changes      
2022-03-24 23:00:46.204410955 +0100
+++ /work/SRC/openSUSE:Factory/.python-napalm.new.1521/python-napalm.changes    
2022-08-05 19:52:22.053667391 +0200
@@ -1,0 +2,8 @@
+Fri Aug  5 04:58:33 UTC 2022 - Steve Kowalik <[email protected]>
+
+- Add patch netmiko-4-support.patch:
+  * Support netmiko >= 4
+  * As a consequence, bump {Build,}Requires on netmiko to >= 4.
+- Remove unneeded BuildRequires on mock 
+
+-------------------------------------------------------------------

New:
----
  netmiko-4-support.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-napalm.spec ++++++
--- /var/tmp/diff_new_pack.ah1GyK/_old  2022-08-05 19:52:22.649668931 +0200
+++ /var/tmp/diff_new_pack.ah1GyK/_new  2022-08-05 19:52:22.653668940 +0200
@@ -28,6 +28,7 @@
 Source:         
https://github.com/napalm-automation/napalm/archive/%{version}.tar.gz#/napalm-%{version}.tar.gz
 # https://github.com/napalm-automation/napalm/issues/1594
 Patch0:         python-napalm-no-mock.patch
+Patch1:         netmiko-4-support.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -40,7 +41,7 @@
 Requires:       python-lxml >= 4.3.0
 Requires:       python-ncclient
 Requires:       python-netaddr
-Requires:       python-netmiko >= 3.1.0
+Requires:       python-netmiko >= 4.0.0
 Requires:       python-paramiko >= 2.6.0
 Requires:       python-pyeapi >= 0.8.2
 Requires:       python-requests >= 2.7.0
@@ -60,10 +61,9 @@
 BuildRequires:  %{python_module future}
 BuildRequires:  %{python_module junos-eznc >= 2.2.1}
 BuildRequires:  %{python_module lxml >= 4.3.0}
-BuildRequires:  %{python_module mock >= 4.0.3}
 BuildRequires:  %{python_module ncclient}
 BuildRequires:  %{python_module netaddr}
-BuildRequires:  %{python_module netmiko >= 3.1.0}
+BuildRequires:  %{python_module netmiko >= 4.0.0}
 BuildRequires:  %{python_module paramiko >= 2.6.0}
 BuildRequires:  %{python_module pyeapi >= 0.8.2}
 BuildRequires:  %{python_module pytest >= 5.4.3}

++++++ netmiko-4-support.patch ++++++
Index: napalm-3.4.0/napalm/pyIOSXR/iosxr.py
===================================================================
--- napalm-3.4.0.orig/napalm/pyIOSXR/iosxr.py
+++ napalm-3.4.0/napalm/pyIOSXR/iosxr.py
@@ -35,8 +35,8 @@ from xml.sax.saxutils import escape as e
 # third party lib
 from lxml import etree as ET
 from netmiko import ConnectHandler
-from netmiko.ssh_exception import NetMikoTimeoutException
-from netmiko.ssh_exception import NetMikoAuthenticationException
+from netmiko.exceptions import NetMikoTimeoutException
+from netmiko.exceptions import NetMikoAuthenticationException
 
 # local modules
 from napalm.pyIOSXR.exceptions import LockError

Reply via email to