Find eval_type_backport usage removed in Pydantic 2.14
Recipe ID
org.openrewrite.python.migrate.pydantic.FindEvalTypeBackportUsageArtifactopenrewrite-migrate-pythonPydantic 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.FindEvalTypeBackportUsageIf the recipe isn’t available locally, install it with:
mod config recipes pip install openrewrite-migrate-python