Migrate the deprecated avro-python3 package to avro

Proprietary

Replace the deprecated avro-python3 distribution with its maintained successor, Apache avro. Both install the same top-level avro import package, so module imports are unchanged, but avro-python3's avro.schema.Parse was renamed to the lowercase avro.schema.parse (and Parse removed) in avro 1.11+, so that reference is rewritten. The dependency swap is applied by org.openrewrite.python.ChangeDependency.

org.openrewrite.python.migrate.MigrateAvroPython3ToAvro
mod run . --recipe=org.openrewrite.python.migrate.MigrateAvroPython3ToAvro

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change type
  2. org.openrewrite.python.ChangeDependency