Find deprecated telnetlib module usage
Recipe ID
org.openrewrite.python.migrate.FindTelnetlibModuleArtifactopenrewrite-migrate-pythonThe telnetlib module was deprecated in Python 3.11 and removed in Python 3.13. Consider using telnetlib3 from PyPI, direct socket usage, or SSH-based alternatives like paramiko.
Single recipepythonmigration3.13PEP 594Proprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.python.migrate.FindTelnetlibModuleIf the recipe isn’t available locally, install it with:
mod config recipes pip install openrewrite-migrate-python