Find modules removed in Python 3.12
Recipe ID
org.openrewrite.python.migrate.FindRemovedModules312Artifactopenrewrite-migrate-pythonFind imports of modules that were removed in Python 3.12, including asynchat, asyncore, and smtpd.
Single recipeProprietary
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.FindRemovedModules312If the recipe isn’t available locally, install it with:
mod config recipes pip install openrewrite-migrate-python