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-10-26 12:31:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-napalm (Old) and /work/SRC/openSUSE:Factory/.python-napalm.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-napalm" Wed Oct 26 12:31:37 2022 rev:13 rq:1031189 version:4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-napalm/python-napalm.changes 2022-08-05 19:52:22.053667391 +0200 +++ /work/SRC/openSUSE:Factory/.python-napalm.new.2275/python-napalm.changes 2022-10-26 12:31:39.684295719 +0200 @@ -1,0 +2,50 @@ +Tue Oct 25 07:19:55 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com> + +- Remove empty netmiko-4-support.patch + +------------------------------------------------------------------- +Fri Oct 21 11:13:13 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com> + +- Update to 4.0.0 + Type Hinting + ============ + - After months of work, @Kircheneer added type hinting support in #1412 and + #1476. + New features + ============ + - Add Commit-Confirm support for Cisco IOS #1691 + - New encoding argument added to the cli method to return the output of + operational / show commands in the desired format. Currently supported on + Junos and EOS. #1637 & #1663 + - Added ttp_parse helper function to codebase #1563 + - Replaced ciscoconfparse with netutils #1565 + - New SSH transport available for Arista EOS - thanks @thomasbridge74 #1502 + Improvements + ============ + - Adds mac and ip checks for getters #1560 + - The uptime field in the get_facts return is now float type: #1651 + - [NX-OS] Improve compare_config for NXOS partial merging #1567 + - [EOS] support arbitrary transport class #1643 & #1647 + - [EOS] move config lock check to _load_config #1642 + - [EOS] Handle modern memory output from Arista EOS 4.27+ #1673 + - [IOS-XR] Improving get_facts behavior to handle XML changes in newer OS + versions #1667 + - [Junos] make sure we don't duplicate LLDP neighbor entries #1640 + Bug fixes + ========= + - [Junos] find for system uptime element #1675 + - [IOS-XR] get_lldp_neighbor_details does not support 'N/A' capabilities + #1681 + - [IOS-XR] get_lldp_neighbor_details add alternative lldp local interface key + #1682 + - [NX-OS] get_interfaces fix description on SVI interfaces #1571 + - [IOS] get_vlans does not return all interfaces if they wrap around in the + config #1569 + - [Junos] Fix #1549: Check peer admin status from the BGP options #1566 + - [EOS] get_bgp_neighbors_detail only returns back a single peer for a + certain EOS platform #1573 + +- Update to 3.4.1 + * Pinning to junos-eznc>=2.6.3 + +------------------------------------------------------------------- Old: ---- napalm-3.4.0.tar.gz netmiko-4-support.patch New: ---- napalm-4.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-napalm.spec ++++++ --- /var/tmp/diff_new_pack.d7av8s/_old 2022-10-26 12:31:40.300297036 +0200 +++ /var/tmp/diff_new_pack.d7av8s/_new 2022-10-26 12:31:40.312297061 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-napalm -Version: 3.4.0 +Version: 4.0.0 Release: 0 Summary: Network Automation and Programmability Abstraction Layer License: Apache-2.0 @@ -28,7 +28,6 @@ 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 @@ -37,7 +36,7 @@ Requires: python-cffi >= 1.11.3 Requires: python-ciscoconfparse Requires: python-future -Requires: python-junos-eznc >= 2.2.1 +Requires: python-junos-eznc >= 2.6.3 Requires: python-lxml >= 4.3.0 Requires: python-ncclient Requires: python-netaddr @@ -56,14 +55,14 @@ BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module cffi >= 1.11.3} -BuildRequires: %{python_module ciscoconfparse} BuildRequires: %{python_module ddt} BuildRequires: %{python_module future} -BuildRequires: %{python_module junos-eznc >= 2.2.1} +BuildRequires: %{python_module junos-eznc >= 2.6.3} BuildRequires: %{python_module lxml >= 4.3.0} BuildRequires: %{python_module ncclient} BuildRequires: %{python_module netaddr} BuildRequires: %{python_module netmiko >= 4.0.0} +BuildRequires: %{python_module netutils >= 1.0.0} BuildRequires: %{python_module paramiko >= 2.6.0} BuildRequires: %{python_module pyeapi >= 0.8.2} BuildRequires: %{python_module pytest >= 5.4.3} @@ -71,6 +70,8 @@ BuildRequires: %{python_module scp} BuildRequires: %{python_module setuptools >= 38.4.0} BuildRequires: %{python_module textfsm} +BuildRequires: %{python_module ttp-templates} +BuildRequires: %{python_module ttp} BuildRequires: %{python_module typing_extensions} # /SECTION %python_subpackages ++++++ napalm-3.4.0.tar.gz -> napalm-4.0.0.tar.gz ++++++ ++++ 11584 lines of diff (skipped) ++++++ python-napalm-no-mock.patch ++++++ --- /var/tmp/diff_new_pack.d7av8s/_old 2022-10-26 12:31:41.584299781 +0200 +++ /var/tmp/diff_new_pack.d7av8s/_new 2022-10-26 12:31:41.588299789 +0200 @@ -1,9 +1,9 @@ -Index: napalm-3.4.0/test/nxos/test_getters.py +Index: napalm-4.0.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 +--- napalm-4.0.0.orig/test/nxos/test_getters.py ++++ napalm-4.0.0/test/nxos/test_getters.py @@ -5,7 +5,7 @@ from napalm.base.test import helpers - from napalm.base.test import models + from napalm.base import models import pytest -from mock import patch @@ -11,12 +11,12 @@ def mock_time(): -Index: napalm-3.4.0/test/nxos_ssh/test_getters.py +Index: napalm-4.0.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 +--- napalm-4.0.0.orig/test/nxos_ssh/test_getters.py ++++ napalm-4.0.0/test/nxos_ssh/test_getters.py @@ -5,7 +5,7 @@ from napalm.base.test import helpers - from napalm.base.test import models + from napalm.base import models import pytest -from mock import patch @@ -24,10 +24,10 @@ def mock_time(): -Index: napalm-3.4.0/test/eos/test_heredoc.py +Index: napalm-4.0.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 +--- napalm-4.0.0.orig/test/eos/test_heredoc.py ++++ napalm-4.0.0/test/eos/test_heredoc.py @@ -1,4 +1,4 @@ -import mock +import unittest.mock as mock