← All recipes
Moderne licensed

Find removed macpath module usage

Recipe IDorg.openrewrite.python.migrate.FindMacpathModuleArtifactopenrewrite-migrate-python

The macpath module was removed in Python 3.8. Use os.path instead.

Single recipemacpathpythonmigration3.8Proprietary

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.FindMacpathModule

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

mod config recipes pip install openrewrite-migrate-python