Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-junos-eznc for
openSUSE:Factory checked in at 2024-02-12 18:53:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-junos-eznc (Old)
and /work/SRC/openSUSE:Factory/.python-junos-eznc.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-junos-eznc"
Mon Feb 12 18:53:25 2024 rev:15 rq:1146140 version:2.7.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-junos-eznc/python-junos-eznc.changes
2023-03-02 23:04:27.052137888 +0100
+++
/work/SRC/openSUSE:Factory/.python-junos-eznc.new.1815/python-junos-eznc.changes
2024-02-12 18:55:45.414184083 +0100
@@ -1,0 +2,24 @@
+Mon Feb 12 11:01:26 UTC 2024 - Daniel Garcia <[email protected]>
+
+- Update to 2.7.0:
+ - Support added for Python 3.10 and above version.
+- 2.6.8:
+ - Introduced optional argument routing instance for fs.cp() API
+ - Introduced optional argument member_id for installation of pkg on
+ specific member id of EX-VC
+ - Changed the VlanTable field name to vlan-name and BfdSessionTable
+ field name to client-name #423
+ - Fixed the port details in StartShell to use the port from Device
+ object instead of default Port 22 #573
+ - Fixed the sw.install to use Windows file path for package copy
+ #1206
+ - Fixed the sw.install to install the vc_master after the other
+ vc_members gets installed for EX-3400 where unlink is set by
+ default #1247
+ - Removed Unused Dependency: Netaddr #1257
+ - Fixed "object": version_info(re_version) emits ValueError: invalid
+ literal for int() with base 10: '17-EVO' for EVO version
+ X50.17-EVO#1264
+- Drop python-junos-eznc-remove-nose.patch
+
+-------------------------------------------------------------------
Old:
----
python-junos-eznc-2.6.7.tar.gz
python-junos-eznc-remove-nose.patch
New:
----
python-junos-eznc-2.7.0.tar.gz
BETA DEBUG BEGIN:
Old: X50.17-EVO#1264
- Drop python-junos-eznc-remove-nose.patch
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-junos-eznc.spec ++++++
--- /var/tmp/diff_new_pack.jCUZdk/_old 2024-02-12 18:55:45.882200984 +0100
+++ /var/tmp/diff_new_pack.jCUZdk/_new 2024-02-12 18:55:45.882200984 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-junos-eznc
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2017-2020, Martin Hauke <[email protected]>
#
# All modifications and additions to the file contributed by third parties
@@ -19,15 +19,12 @@
%define skip_python2 1
Name: python-junos-eznc
-Version: 2.6.7
+Version: 2.7.0
Release: 0
Summary: Junos 'EZ' automation for non-programmers
License: Apache-2.0
URL: https://www.github.com/Juniper/py-junos-eznc
Source:
https://github.com/Juniper/py-junos-eznc/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# replace deprecated nose by pytest
-# https://github.com/Juniper/py-junos-eznc/pull/1078
-Patch0: python-junos-eznc-remove-nose.patch
# replace deprecated yamlordereddictloader by yamlloader
# https://github.com/Juniper/py-junos-eznc/pull/1078
Patch1: python-junos-eznc-remove-yamlordereddictloader.patch
@@ -38,8 +35,8 @@
BuildRequires: %{python_module Jinja2 >= 2.7.1}
BuildRequires: %{python_module PyYAML >= 5.1}
BuildRequires: %{python_module lxml >= 3.2.4}
-BuildRequires: %{python_module ncclient >= 0.6.13}
-BuildRequires: %{python_module netaddr}
+BuildRequires: %{python_module ncclient >= 0.6.15}
+BuildRequires: %{python_module nose2}
BuildRequires: %{python_module ntc-templates}
BuildRequires: %{python_module paramiko >= 1.15.2}
BuildRequires: %{python_module pyparsing}
@@ -56,9 +53,7 @@
Requires: python-Jinja2 >= 2.7.1
Requires: python-PyYAML >= 5.1
Requires: python-lxml >= 3.2.4
-Requires: python-ncclient >= 0.6.13
-Requires: python-netaddr
-Requires: python-ntc-templates
+Requires: python-ncclient >= 0.6.15
Requires: python-paramiko >= 1.15.2
Requires: python-pyparsing
Requires: python-pyserial
@@ -96,7 +91,8 @@
# https://github.com/Juniper/py-junos-eznc/issues/1109
python39_donttest=" or test_sw_put_ftp"
python310_donttest=" or test_sw_put_ftp"
-%pytest -m "not functional" --forked -k "not ($donttest ${$python_donttest})"
+donttest+=" or test_sw_install_multi_vc"
+%pytest -m "not functional" --forked -k "not ($donttest ${$python_donttest})"
tests/unit
%files %{python_files}
%license COPYRIGHT LICENSE
++++++ python-311.patch ++++++
--- /var/tmp/diff_new_pack.jCUZdk/_old 2024-02-12 18:55:45.898201562 +0100
+++ /var/tmp/diff_new_pack.jCUZdk/_new 2024-02-12 18:55:45.906201851 +0100
@@ -1,8 +1,8 @@
-Index: py-junos-eznc-2.6.7/lib/jnpr/junos/device.py
+Index: py-junos-eznc-2.7.0/lib/jnpr/junos/device.py
===================================================================
---- py-junos-eznc-2.6.7.orig/lib/jnpr/junos/device.py
-+++ py-junos-eznc-2.6.7/lib/jnpr/junos/device.py
-@@ -43,6 +43,11 @@ from jnpr.junos.exception import JSONLoa
+--- py-junos-eznc-2.7.0.orig/lib/jnpr/junos/device.py
++++ py-junos-eznc-2.7.0/lib/jnpr/junos/device.py
+@@ -43,6 +43,12 @@ from jnpr.junos.exception import JSONLoa
from ncclient.operations.third_party.juniper.rpc import ExecuteRpc
import inspect
@@ -11,13 +11,14 @@
+if not hasattr(inspect, "getargspec"):
+ inspect.getargspec = inspect.getfullargspec
+
- if sys.version_info.major >= 3:
++
+ if sys.version_info[0] >= 3:
NCCLIENT_FILTER_XML =
len(inspect.signature(ExecuteRpc.request).parameters) == 3
else:
-Index: py-junos-eznc-2.6.7/lib/jnpr/junos/utils/scp.py
+Index: py-junos-eznc-2.7.0/lib/jnpr/junos/utils/scp.py
===================================================================
---- py-junos-eznc-2.6.7.orig/lib/jnpr/junos/utils/scp.py
-+++ py-junos-eznc-2.6.7/lib/jnpr/junos/utils/scp.py
+--- py-junos-eznc-2.7.0.orig/lib/jnpr/junos/utils/scp.py
++++ py-junos-eznc-2.7.0/lib/jnpr/junos/utils/scp.py
@@ -1,6 +1,11 @@
from __future__ import absolute_import
import inspect
++++++ python-junos-eznc-2.6.7.tar.gz -> python-junos-eznc-2.7.0.tar.gz ++++++
++++ 5208 lines of diff (skipped)
++++++ python-junos-eznc-no-mock.patch ++++++
++++ 893 lines (skipped)
++++ between
/work/SRC/openSUSE:Factory/python-junos-eznc/python-junos-eznc-no-mock.patch
++++ and
/work/SRC/openSUSE:Factory/.python-junos-eznc.new.1815/python-junos-eznc-no-mock.patch
++++++ python-junos-eznc-remove-yamlordereddictloader.patch ++++++
--- /var/tmp/diff_new_pack.jCUZdk/_old 2024-02-12 18:55:46.174211529 +0100
+++ /var/tmp/diff_new_pack.jCUZdk/_new 2024-02-12 18:55:46.174211529 +0100
@@ -1,17 +1,17 @@
-Index: py-junos-eznc-2.5.3/lib/jnpr/junos/command/__init__.py
+Index: py-junos-eznc-2.7.0/lib/jnpr/junos/command/__init__.py
===================================================================
---- py-junos-eznc-2.5.3.orig/lib/jnpr/junos/command/__init__.py
2020-08-25 11:35:29.000000000 +0200
-+++ py-junos-eznc-2.5.3/lib/jnpr/junos/command/__init__.py 2020-09-15
09:47:59.613429201 +0200
-@@ -5,7 +5,7 @@ import types
-
- from jnpr.junos.factory.factory_loader import FactoryLoader
+--- py-junos-eznc-2.7.0.orig/lib/jnpr/junos/command/__init__.py
++++ py-junos-eznc-2.7.0/lib/jnpr/junos/command/__init__.py
+@@ -4,7 +4,7 @@ from importlib.abc import Loader, MetaPa
+ from importlib.util import spec_from_loader
+ import yaml
-import yamlordereddictloader
+import yamlloader
+ from jnpr.junos.factory.factory_loader import FactoryLoader
__all__ = []
-
-@@ -30,7 +30,7 @@ class MetaPathLoader(object):
+@@ -32,7 +32,7 @@ class MetaPathLoader(Loader):
with open(os.path.join(os.path.dirname(__file__), mod + ".yml"), "r")
as stream:
try:
modules = FactoryLoader().load(
@@ -20,10 +20,10 @@
)
except yaml.YAMLError as exc:
raise ImportError("%s is not loaded" % mod)
-Index: py-junos-eznc-2.5.3/tests/unit/factory/test_cmdtable.py
+Index: py-junos-eznc-2.7.0/tests/unit/factory/test_cmdtable.py
===================================================================
---- py-junos-eznc-2.5.3.orig/tests/unit/factory/test_cmdtable.py
2020-09-15 09:47:59.509428602 +0200
-+++ py-junos-eznc-2.5.3/tests/unit/factory/test_cmdtable.py 2020-09-15
09:50:10.066179959 +0200
+--- py-junos-eznc-2.7.0.orig/tests/unit/factory/test_cmdtable.py
++++ py-junos-eznc-2.7.0/tests/unit/factory/test_cmdtable.py
@@ -11,7 +11,7 @@ from jnpr.junos.exception import RpcErro
from ncclient.manager import Manager, make_device_handler
from ncclient.transport import SSHSession
@@ -33,7 +33,7 @@
from jnpr.junos.factory.factory_loader import FactoryLoader
import yaml
import json
-@@ -50,7 +50,7 @@ CMErrorView:
+@@ -49,7 +49,7 @@ CMErrorView:
"""
globals().update(
FactoryLoader().load(
@@ -42,7 +42,7 @@
)
)
stats = CMErrorTable(self.dev)
-@@ -85,7 +85,7 @@ sysctlView:
+@@ -84,7 +84,7 @@ sysctlView:
"""
globals().update(
FactoryLoader().load(
@@ -51,7 +51,7 @@
)
)
stats = sysctlVeriexecTable(self.dev)
-@@ -126,7 +126,7 @@ CMErrorView:
+@@ -125,7 +125,7 @@ CMErrorView:
"""
globals().update(
FactoryLoader().load(
@@ -60,7 +60,7 @@
)
)
stats = CMErrorTable(self.dev)
-@@ -188,7 +188,7 @@ CMErrorView:
+@@ -187,7 +187,7 @@ CMErrorView:
"""
globals().update(
FactoryLoader().load(
@@ -69,7 +69,7 @@
)
)
stats = CMErrorTable(self.dev)
-@@ -212,7 +212,7 @@ CMErrorView:
+@@ -211,7 +211,7 @@ CMErrorView:
"""
globals().update(
FactoryLoader().load(
@@ -78,7 +78,7 @@
)
)
stats = CMErrorTable(self.dev)
-@@ -240,7 +240,7 @@ CMErrorView:
+@@ -239,7 +239,7 @@ CMErrorView:
"""
globals().update(
FactoryLoader().load(
@@ -87,7 +87,7 @@
)
)
stats = CMErrorTable(self.dev)
-@@ -267,7 +267,7 @@ CMErrorView:
+@@ -266,7 +266,7 @@ CMErrorView:
"""
globals().update(
FactoryLoader().load(
@@ -96,7 +96,7 @@
)
)
stats = CMErrorTable(self.dev)
-@@ -293,7 +293,7 @@ CMErrorView:
+@@ -292,7 +292,7 @@ CMErrorView:
"""
globals().update(
FactoryLoader().load(
@@ -105,7 +105,7 @@
)
)
stats = CMErrorTable(self.dev).get()
-@@ -327,7 +327,7 @@ FPCLinkStatTable:
+@@ -326,7 +326,7 @@ FPCLinkStatTable:
"""
globals().update(
FactoryLoader().load(
@@ -114,7 +114,7 @@
)
)
stats = FPCLinkStatTable(self.dev)
-@@ -371,7 +371,7 @@ ShowLuchipView:
+@@ -370,7 +370,7 @@ ShowLuchipView:
"""
globals().update(
FactoryLoader().load(
@@ -123,7 +123,7 @@
)
)
stats = ShowLuchipTable(self.dev)
-@@ -474,7 +474,7 @@ FPCLinkStatTable:
+@@ -473,7 +473,7 @@ FPCLinkStatTable:
"""
globals().update(
FactoryLoader().load(
@@ -132,7 +132,7 @@
)
)
stats = FPCLinkStatTable(self.dev)
-@@ -518,7 +518,7 @@ XMChipStatsView:
+@@ -517,7 +517,7 @@ XMChipStatsView:
"""
globals().update(
FactoryLoader().load(
@@ -141,7 +141,7 @@
)
)
stats = XMChipStatsTable(self.dev)
-@@ -537,7 +537,7 @@ FPCLinkStatTable:
+@@ -536,7 +536,7 @@ FPCLinkStatTable:
"""
globals().update(
FactoryLoader().load(
@@ -150,7 +150,7 @@
)
)
stats = FPCLinkStatTable(self.dev)
-@@ -636,7 +636,7 @@ FPCTTPReceiveStatsView:
+@@ -635,7 +635,7 @@ FPCTTPReceiveStatsView:
"""
globals().update(
FactoryLoader().load(
@@ -159,7 +159,7 @@
)
)
stats = FPCTTPStatsTable(self.dev)
-@@ -710,7 +710,7 @@ MtipCgeStatisticsTable:
+@@ -709,7 +709,7 @@ MtipCgeStatisticsTable:
"""
globals().update(
FactoryLoader().load(
@@ -168,7 +168,7 @@
)
)
stats = MtipCgeSummaryTable(self.dev)
-@@ -804,7 +804,7 @@ _ICMPRateView:
+@@ -803,7 +803,7 @@ _ICMPRateView:
"""
globals().update(
FactoryLoader().load(
@@ -177,7 +177,7 @@
)
)
stats = ICMPStatsTable(self.dev)
-@@ -905,7 +905,7 @@ _ThrottleStatsTable:
+@@ -904,7 +904,7 @@ _ThrottleStatsTable:
"""
globals().update(
FactoryLoader().load(
@@ -186,7 +186,7 @@
)
)
stats = IthrottleIDTable(self.dev).get(target="fpc2")
-@@ -946,7 +946,7 @@ ShowPciErrorsView:
+@@ -945,7 +945,7 @@ ShowPciErrorsView:
"""
globals().update(
FactoryLoader().load(
@@ -195,7 +195,7 @@
)
)
stats = ShowPciErrorsTable(self.dev).get()
-@@ -988,7 +988,7 @@ FPCMemoryView:
+@@ -987,7 +987,7 @@ FPCMemoryView:
"""
globals().update(
FactoryLoader().load(
@@ -204,7 +204,7 @@
)
)
stats = FPCMemory(self.dev).get()
-@@ -1046,7 +1046,7 @@ PQ3PCI:
+@@ -1045,7 +1045,7 @@ PQ3PCI:
"""
globals().update(
FactoryLoader().load(
@@ -213,7 +213,7 @@
)
)
stats = PQ3PCITable(self.dev)
-@@ -1172,7 +1172,7 @@ _TopThreadTable:
+@@ -1171,7 +1171,7 @@ _TopThreadTable:
"""
globals().update(
FactoryLoader().load(
@@ -222,7 +222,7 @@
)
)
stats = SchedulerTable(self.dev)
-@@ -1209,7 +1209,7 @@ HostlbStatusSummaryView:
+@@ -1208,7 +1208,7 @@ HostlbStatusSummaryView:
"""
globals().update(
FactoryLoader().load(
@@ -231,7 +231,7 @@
)
)
stats = HostlbStatusSummaryTable(self.dev)
-@@ -1235,7 +1235,7 @@ HostlbStatusSummaryView:
+@@ -1234,7 +1234,7 @@ HostlbStatusSummaryView:
"""
globals().update(
FactoryLoader().load(
@@ -240,7 +240,7 @@
)
)
stats = HostlbStatusSummaryTable(
-@@ -1311,7 +1311,7 @@ _TransmitPerQueueView:
+@@ -1310,7 +1310,7 @@ _TransmitPerQueueView:
"""
globals().update(
FactoryLoader().load(
@@ -249,7 +249,7 @@
)
)
stats = DevicesLocalTable(self.dev)
-@@ -1382,7 +1382,7 @@ _ReceiveView:
+@@ -1381,7 +1381,7 @@ _ReceiveView:
"""
globals().update(
FactoryLoader().load(
@@ -258,7 +258,7 @@
)
)
stats = DevicesLocalTable(self.dev)
-@@ -1402,7 +1402,7 @@ EthernetSwitchStatisticsIterTable:
+@@ -1401,7 +1401,7 @@ EthernetSwitchStatisticsIterTable:
"""
globals().update(
FactoryLoader().load(
@@ -267,7 +267,7 @@
)
)
stats = EthernetSwitchStatisticsIterTable(self.dev)
-@@ -1532,7 +1532,7 @@ _EthSwitchStatsFpc5Table:
+@@ -1531,7 +1531,7 @@ _EthSwitchStatsFpc5Table:
"""
globals().update(
FactoryLoader().load(
@@ -276,7 +276,7 @@
)
)
stats = EthernetSwitchStatistics(self.dev)
-@@ -1689,7 +1689,7 @@ _ShowToePfePacketStatsStream_rx_errors:
+@@ -1688,7 +1688,7 @@ _ShowToePfePacketStatsStream_rx_errors:
"""
globals().update(
FactoryLoader().load(
@@ -285,7 +285,7 @@
)
)
stats = ShowToePfePacketStatsTable(self.dev)
-@@ -1757,7 +1757,7 @@ _ShowToePfePacketStatsStream_rx_errors:
+@@ -1756,7 +1756,7 @@ _ShowToePfePacketStatsStream_rx_errors:
"""
globals().update(
FactoryLoader().load(
@@ -294,7 +294,7 @@
)
)
stats = ShowToePfePacketStatsTable(self.dev)
-@@ -2094,7 +2094,7 @@ XMChipInterruptStatsView:
+@@ -2093,7 +2093,7 @@ XMChipInterruptStatsView:
"""
globals().update(
FactoryLoader().load(
@@ -303,7 +303,7 @@
)
)
stats = XMChipInterruptStatsTable(self.dev)
-@@ -2127,7 +2127,7 @@ XMChipInterruptStatsView:
+@@ -2126,7 +2126,7 @@ XMChipInterruptStatsView:
"""
globals().update(
FactoryLoader().load(
@@ -312,7 +312,7 @@
)
)
stats = XMChipInterruptStatsTable(self.dev)
-@@ -2161,7 +2161,7 @@ FPCThreadView:
+@@ -2160,7 +2160,7 @@ FPCThreadView:
"""
globals().update(
FactoryLoader().load(
@@ -321,7 +321,7 @@
)
)
stats = FPCThreads(self.dev)
-@@ -2328,7 +2328,7 @@ CChipLoStatsView:
+@@ -2327,7 +2327,7 @@ CChipLoStatsView:
"""
globals().update(
FactoryLoader().load(
@@ -330,7 +330,7 @@
)
)
stats = CChipLoStatsTable(self.dev)
-@@ -2356,7 +2356,7 @@ ARPview:
+@@ -2355,7 +2355,7 @@ ARPview:
"""
globals().update(
FactoryLoader().load(
@@ -339,7 +339,7 @@
)
)
stats = ARPtable(self.dev)
-@@ -2387,7 +2387,7 @@ ARPview:
+@@ -2386,7 +2386,7 @@ ARPview:
"""
globals().update(
FactoryLoader().load(