-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
telnetlib deprecated in python 3.13 #1324
Comments
@johanreinalda |
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). |
@dineshbaburam91 What is the Python 3.13 plan for PyEZ? PY3.13 has now been released for several months. I don't much care one way or another if PyEZ supports telnetlib, but it needs to work with PY3.13. This is causing issues for me with respect to both Napalm and Nornir libraries. |
Created this PR here: Open to other solutions, but definitely needs a fix. |
Any update on this issue (the lack of PY3.13 support for PyEZ)? |
Yes, I would also like to see some movement here. I've reached out to our Juniper SE to see what he can shake loose internally... |
Hi @ktbyers @johanreinalda Thanks |
Thanks @chidanandpujar and @dineshbaburam91 |
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...
The text was updated successfully, but these errors were encountered: