← All recipes
Moderne licensed

Find deprecated urllib.parse split functions

Recipe IDorg.openrewrite.python.migrate.FindUrllibParseSplitFunctionsArtifactopenrewrite-migrate-python

Find 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.FindUrllibParseSplitFunctions

If the recipe isn’t available locally, install it with:

mod config recipes pip install openrewrite-migrate-python