← All recipes
Moderne licensed

Upgrade to Python 3.14

Recipe IDorg.openrewrite.python.migrate.UpgradeToPython314Artifactopenrewrite-migrate-python

Migrate deprecated and removed APIs for Python 3.14 compatibility. This includes replacing deprecated AST node types with ast.Constant and other API changes between Python 3.13 and 3.14.

Composite recipepythonmigration3.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.UpgradeToPython314

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

mod config recipes pip install openrewrite-migrate-python

Definition

This recipe runs the following recipes in order.