Python 3.13
ModuleNotFoundError: No module named 'telnetlib'
telnetlib was removed in Python 3.13 (PEP 594, the 'dead batteries' cleanup).
telnetlib was deprecated in 3.11 and removed in 3.13. Code or a dependency still imports it — usually for device/network automation — and breaks after moving to a python3.13 runtime.
Related deadline: Lambda Python 3.11 EOL — 2027-07-31.
The free EOLkits scanner runs in your browser (nothing uploaded) and flags this and related breakages across your IaC and dependency files.
Primary source: https://docs.python.org/3/whatsnew/3.13.html