Find deprecated urllib.parse split functions
Recipe ID
org.openrewrite.python.migrate.FindUrllibParseSplitFunctionsArtifactopenrewrite-migrate-pythonFind usage of deprecated urllib.parse split functions (splithost, splitport, etc.) removed in Python 3.14. Use urlparse() instead.
Single recipepythonurllibmigration3.14Proprietary
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.FindUrllibParseSplitFunctionsIf the recipe isn’t available locally, install it with:
mod config recipes pip install openrewrite-migrate-python