← All recipes
Moderne licensed

Find eval_type_backport usage removed in Pydantic 2.14

Recipe IDorg.openrewrite.python.migrate.pydantic.FindEvalTypeBackportUsageArtifactopenrewrite-migrate-python

Pydantic 2.14 removed its support for the eval_type_backport package. With the Python 3.10 minimum it is no longer needed. This recipe flags import eval_type_backport and from eval_type_backport import ... for review.

Single recipepythonpydanticmigration2.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.pydantic.FindEvalTypeBackportUsage

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

mod config recipes pip install openrewrite-migrate-python