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-11-27 22:12:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-junos-eznc (Old)
 and      /work/SRC/openSUSE:Factory/.python-junos-eznc.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-junos-eznc"

Wed Nov 27 22:12:49 2024 rev:18 rq:1226858 version:2.7.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-junos-eznc/python-junos-eznc.changes      
2024-10-28 15:23:34.679601073 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-junos-eznc.new.28523/python-junos-eznc.changes
   2024-11-27 22:16:09.764575879 +0100
@@ -1,0 +2,7 @@
+Wed Nov 27 08:56:52 UTC 2024 - Nico Krapp <nico.kr...@suse.com>
+
+- Add get-telnetlib-from-netmiko.patch, telnetlib was removed from
+  the standardlibrary in Python 3.13
+  * https://github.com/Juniper/py-junos-eznc/issues/1324
+
+-------------------------------------------------------------------

New:
----
  get-telnetlib-from-netmiko.patch

BETA DEBUG BEGIN:
  New:
- Add get-telnetlib-from-netmiko.patch, telnetlib was removed from
  the standardlibrary in Python 3.13
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-junos-eznc.spec ++++++
--- /var/tmp/diff_new_pack.cShxSR/_old  2024-11-27 22:16:10.264596805 +0100
+++ /var/tmp/diff_new_pack.cShxSR/_new  2024-11-27 22:16:10.268596972 +0100
@@ -29,10 +29,13 @@
 Patch0:         python-junos-eznc-remove-yamlordereddictloader.patch
 # PATCH-FIX-UPSTREAM gh#Juniper/py-junos-eznc#1307 Don't require six
 Patch1:         no-six.patch
+# PATCH-FIX-UPSTREAM gh#Juniper/py-junos-eznc#1324 telnetlib not in py313 
anymore
+Patch2:         get-telnetlib-from-netmiko.patch
 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.15}
+BuildRequires:  %{python_module netmiko >= 4.4.0}
 BuildRequires:  %{python_module nose2}
 BuildRequires:  %{python_module ntc-templates}
 BuildRequires:  %{python_module paramiko >= 1.15.2}
@@ -50,6 +53,7 @@
 Requires:       python-PyYAML >= 5.1
 Requires:       python-lxml >= 3.2.4
 Requires:       python-ncclient >= 0.6.15
+Requires:       python-netmiko >= 4.4.0
 Requires:       python-paramiko >= 1.15.2
 Requires:       python-pyparsing
 Requires:       python-pyserial

++++++ get-telnetlib-from-netmiko.patch ++++++
Index: py-junos-eznc-2.7.2/lib/jnpr/junos/transport/tty_telnet.py
===================================================================
--- py-junos-eznc-2.7.2.orig/lib/jnpr/junos/transport/tty_telnet.py
+++ py-junos-eznc-2.7.2/lib/jnpr/junos/transport/tty_telnet.py
@@ -1,5 +1,5 @@
 from time import sleep
-import telnetlib
+from netmiko._telnetlib import telnetlib
 import logging
 import sys
 
Index: py-junos-eznc-2.7.2/requirements.txt
===================================================================
--- py-junos-eznc-2.7.2.orig/requirements.txt
+++ py-junos-eznc-2.7.2/requirements.txt
@@ -5,6 +5,7 @@ scp>=0.7.0
 jinja2>=2.7.1
 PyYAML>=5.1
 paramiko>=3.5.0
+netmiko>=4.4.0
 pyserial
 pyparsing
 transitions

Reply via email to