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-03-24 22:58:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-napalm (Old)
 and      /work/SRC/openSUSE:Factory/.python-napalm.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-napalm"

Thu Mar 24 22:58:36 2022 rev:11 rq:964675 version:3.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-napalm/python-napalm.changes      
2022-01-13 23:22:00.076069459 +0100
+++ /work/SRC/openSUSE:Factory/.python-napalm.new.1900/python-napalm.changes    
2022-03-24 23:00:46.204410955 +0100
@@ -1,0 +2,28 @@
+Thu Mar 24 12:42:56 UTC 2022 - [email protected]
+
+- version update to 3.4.0
+  Junos
+      Junos discard_config on error fix #1448
+      Junos LLDP improvements #1470
+      Junos pass self.ignore_warning to diff call in compare_config() #1480
+  NX-OS
+      Improve NX-API error messages #1461
+      NX-OS disable SSL InsecureRequestWarning if ssl_verify is False #1510
+      NX-OS unknown interface MTU and unknown speed as -1 #1511
+      NX-OS improve JSON handling in newer NX-OS versions #1490
+  IOS
+      IOS allow BGP configuration with no explicit AFI #1477
+      Escape vlan_name on IOS before building regex string #1546
+      Handle get_network_instances for IOS devices that do not support show 
vrf detail #1547
+  EOS
+      EOS fix get_bgp_config mismatch between neighbors and peer-group #1503
+  IOS-XR
+      Pass IOS-XR NETCONF optional_args to ncclient connect #1535
+  General
+      Bandwidth parameter returned as a float
+      Pin Netmiko to require Netmiko version 3.3.X or 3.4.X
+- added patches
+  fix https://github.com/napalm-automation/napalm/issues/1594
+  + python-napalm-no-mock.patch
+
+-------------------------------------------------------------------

Old:
----
  napalm-3.3.1.tar.gz

New:
----
  napalm-3.4.0.tar.gz
  python-napalm-no-mock.patch

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

Other differences:
------------------
++++++ python-napalm.spec ++++++
--- /var/tmp/diff_new_pack.omZxdM/_old  2022-03-24 23:00:46.688411422 +0100
+++ /var/tmp/diff_new_pack.omZxdM/_new  2022-03-24 23:00:46.692411427 +0100
@@ -19,13 +19,15 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-napalm
-Version:        3.3.1
+Version:        3.4.0
 Release:        0
 Summary:        Network Automation and Programmability Abstraction Layer
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://github.com/napalm-automation/napalm
 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
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -78,7 +80,7 @@
 interact with different router vendor devices using a unified API.
 
 %prep
-%setup -q -n napalm-%{version}
+%autosetup -p1 -n napalm-%{version}
 sed -i '1{/env python/d}' napalm/pyIOSXR/*.py
 
 %build

++++++ napalm-3.3.1.tar.gz -> napalm-3.4.0.tar.gz ++++++
++++ 5484 lines of diff (skipped)

++++++ python-napalm-no-mock.patch ++++++
Index: napalm-3.4.0/test/nxos/test_getters.py
===================================================================
--- napalm-3.4.0.orig/test/nxos/test_getters.py 2022-02-12 19:54:06.000000000 
+0100
+++ napalm-3.4.0/test/nxos/test_getters.py      2022-03-24 13:25:06.984241556 
+0100
@@ -5,7 +5,7 @@ from napalm.base.test import helpers
 from napalm.base.test import models
 
 import pytest
-from mock import patch
+from unittest.mock import patch
 
 
 def mock_time():
Index: napalm-3.4.0/test/nxos_ssh/test_getters.py
===================================================================
--- napalm-3.4.0.orig/test/nxos_ssh/test_getters.py     2022-02-12 
19:54:06.000000000 +0100
+++ napalm-3.4.0/test/nxos_ssh/test_getters.py  2022-03-24 13:24:34.132045526 
+0100
@@ -5,7 +5,7 @@ from napalm.base.test import helpers
 from napalm.base.test import models
 
 import pytest
-from mock import patch
+from unittest.mock import patch
 
 
 def mock_time():
Index: napalm-3.4.0/test/eos/test_heredoc.py
===================================================================
--- napalm-3.4.0.orig/test/eos/test_heredoc.py  2022-02-12 19:54:06.000000000 
+0100
+++ napalm-3.4.0/test/eos/test_heredoc.py       2022-03-24 13:27:07.968963492 
+0100
@@ -1,4 +1,4 @@
-import mock
+import unittest.mock as mock
 import pytest
 from textwrap import dedent
 

Reply via email to