Open johanreinalda opened 1 month ago
@johanreinalda PyEZ supports Python 3.12 and will be validated using official Python 3.13. The module will be removed if it is deprecated in Python 3.13.
I vendored telnetlib in Netmiko (should be there in Netmiko 4.4.0 and later):
from netmiko._telnetlib import telnetlib
I guess the other solutions are to drop telnet support or vendor it yourself (or find a different released version of telnetlib that you trust).
telnetlib is deprecated in the sense that it is no longer built into Python itself (as of PY3.13).
Just FYI: using junos-eznc with python3.11, I get this (when warnings enabled):
.../venv/lib/python3.11/site-packages/jnpr/junos/transport/tty_telnet.py:2: DeprecationWarning: 'telnetlib' is deprecated and slated for removal in Python 3.13
3.13 will be release on Oct 1, 2024...